VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfGuiCoreQt
neverAskAgainMessageBox.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2016 MAK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
8
9
#pragma once
10
14
15
#include <
vrfGuiCoreQt/vrfGuiCoreQt.h
>
16
#include <QtWidgets/QMessageBox>
17
18
class
QCheckBox
;
19
20
namespace
makVrf
21
{
22
class
DT_DLL_VRFGUICOREQT
DtNeverAskAgainMessageBox
:
public
QMessageBox
23
{
24
Q_OBJECT
25
26
public
:
27
DtNeverAskAgainMessageBox
(Icon icon,
const
QString & title,
28
const
QString & text, StandardButtons buttons = NoButton,
29
QWidget * parent = 0, Qt::WindowFlags f = Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint);
30
31
virtual
~
DtNeverAskAgainMessageBox
();
32
33
bool
neverAskAgain()
const
;
34
35
virtual
void
setNeverText(
const
QString&);
36
37
void
setDisableNoButtonOnAskChange(
bool
);
38
bool
disableNoButtonOnAskChange()
const
;
39
40
public
slots:
41
virtual
void
setNeverAskAgain(
bool
);
42
43
protected
slots:
44
virtual
void
neverAskChanged();
45
46
public
:
47
QCheckBox
*
myNeverAsk
;
48
bool
myDisableNoButtonOnAskChange
;
49
};
50
51
inline
void
DtNeverAskAgainMessageBox::setDisableNoButtonOnAskChange
(
bool
b)
52
{
53
myDisableNoButtonOnAskChange
= b;
54
}
55
56
inline
bool
DtNeverAskAgainMessageBox::disableNoButtonOnAskChange
()
const
57
{
58
return
myDisableNoButtonOnAskChange
;
59
}
60
}
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)