VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)