Fork me on GitHub
2.15.20
FGx
A cross-platform launcher for FlightGear
propeditwidget.h
Go to the documentation of this file.
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 
27 
29  QLineEdit *txtValue;
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
QLabel * labelNode
The MainObject is an extended QObject, and the main "controller" for FGx.
Definition: mainobject.h:66
QLabel * labelType
MainObject * mainObject
PropEditWidget(MainObject *mOb, QDialog *parent=0)
void set_from_item(QTreeWidgetItem *item)
QLineEdit * txtValue