VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
neverAskAgainMessageBox.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 #pragma once
13 
17 
19 #include <QtGui/QMessageBox>
20 
21 class QCheckBox;
22 
23 namespace makVrf
24 {
26  {
27  Q_OBJECT
28 
29  public:
30  DtNeverAskAgainMessageBox(Icon icon, const QString & title,
31  const QString & text, StandardButtons buttons = NoButton,
32  QWidget * parent = 0, Qt::WindowFlags f = Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint);
33 
34  virtual ~DtNeverAskAgainMessageBox();
35 
36  bool neverAskAgain() const;
37 
38  virtual void setNeverText(const QString&);
39 
40  void setDisableNoButtonOnAskChange(bool);
41  bool disableNoButtonOnAskChange() const;
42 
43  public slots:
44  virtual void setNeverAskAgain(bool);
45 
46  protected slots:
47  virtual void neverAskChanged();
48 
49  protected:
50  virtual void resizeEvent( QResizeEvent * );
51  virtual bool eventFilter( QObject *obj, QEvent *ev );
52 
53  public:
57  };
58 
60  {
62  }
63 
65  {
67  }
68 }

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)