VR-Forces 4.8 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 #if !defined(Q_MOC_RUN)
14 #include <vrvUtil/signalslib.h>
18 #include <vrvCoreQt/DtPage.h>
19 
21 #endif
22 
23 #include <QtWidgets/QWidget>
24 
25 class QVBoxLayout;
26 class QTreeWidget;
27 class QTreeWidgetItem;
28 
29 namespace makVrv
30 {
31  class DtDe;
32 }
33 
34 namespace makVrf
35 {
36  class DtPropCreatePaletteLogic;
37 
40  : public makVrv::DtPage
42  {
43  Q_OBJECT
44 
45  public:
47  DtPropCreatePalette( makVrv::DtDe& de, QWidget* parent = 0, Qt::WindowFlags flags = 0);
48 
50  virtual ~DtPropCreatePalette();
51 
53  void setupUi(QWidget* p);
54 
56  virtual inline void clear() {};
57 
59  virtual void clearProps();
60 
62  virtual inline void update() {};
63 
65  virtual void setEnabled(bool);
66 
68  virtual void addItem( const std::string& name, const std::string& type, const std::string& modelDef,
69  const std::string& group);
70 
72  virtual QIcon icon();
73 
75  virtual QString title();
76 
78  virtual const std::string& pageClassName() const;
79 
81  static const std::string& thePageClassName();
82 
83  virtual bool initiallyVisible() const
84  {
85  return false;
86  }
87 
88  virtual void activate() {};
89  virtual void deactivate() {};
90 
91  protected slots:
92 
93  virtual void slot_onItemClicked(QTreeWidgetItem*, int);
94 
95  protected:
97 
98  protected:
99  QVBoxLayout* myMainLayout;
101  };
102 
105 }
Contains makVrv::DtUserInterfaceAssembler class.
Contains makVrv::DtPage class.
virtual void activate()
Called when the page is displayed.
Definition: propCreatePalette.h:88
#define DT_DLL_VRFGUICOREQT
Definition: vrfGuiCoreQt.h:26
virtual void deactivate()
Called when the page is hidden.
Definition: propCreatePalette.h:89
DtPropCreatePaletteLogic * myLogic
Definition: propCreatePalette.h:96
QVBoxLayout * myMainLayout
Definition: propCreatePalette.h:99
QTreeWidget * myPropTree
Definition: propCreatePalette.h:100
Definition: DtPage.h:146
Contains makVrv::DtVirtualBaseClass class.
The page is a single widget component which is viewed in a page collection.
Definition: DtPage.h:30
virtual void update()
Tells widget to update (redraw) (from DtGenericPaletteInterface)
Definition: propCreatePalette.h:62
makVrv::DtPageCreatorTemplate< DtPropCreatePalette > DtPropsPalettePageCreator
Definition: propCreatePalette.h:104
virtual bool initiallyVisible() const
Definition: propCreatePalette.h:83
Interface for prop creation palette.
Definition: propCreatePaletteInterface.h:23
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
virtual void clear()
Clears contents of widget (from DtGenericPaletteInterface)
Definition: propCreatePalette.h:56
Logic associated with the DtPropCreatePalette class.
Definition: propCreatePaletteLogic.h:32
A widget class for managing different camera views the currently selected observer can be placed in...
Definition: propCreatePalette.h:39

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)