##// END OF EJS Templates
Implements purge() method for DataSeries
Implements purge() method for DataSeries

File last commit:

r471:d00d6fd96c10
r629:34ec67ab5cd8
Show More
VisualizationWidget.h
51 lines | 1.5 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
r111 #include "Visualization/IVisualizationWidget.h"
Change SqpRange for SqpDateTime
r471 #include <Data/SqpRange.h>
Add the visualization gui classes
r111
Widget of the tab widget are now of type VisualizationTabWidget...
r87 #include <QLoggingCategory>
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 #include <QWidget>
Alexandre Leroux
Adds logs for null visitors
r204 Q_DECLARE_LOGGING_CATEGORY(LOG_VisualizationWidget)
Alexandre Leroux
Creates a method (slot) in VisualizationWidget to add the plot menu to a variable menu
r231 class QMenu;
Alexandre Leroux
Creates the slot to display the created variable in the Visualization widget...
r162 class Variable;
Add the visualization gui classes
r111 class VisualizationTabWidget;
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 namespace Ui {
class VisualizationWidget;
} // namespace Ui
Add the visualization gui classes
r111 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
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;
Alexandre Leroux
Adds override keywor
r203 QString name() const override;
Add the visualization gui classes
r111
Alexandre Leroux
Creates the slot to display the created variable in the Visualization widget...
r162 public slots:
/**
Alexandre Leroux
Changes signal to pass a list of variables...
r266 * Attaches to a menu the menu relative to the visualization of variables
Alexandre Leroux
Creates a method (slot) in VisualizationWidget to add the plot menu to a variable menu
r231 * @param menu the parent menu of the generated menu
Alexandre Leroux
Changes signal to pass a list of variables...
r266 * @param variables the variables for which to generate the menu
Alexandre Leroux
Creates the slot to display the created variable in the Visualization widget...
r162 */
Alexandre Leroux
Changes signal to pass a list of variables...
r266 void attachVariableMenu(QMenu *menu,
const QVector<std::shared_ptr<Variable> > &variables) noexcept;
Alexandre Leroux
Creates the slot to display the created variable in the Visualization widget...
r162
Alexandre Leroux
Variable deletion (5)...
r308 /// Slot called when a variable is about to be deleted from SciQlop
void onVariableAboutToBeDeleted(std::shared_ptr<Variable> variable) noexcept;
Change SqpRange for SqpDateTime
r471 void onRangeChanged(std::shared_ptr<Variable> variable, const SqpRange &range) noexcept;
Add connection logical for the rescale operation
r403
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 private:
Ui::VisualizationWidget *ui;
};
#endif // VISUALIZATIONWIDGET_H