##// END OF EJS Templates
Add correction for delta T
Add correction for delta T

File last commit:

r248:5b41c2a03db2
r263:dbae8a89423a
Show More
VisualizationWidget.h
53 lines | 1.4 KiB | text/x-c | CLexer
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 #ifndef SCIQLOP_VISUALIZATIONWIDGET_H
#define SCIQLOP_VISUALIZATIONWIDGET_H
Add the visualization gui classes
r118 #include "Visualization/IVisualizationWidget.h"
Widget of the tab widget are now of type VisualizationTabWidget...
r88 #include <QLoggingCategory>
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 #include <QWidget>
Alexandre Leroux
Adds logs for null visitors
r219 Q_DECLARE_LOGGING_CATEGORY(LOG_VisualizationWidget)
Alexandre Leroux
Creates a method (slot) in VisualizationWidget to add the plot menu to a variable menu
r248 class QMenu;
Alexandre Leroux
Creates the slot to display the created variable in the Visualization widget...
r175 class Variable;
Add the visualization gui classes
r118 class VisualizationTabWidget;
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 namespace Ui {
class VisualizationWidget;
} // namespace Ui
Add the visualization gui classes
r118 class VisualizationWidget : public QWidget, public IVisualizationWidget {
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 Q_OBJECT
public:
explicit VisualizationWidget(QWidget *parent = 0);
virtual ~VisualizationWidget();
Add the visualization gui classes
r118 /// Add a zone widget
virtual void addTab(VisualizationTabWidget *tabWidget);
/// Create a tab using a Variable
VisualizationTabWidget *createTab();
/// Remove a tab
void removeTab(VisualizationTabWidget *tab);
// IVisualizationWidget interface
Alexandre Leroux
Updates visitor interface...
r207 void accept(IVisualizationWidgetVisitor *visitor) override;
Alexandre Leroux
Creates a interface that defines a variable container...
r209 bool canDrop(const Variable &variable) const override;
Add const and override
r119 void close() override;
Alexandre Leroux
Adds override keywor
r218 QString name() const override;
Add the visualization gui classes
r118
Alexandre Leroux
Creates the slot to display the created variable in the Visualization widget...
r175 public slots:
/**
Alexandre Leroux
Creates a method (slot) in VisualizationWidget to add the plot menu to a variable menu
r248 * Attaches to a menu the menu relating to the visualization of a variable
* @param menu the parent menu of the generated menu
* @param variable the variable for which to generate the menu
Alexandre Leroux
Creates the slot to display the created variable in the Visualization widget...
r175 */
Alexandre Leroux
Creates a method (slot) in VisualizationWidget to add the plot menu to a variable menu
r248 void attachVariableMenu(QMenu *menu, std::shared_ptr<Variable> variable) noexcept;
Alexandre Leroux
Creates the slot to display the created variable in the Visualization widget...
r175
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 private:
Ui::VisualizationWidget *ui;
};
#endif // VISUALIZATIONWIDGET_H