VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 <QtGui/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:
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 

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)