VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtAttributeGroupTemplateWidget.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2010 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: DtAttributeGroupTemplateWidget.h,v $ $Revision: 1.1 $ $State: Exp $
7 *********************************************************************/
8 #pragma once
9 
13 
14 #include <vrvVrlQt/vrvVrlQt.h>
15 
16 #include <QtWidgets/QWidget>
17 
19 
20 class QTreeWidget;
21 class QTreeWidgetItem;
22 class QVBoxLayout;
23 
24 namespace makVrv
25 {
26  class DtAttributeGroupTemplateLogic;
27 
31  : public QWidget
33  {
34  Q_OBJECT
35  public:
37  DtAttributeGroupTemplateWidget(DtDe& de, QWidget* parent = 0,
38  Qt::WindowFlags flags = 0);
39 
42 
44  virtual void addAttributeGroupTemplate(const std::string& groupName,
45  const std::string& templateName);
46 
47  virtual void removeAttributeGroupTemplate(const std::string& groupName,
48  const std::string& templateName);
49 
50  virtual void setAttributeGroupTemplateStatus(const std::string& groupName,
51  const std::string& templateName, bool onOff);
52 
53  protected:
55  void setupGui();
56 
57 
58  protected slots:
59  virtual void onTreeItemChanged(QTreeWidgetItem* item, int column);
60 
61  protected:
62  QVBoxLayout* myMasterLayout;
65 
66  };
67 }
68 
69 
#define DT_DLL_VRVVRLQT
Definition: vrvVrlQt.h:19
This class implements a widget that displays remote graphic sets and whether they are active or not...
Definition: DtAttributeGroupTemplateWidget.h:30
Contains DLL export macros.
This class provides an interface for widgets that display remote graphic set information.
Definition: DtAttributeGroupTemplateInterface.h:20
Contains makVrv::DtAttributeGroupTemplateInterface class.
DtAttributeGroupTemplateLogic * myLogic
Definition: DtAttributeGroupTemplateWidget.h:64
Logic for editing attribute group template state.
Definition: DtAttributeGroupTemplateLogic.h:25
QVBoxLayout * myMasterLayout
Definition: DtAttributeGroupTemplateWidget.h:62
QTreeWidget * myTreeWidget
Definition: DtAttributeGroupTemplateWidget.h:63
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69

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)