##// END OF EJS Templates
More dmg fixes...
More dmg fixes Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1420:3c3e24550401
r1469:c11b1d4ffe15
Show More
VisualizationWidget.h
67 lines | 1.9 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"
Made core module a git submodule, ready to start switching to new...
r1347 #include <Data/DateTimeRange.h>
Add the visualization gui classes
r118
Widget of the tab widget are now of type VisualizationTabWidget...
r88 #include <QLoggingCategory>
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 #include <QWidget>
multi selection of zones
r1049 #include <Common/spimpl.h>
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;
Switched to new TS impl but quite broken!...
r1420 class Variable2;
Add the visualization gui classes
r118 class VisualizationTabWidget;
multi selection of zones
r1049 class VisualizationSelectionZoneManager;
Add the visualization gui classes
r118
Switched to new TS impl but quite broken!...
r1420 namespace Ui
{
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 class VisualizationWidget;
} // namespace Ui
Switched to new TS impl but quite broken!...
r1420 class VisualizationWidget : public QWidget, public IVisualizationWidget
{
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 Q_OBJECT
public:
Switched to new TS impl but quite broken!...
r1420 explicit VisualizationWidget(QWidget* parent = 0);
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 virtual ~VisualizationWidget();
multi selection of zones
r1049 /// Returns the class which manage the selection of selection zone across the visualization
Switched to new TS impl but quite broken!...
r1420 VisualizationSelectionZoneManager& selectionZoneManager() const;
multi selection of zones
r1049
Switched to new TS impl but quite broken!...
r1420 VisualizationTabWidget* currentTabWidget() const;
Retrieves zone names from the visualization
r1136
Add the visualization gui classes
r118 // IVisualizationWidget interface
Switched to new TS impl but quite broken!...
r1420 void accept(IVisualizationWidgetVisitor* visitor) override;
bool canDrop(Variable2& variable) const override;
bool contains(Variable2& variable) const 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
Changes signal to pass a list of variables...
r288 * 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
r248 * @param menu the parent menu of the generated menu
Alexandre Leroux
Changes signal to pass a list of variables...
r288 * @param variables the variables for which to generate the menu
Alexandre Leroux
Creates the slot to display the created variable in the Visualization widget...
r175 */
Switched to new TS impl but quite broken!...
r1420 void attachVariableMenu(
QMenu* menu, const QVector<std::shared_ptr<Variable2>>& variables) noexcept;
Alexandre Leroux
Creates the slot to display the created variable in the Visualization widget...
r175
Alexandre Leroux
Variable deletion (5)...
r334 /// Slot called when a variable is about to be deleted from SciQlop
Switched to new TS impl but quite broken!...
r1420 void onVariableAboutToBeDeleted(std::shared_ptr<Variable2> variable) noexcept;
Alexandre Leroux
Variable deletion (5)...
r334
Switched to new TS impl but quite broken!...
r1420 void onRangeChanged(std::shared_ptr<Variable2> variable, const DateTimeRange& range) noexcept;
Add connection logical for the rescale operation
r437
Alexandre Leroux
Handles desynchronisation when removing variable from a graph (2)...
r738 protected:
Switched to new TS impl but quite broken!...
r1420 void closeEvent(QCloseEvent* event) override;
Alexandre Leroux
Handles desynchronisation when removing variable from a graph (2)...
r738
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 private:
Switched to new TS impl but quite broken!...
r1420 Ui::VisualizationWidget* ui;
multi selection of zones
r1049
class VisualizationWidgetPrivate;
spimpl::unique_impl_ptr<VisualizationWidgetPrivate> impl;
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 };
#endif // VISUALIZATIONWIDGET_H