FGx
1
Main Page
Related Pages
Classes
Files
File List
File Members
src
xwidgets
xdebugtreewidget.h
1
// -=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-
2
// FGx FlightGear Launcher // xdebugtreewidget.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 XDEBUGTREEWIDGET_H
10
#define XDEBUGTREEWIDGET_H
11
12
13
#include <QWidget>
14
#include <QActionGroup>
15
#include <QLineEdit>
16
#include <QSortFilterProxyModel>
17
18
#include "xobjects/mainobject.h"
19
class
MainObject
;
20
21
22
23
class
XDebugTreeWidget
:
public
QWidget
24
{
25
Q_OBJECT
26
27
public
:
28
explicit
XDebugTreeWidget
(
MainObject
*mob, QWidget *parent = 0);
29
30
MainObject
*mainObject;
31
32
QButtonGroup *groupFilter;
33
34
QSortFilterProxyModel *proxyModel;
35
36
QTreeView *tree;
37
38
QLineEdit *txtFilter;
39
40
signals:
41
42
43
public
slots:
44
void
on_filter_button(QAbstractButton *button);
45
void
on_filter_text_changed(QString);
46
void
on_select_a_node(QString option,
bool
enabled, QString value);
47
};
48
49
#endif // XDEBUGTREEWIDGET_H
MainObject
The MainObject is an extended QObject, and the main "controller" for FGx.
Definition:
mainobject.h:61
XDebugTreeWidget
Definition:
xdebugtreewidget.h:23
Generated on Thu Feb 4 2016 13:22:56 for FGx by
1.8.11