##// END OF EJS Templates
Add button on the SidePane widgets to open left or right inspectors
Add button on the SidePane widgets to open left or right inspectors

File last commit:

r92:afb77b3143a6
r101:9678ebc27091
Show More
DataSourceWidget.h
33 lines | 832 B | text/x-c | CLexer
Alexandre Leroux
Creates the data source widget...
r82 #ifndef SCIQLOP_DATASOURCEWIDGET_H
#define SCIQLOP_DATASOURCEWIDGET_H
#include <Common/spimpl.h>
#include <QWidget>
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);
Alexandre Leroux
Implements method to add a data source in the widget...
r83 public slots:
/**
* Adds a data source. An item associated to the data source is created and then added to the
* representation tree
Alexandre Leroux
Change signal/slot signature for data source
r92 * @param dataSource the data source to add. The pointer has to be not null
Alexandre Leroux
Implements method to add a data source in the widget...
r83 */
Alexandre Leroux
Change signal/slot signature for data source
r92 void addDataSource(DataSourceItem *dataSource) noexcept;
Alexandre Leroux
Implements method to add a data source in the widget...
r83
Alexandre Leroux
Creates the data source widget...
r82 private:
class DataSourceWidgetPrivate;
spimpl::unique_impl_ptr<DataSourceWidgetPrivate> impl;
};
#endif // SCIQLOP_DATASOURCEWIDGET_H