VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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>
17 #include <vrvCoreQt/DtPage.h>
18 
20 #include <QtWidgets/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 void clearProps();
57 
59  virtual inline void update() {};
60 
62  virtual void setEnabled(bool);
63 
65  virtual void addItem( const std::string& name, const std::string& type, const std::string& modelDef,
66  const std::string& group);
67 
69  virtual QIcon icon();
70 
72  virtual QString title();
73 
75  virtual const std::string& pageClassName() const;
76 
78  static const std::string& thePageClassName();
79 
80  virtual bool initiallyVisible() const
81  {
82  return false;
83  }
84 
85  virtual void activate() {};
86  virtual void deactivate() {};
87 
88  protected slots:
89 
90  virtual void slot_onItemClicked(QTreeWidgetItem*, int);
91 
92  protected:
94 
95  protected:
96  QVBoxLayout* myMainLayout;
98  };
99 
102 }

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)