VR-Forces 4.1.1 Class Documentation
DtIgToolBar.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtIgToolBar.h,v $ $Revision: 1.1 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtIgToolBar_H_
14 #define DtIgToolBar_H_
15 
16 #include <vrvCoreQt/vrvCoreQt.h>
17 
18 #include <QtGui/QToolBar>
19 
20 namespace makVrv
21 {
22 
26  {
27  Q_OBJECT
28 
29  public:
30 
32  DtIgToolBar(const QString& name, QWidget* parent)
33  : QToolBar(name, parent)
34  {
35  }
36 
37  virtual ~DtIgToolBar()
38  {
39  }
40 
41  signals:
42  void visibilityChanged(bool);
43 
44  protected:
45  virtual void hideEvent(QHideEvent* e)
46  {
47  QToolBar::hideEvent(e);
48  emit visibilityChanged(false);
49  }
50 
51  virtual void showEvent(QShowEvent* e)
52  {
53  QToolBar::showEvent(e);
54  emit visibilityChanged(true);
55  }
56  };
57 }
58 
59 #endif
60 

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)