VR-Forces 4.2 Class Documentation
propCreatePalette.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
13 #include <vrvUtil/signalslib.h>
15 #include <vrvCore/DtUserInterfaceAssembler.h>
16 #include <vrvUtil/DtVirtualBaseClass.h>
17 #include <vrvCoreQt/DtPage.h>
18 
20 #include <QtGui/QWidget>
21 
22 class QVBoxLayout;
23 class QTreeWidget;
24 class QTreeWidgetItem;
25 
26 namespace makVrv
27 {
28  class DtDe;
29 }
30 
31 namespace makVrf
32 {
33  class DtPropCreatePaletteLogic;
34 
37  : public makVrv::DtPage
39  {
40  Q_OBJECT
41 
42  public:
44  DtPropCreatePalette( makVrv::DtDe& de, QWidget* parent = 0, Qt::WindowFlags flags = 0);
45 
47  virtual ~DtPropCreatePalette();
48 
50  void setupUi(QWidget* p);
51 
53  virtual inline void clear() {};
54 
56  virtual inline void update() {};
57 
59  virtual void setEnabled(bool);
60 
62  virtual void addItem( const std::string& name, const std::string& type, const std::string& modelDef,
63  const std::string& group);
64 
66  virtual QIcon icon();
67 
69  virtual QString title();
70 
72  virtual const std::string& pageClassName() const;
73 
75  static const std::string& thePageClassName();
76 
77  virtual void activate() {};
78  virtual void deactivate() {};
79 
80  protected slots:
81 
82  virtual void slot_onItemClicked(QTreeWidgetItem*, int);
83 
84  protected:
86 
87  protected:
88  QVBoxLayout* myMainLayout;
90  };
91 
92  typedef makVrv::DtPageCreatorTemplate<DtPropCreatePalette>
94 }

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)