VR-Forces 4.2 Class Documentation
vrfPluginsEditorWidget.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: vrfPluginsEditorWidget.h,v $ $Revision: 1.1 $ $State: Exp $
7 *******************************************************************************/
8 
11 
12 #pragma once
13 
14 #include <vrvUtil/signalslib.h>
15 
18 
19 #include <QtGui/QWidget>
20 
24 
25 namespace makVrv
26 {
27  class DtDe;
28 }
29 
30 class QCheckBox;
31 class QTreeWidget;
32 class QTreeWidgetItem;
33 class QPushButton;
34 class QFrame;
35 
36 namespace makVrf
37 {
38  class DtVrfPluginsEditorWidgetLogic;
39 
42  {
43  Q_OBJECT
44 
45  public:
46 
48  DtVrfPluginsEditorWidget(makVrv::DtDe&, QWidget* parent = NULL, const Qt::WindowFlags& flags = 0);
49 
51  virtual ~DtVrfPluginsEditorWidget();
52 
53  void setupGui();
54 
56  virtual void setCurrentInstance(const std::string& s);
57 
59  virtual void updatePlugin(const QString& plugin);
60 
61  protected:
63  virtual void setLoad(bool);
64 
66  virtual void clearPluginStructure();
67 
69  virtual void addPluginData(const std::string& application, const std::string& platform,
70  const std::string& configuration, const std::string& transport, const std::string& plugin);
71 
72  protected slots:
74  virtual void onLoadChanged();
75 
78  virtual void onItemClicked(QTreeWidgetItem*, int col);
79 
81  virtual void onAddPlugin();
82 
84  virtual void onRemovePlugin();
85 
87  virtual void onErasePlugin();
88 
90  virtual void onCurrentItemChanged(QTreeWidgetItem*, QTreeWidgetItem*);
91 
93  virtual void removePlugin(const std::string& application, const std::string& platform,
94  const std::string& configuration, const std::string& transport);
95 
97  virtual void addPlugin(const std::string& application, const std::string& platform,
98  const std::string& configuration, const std::string& transport);
99 
100  public:
102 
103  protected:
104  makVrv::DtDe& myDe;
113  };
114 }

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)