FGx  1
 All Classes Files Functions Variables Enumerations Enumerator Macros Pages
propeditwidget.h
1 // -=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-
2 // FGx FlightGear Launcher // propeditwidget.h
3 // -=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-
4 // (c) 2010-2012
5 // Yves Sablonier, Pete Morgan
6 // Geoff McLane
7 // GNU GPLv2, see main.cpp and shipped licence.txt for further information
8 
9 #ifndef PROPEDITWIDGET_H
10 #define PROPEDITWIDGET_H
11 
12 #include <QDialog>
13 #include <QLabel>
14 #include <QLineEdit>
15 #include <QTreeWidgetItem>
16 
17 #include "xobjects/mainobject.h"
18 
19 
20 class PropEditWidget : public QDialog
21 {
22 Q_OBJECT
23 public:
24  explicit PropEditWidget( MainObject *mOb, QDialog *parent = 0);
25 
26  MainObject *mainObject;
27 
28  QLabel *labelNode;
29  QLineEdit *txtValue;
30  QLabel * labelType;
31 
32  void set_from_item(QTreeWidgetItem *item);
33 
34 signals:
35 
36 public slots:
37  void on_set_property();
38 };
39 
40 #endif // PROPEDITWIDGET_H
The MainObject is an extended QObject, and the main "controller" for FGx.
Definition: mainobject.h:61
Definition: propeditwidget.h:20