VR-Forces 4.2 Class Documentation
neverAskAgain.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2005 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: neverAskAgain.h,v $ $Revision: 1.8 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DTNEVERASKAGAIN_H_
13 #define DTNEVERASKAGAIN_H_
14 
16 #include <QtGui/QMessageBox>
17 
18 class QCheckBox;
19 
21 {
22  Q_OBJECT
23 
24 public:
25  DtNeverAskAgainMessageBox(Icon icon, const QString & title,
26  const QString & text, StandardButtons buttons = NoButton,
27  QWidget * parent = 0, Qt::WindowFlags f = Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint);
28 
29  bool neverAskAgain() const;
30 
31  virtual void setNeverText(const QString&);
32 
33  void setDisableNoButtonOnAskChange(bool);
34  bool disableNoButtonOnAskChange() const;
35 
36 public slots:
37  virtual void setNeverAskAgain(bool);
38 
39 protected slots:
40  virtual void neverAskChanged();
41 
42 protected:
43  virtual void resizeEvent( QResizeEvent * );
44  virtual bool eventFilter( QObject *obj, QEvent *ev );
45 
46 public:
50 };
51 
53 {
55 }
56 
58 {
60 }
61 
62 #endif //DTNEVERASKAGAIN_H_

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)