VR-Forces 4.1 Class Documentation
DtExtractSearchWidget.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtExtractSearchWidget.h,v $ $Revision: 1.3 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtExtractSearchWidget_H_
14 #define DtExtractSearchWidget_H_
15 
16 #include <vrvOsgQt/vrvOsgQt.h>
18 #include <QtGui/QWidget>
19 
20 class QCheckBox;
21 class QComboBox;
22 class QLabel;
23 class QLineEdit;
24 class QListWidget;
25 class QListWidgetItem;
26 class QPushButton;
27 class QTreeWidget;
28 
29 namespace makVrv
30 {
31 
32  class DtPropTypeComboBox;
33  class DtModelDefinitionComboBox;
34 
38  : public QWidget
40  {
41  Q_OBJECT;
42 
43  public:
44 
46  DtExtractSearchWidget(DtDe& de, QWidget* parent);
47 
50 
52  virtual void setSearchCandidateSet(const DtExtractPropsInterface::SearchCandidateSet& scSet);
53 
55  virtual void addExtraction(const std::string& searchExp, const std::string& type);
56 
58  virtual void reset();
59 
61  virtual void setValidSchemas(const std::vector<std::string>& schemaNames);
62 
64  void clear();
65 
67  //boost::signal<void ()> signal_addRule;
68 
69  protected slots:
70 
72  virtual void on_extractPropsButton_clicked();
73 
75  virtual void onPropTypeComboChanged(const QString& text);
76 
78  virtual void onModelDefinitionComboChanged(const QString& text);
79 
81  virtual void on_showSceneGraphButton_clicked();
82 
83  protected:
84 
86  void setupGui();
87 
88  protected:
89 
95  QListWidget* myReferencesList;
96 
98  std::string myCurrentType;
100 
102  };
103 }
104 
105 #endif
106 

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)