##// END OF EJS Templates
Makes a Data series be sorted (2)...
Makes a Data series be sorted (2) Implements sort() method

File last commit:

r301:87af69bdce8a
r416:07e656efd83c
Show More
VisualizationTabWidget.h
54 lines | 1.5 KiB | text/x-c | CLexer
/ gui / include / Visualization / VisualizationTabWidget.h
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 #ifndef SCIQLOP_VISUALIZATIONTABWIDGET_H
#define SCIQLOP_VISUALIZATIONTABWIDGET_H
Add the visualization gui classes
r111 #include "Visualization/IVisualizationWidget.h"
Alexandre Leroux
Adds a name for a tab...
r184 #include <Common/spimpl.h>
Alexandre Leroux
Adds logs for null visitors
r204 #include <QLoggingCategory>
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 #include <QWidget>
Alexandre Leroux
Adds logs for null visitors
r204 Q_DECLARE_LOGGING_CATEGORY(LOG_VisualizationTabWidget)
Alexandre Leroux
Minor fixes...
r189 class Variable;
Add the visualization gui classes
r111 class VisualizationZoneWidget;
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 namespace Ui {
class VisualizationTabWidget;
} // namespace Ui
Add the visualization gui classes
r111 class VisualizationTabWidget : public QWidget, public IVisualizationWidget {
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 Q_OBJECT
public:
Alexandre Leroux
Adds a name for a tab...
r184 explicit VisualizationTabWidget(const QString &name = {}, QWidget *parent = 0);
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 virtual ~VisualizationTabWidget();
Add the visualization gui classes
r111 /// Add a zone widget
void addZone(VisualizationZoneWidget *zoneWidget);
Alexandre Leroux
Completes the method of creating a zone from a variable
r187 /**
* Creates a zone using a variable. The variable will be displayed in a new graph of the new
* zone.
* @param variable the variable for which to create the zone
* @return the pointer to the created zone
*/
VisualizationZoneWidget *createZone(std::shared_ptr<Variable> variable);
Add the visualization gui classes
r111
// IVisualizationWidget interface
Alexandre Leroux
Updates visitor interface...
r192 void accept(IVisualizationWidgetVisitor *visitor) override;
Alexandre Leroux
Creates a interface that defines a variable container...
r194 bool canDrop(const Variable &variable) const override;
Alexandre Leroux
Unplot menu (5): adds contains() method to an IVariableContainer...
r301 bool contains(const Variable &variable) const override;
Add const and override
r112 QString name() const override;
Add the visualization gui classes
r111
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 private:
Alexandre Leroux
Adds scrollbar to tabs
r284 /// @return the layout of tab in which zones are added
QLayout &tabLayout() const noexcept;
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 Ui::VisualizationTabWidget *ui;
Alexandre Leroux
Adds a name for a tab...
r184
class VisualizationTabWidgetPrivate;
spimpl::unique_impl_ptr<VisualizationTabWidgetPrivate> impl;
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 };
#endif // SCIQLOP_VISUALIZATIONTABWIDGET_H