##// END OF EJS Templates
New data sources system switch complete...
New data sources system switch complete Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

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