DataSourceWidget.h
35 lines
| 648 B
| text/x-c
|
CLexer
|
r82 | #ifndef SCIQLOP_DATASOURCEWIDGET_H | ||
#define SCIQLOP_DATASOURCEWIDGET_H | ||||
#include <QWidget> | ||||
r1495 | #include <QSortFilterProxyModel> | |||
|
r1034 | |||
r1495 | namespace Ui | |||
{ | ||||
|
r109 | class DataSourceWidget; | ||
} // Ui | ||||
|
r82 | class DataSourceItem; | ||
/** | ||||
* @brief The DataSourceWidget handles the graphical representation (as a tree) of the data sources | ||||
* attached to SciQlop. | ||||
*/ | ||||
r1495 | class DataSourceWidget : public QWidget | |||
{ | ||||
|
r82 | Q_OBJECT | ||
public: | ||||
r1495 | explicit DataSourceWidget(QWidget* parent = 0); | |||
r235 | virtual ~DataSourceWidget() noexcept; | |||
|
r82 | |||
private: | ||||
|
r1034 | void updateTreeWidget() noexcept; | ||
r1495 | Ui::DataSourceWidget* ui; | |||
QSortFilterProxyModel m_model_proxy; | ||||
|
r475 | |||
|
r82 | }; | ||
#endif // SCIQLOP_DATASOURCEWIDGET_H | ||||