MAK RTIspy API Documentation for HLA 1516
collectionEditor.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
6 #ifndef collectionEditor_H_
7 #define collectionEditor_H_
8 
9 #include <QtCore/QVariant>
10 #include <QtGui/QDialog>
11 
12 #include <rtiMsConfig.h>
13 
14 class QWidget;
15 class QVBoxLayout;
16 class QHBoxLayout;
17 class QGridLayout;
18 class QSpacerItem;
19 class QPushButton;
20 class QGroupBox;
21 class QListWidget;
22 class QListBoxItem;
23 class QLineEdit;
24 
26 {
27  Q_OBJECT
28 
29 public:
31  DtCollectionEditor( QWidget* parent = 0, Qt::WindowFlags f = 0);
32 
34  virtual ~DtCollectionEditor();
35 
37 
38  virtual void setCollection(const QStringList lst);
39  virtual QStringList collection() const;
40 
41 
42  public slots:
43  virtual void btnOk_Clicked();
44  virtual void btnCancel_Clicked();
45  virtual void btnAdd_Clicked();
46  virtual void btnRemove_Clicked();
47 
48 protected:
50  QPushButton* myButtonOk;
51 
53  QPushButton* myButtonCancel;
54 
56  QPushButton* myButtonAdd;
57 
59  QPushButton* myButtonRemove;
60 
62  QListWidget* myTextListBox;
63 
65  QGroupBox* myDialogBox;
66 
68  QGroupBox* myOkCancelBox;
69 
71  QGroupBox* myAddRemoveBox;
72 
74  QStringList myCollection;
75 
77  QLineEdit *myStringEditor;
78 
79  protected slots:
80  virtual void languageChange();
81 
82 };
83 
84 #endif

Document ID: Generated on Tue May 7 16:26:47 EDT 2013 from SVN revision 126903
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)