Qx
v0.5.8
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
12
namespace
Qx
13
{
14
15
class
QX_WIDGETS_EXPORT
TreeInputDialog
:
public
QDialog
16
{
17
//-QObject Macro (Required for all QObject Derived Classes)-----------------------------------------------------------
18
Q_OBJECT
19
20
//-Instance Members---------------------------------------------------------------------------------------------------
21
private
:
22
QTreeView
* mTreeView;
23
QDialogButtonBox
* mButtonBox;
24
25
//-Constructor-------------------------------------------------------------------------------------------------------
26
public
:
27
explicit
TreeInputDialog
(
QWidget
* parent =
nullptr
);
28
29
//-Instance Functions----------------------------------------------------------------------------------------------
30
public
:
31
void
setModel(
QAbstractItemModel
* model);
32
33
//-Signals---------------------------------------------------------------------------------------------------------
34
signals:
35
void
selectAllClicked
();
36
void
selectNoneClicked
();
37
};
38
39
}
40
41
#endif
// QX_TREEINPUTDIALOG_H
Qx::TreeInputDialog
The TreeInputDialog class provides a simple tree-based dialog from which the user can select one or m...
Definition
qx-treeinputdialog.h:16
Qx::TreeInputDialog::selectAllClicked
void selectAllClicked()
Qx::TreeInputDialog::selectNoneClicked
void selectNoneClicked()
Qx
The Qx namespace is the main namespace through which all non-global functionality of the Qx library i...
Definition
qx-processwaiter.cpp:5
QAbstractItemModel
QDialog
QDialogButtonBox
QTreeView
QWidget
lib
widgets
include
qx
widgets
qx-treeinputdialog.h
Generated by
1.10.0