Qx v0.5.7
Qt Extensions Library
Loading...
Searching...
No Matches
qx-treeinputdialog.h
1#ifndef QX_TREEINPUTDIALOG_H
2#define QX_TREEINPUTDIALOG_H
3
4// Shared Lib Support
5#include "qx/widgets/qx_widgets_export.h"
6
7// Qt Includes
8#include <QDialog>
9#include <QTreeView>
10#include <QDialogButtonBox>
11
12namespace Qx
13{
14
15class QX_WIDGETS_EXPORT TreeInputDialog : public QDialog
16{
17//-QObject Macro (Required for all QObject Derived Classes)-----------------------------------------------------------
18 Q_OBJECT
19
20//-Instance Members---------------------------------------------------------------------------------------------------
21private:
22 QTreeView* mTreeView;
23 QDialogButtonBox* mButtonBox;
24
25//-Constructor-------------------------------------------------------------------------------------------------------
26public:
27 explicit TreeInputDialog(QWidget* parent = nullptr);
28
29//-Instance Functions----------------------------------------------------------------------------------------------
30public:
31 void setModel(QAbstractItemModel* model);
32
33//-Signals---------------------------------------------------------------------------------------------------------
34signals:
37};
38
39}
40
41#endif // QX_TREEINPUTDIALOG_H
The TreeInputDialog class provides a simple tree-based dialog from which the user can select one or m...
Definition qx-treeinputdialog.h:16
The Qx namespace is the main namespace through which all non-global functionality of the Qx library i...
Definition qx-processwaiter.cpp:5