##// END OF EJS Templates
Promotes hedley dep...
Promotes hedley dep Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1478:6e3f56cd8c8b
r1506:ef7b62ddc473
Show More
toolbar.h
37 lines | 891 B | text/x-c | CLexer
#ifndef TOOLBAR_H
#define TOOLBAR_H
#include <Data/DateTimeRange.h>
#include <QAction>
#include <QActionGroup>
#include <QObject>
#include <QToolBar>
#include <QWidget>
#include <TimeWidget/TimeWidget.h>
// TODO remove this, shouldn't need to include SqpApplication to get PlotsInteractionMode
#include <SqpApplication.h>
class ToolBar : public QToolBar
{
Q_OBJECT
public:
explicit ToolBar(QWidget* parent = nullptr);
QAction* timeRange;
QAction* pointerMode;
QAction* zoomMode;
QAction* organizationMode;
QAction* zonesMode;
QAction* cursorsActn;
QAction* cataloguesActn;
TimeWidgetAction* timeWidget;
signals:
void setPlotsInteractionMode(SqpApplication::PlotsInteractionMode);
void setPlotsCursorMode(SqpApplication::PlotsCursorMode);
void timeUpdated(DateTimeRange time);
void showCataloguesBrowser();
};
#endif // TOOLBAR_H