diff --git a/app/src/MainWindow.cpp b/app/src/MainWindow.cpp index e9ecc3b..0a95010 100644 --- a/app/src/MainWindow.cpp +++ b/app/src/MainWindow.cpp @@ -26,6 +26,7 @@ #include #include #include +#include #include #include @@ -75,9 +76,61 @@ MainWindow::MainWindow(QWidget *parent) m_Ui->splitter->setCollapsible(LEFTINSPECTORSIDEPANESPLITTERINDEX, false); m_Ui->splitter->setCollapsible(RIGHTINSPECTORSIDEPANESPLITTERINDEX, false); + + auto leftSidePane = m_Ui->leftInspectorSidePane->sidePane(); + auto openLeftInspectorAction = new QAction( + QIcon{ + ":/icones/previous.png", + }, + tr("Show/hide the left inspector"), this); + + + QWidget *spacerLeftTop = new QWidget(); + spacerLeftTop->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); + + QWidget *spacerLeftBottom = new QWidget(); + spacerLeftBottom->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); + + leftSidePane->addWidget(spacerLeftTop); + leftSidePane->addAction(openLeftInspectorAction); + leftSidePane->addWidget(spacerLeftBottom); + + + auto rightSidePane = m_Ui->rightInspectorSidePane->sidePane(); + auto openRightInspectorAction = new QAction( + QIcon{ + ":/icones/next.png", + }, + tr("Show/hide the right inspector"), this); + + QWidget *spacerRightTop = new QWidget(); + spacerRightTop->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); + + QWidget *spacerRightBottom = new QWidget(); + spacerRightBottom->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); + + rightSidePane->addWidget(spacerRightTop); + rightSidePane->addAction(openRightInspectorAction); + rightSidePane->addWidget(spacerRightBottom); + + openLeftInspectorAction->setCheckable(true); + openRightInspectorAction->setCheckable(true); + + // NOTE: These lambda could be factorized. Be careful of theirs parameters // Lambda that defines what's happened when clicking on the leftSidePaneInspector open button - auto openLeftInspector = [this](bool checked) { + auto openLeftInspector = [this, openLeftInspectorAction](bool checked) { + + if (checked) { + openLeftInspectorAction->setIcon(QIcon{ + ":/icones/next.png", + }); + } + else { + openLeftInspectorAction->setIcon(QIcon{ + ":/icones/previous.png", + }); + } // Update of the last opened geometry if (checked) { @@ -107,7 +160,19 @@ MainWindow::MainWindow(QWidget *parent) }; // Lambda that defines what's happened when clicking on the SidePaneInspector open button - auto openRightInspector = [this](bool checked) { + auto openRightInspector = [this, openRightInspectorAction](bool checked) { + + if (checked) { + openRightInspectorAction->setIcon(QIcon{ + ":/icones/previous.png", + }); + } + else { + openRightInspectorAction->setIcon(QIcon{ + ":/icones/next.png", + }); + } + // Update of the last opened geometry if (checked) { @@ -137,27 +202,14 @@ MainWindow::MainWindow(QWidget *parent) }; - QToolBar *leftSidePane = m_Ui->leftInspectorSidePane->sidePane(); - auto openLeftInspectorAction = leftSidePane->addAction( - QIcon{ - ":/icones/openInspector.png", - }, - tr("Show/hide the left inspector"), openLeftInspector); - - openLeftInspectorAction->setCheckable(true); - - auto rightSidePane = m_Ui->rightInspectorSidePane->sidePane(); - auto openRightInspectorAction = rightSidePane->addAction( - QIcon{ - ":/icones/openInspector.png", - }, - tr("Show/hide the right inspector"), openRightInspector); + connect(openLeftInspectorAction, &QAction::triggered, openLeftInspector); + connect(openRightInspectorAction, &QAction::triggered, openRightInspector); - openRightInspectorAction->setCheckable(true); this->menuBar()->addAction(tr("File")); auto mainToolBar = this->addToolBar(QStringLiteral("MainToolBar")); - mainToolBar->addAction(QStringLiteral("A1")); + + mainToolBar->addWidget(new TimeWidget()); // Widgets / controllers connections connect(&sqpApp->dataSourceController(), SIGNAL(dataSourceItemSet(DataSourceItem *)), diff --git a/core/src/Variable/VariableController.cpp b/core/src/Variable/VariableController.cpp index bfeefc6..007c5c0 100644 --- a/core/src/Variable/VariableController.cpp +++ b/core/src/Variable/VariableController.cpp @@ -19,14 +19,14 @@ struct VariableController::VariableControllerPrivate { VariableController::VariableController(QObject *parent) : QObject{parent}, impl{spimpl::make_unique_impl()} { - qCDebug(LOG_VariableController()) - << tr("VariableController construction") << QThread::currentThread(); + qCDebug(LOG_VariableController()) << tr("VariableController construction") + << QThread::currentThread(); } VariableController::~VariableController() { - qCDebug(LOG_VariableController()) - << tr("VariableController destruction") << QThread::currentThread(); + qCDebug(LOG_VariableController()) << tr("VariableController destruction") + << QThread::currentThread(); this->waitForFinish(); } diff --git a/gui/include/TimeWidget/TimeWidget.h b/gui/include/TimeWidget/TimeWidget.h new file mode 100644 index 0000000..e0b79d9 --- /dev/null +++ b/gui/include/TimeWidget/TimeWidget.h @@ -0,0 +1,23 @@ +#ifndef SCIQLOP_TIMEWIDGET_H +#define SCIQLOP_TIMEWIDGET_H + +#include + +namespace Ui { +class TimeWidget; +} // Ui + +class TimeWidget; + +class TimeWidget : public QWidget { + Q_OBJECT + +public: + explicit TimeWidget(QWidget *parent = 0); + virtual ~TimeWidget(); + +private: + Ui::TimeWidget *ui; +}; + +#endif // SCIQLOP_ SQPSIDEPANE_H diff --git a/gui/resources/icones/next.png b/gui/resources/icones/next.png new file mode 100644 index 0000000000000000000000000000000000000000..b70248b705e281885153a05ade514e565a13560b GIT binary patch literal 4413 zc$}@2_dgVX|HtoaQJkI1xRRBO6T(HDnKCnutTQ4bo2-iyXJqe@5ha|J%%d_hbIx9= zn90A5{QqHM_~+gC z9EJdZ3o>q+nnrq>nnFgt-Y#w)&HzAgL19*qnb|Z?>=-uaMahT^m$)Vwdr=6hSc!u< z%s9cNc%4WDMH0P_FTrsA&>@h|J7A&cJ{KM zYxuJ_SSr+&96r?sNa;9j?eMp}fRryn3jSQxPfm=lK%4+scL21*0Q&|x2#p4`8>xFw zz-!+imGcP9gj5Xbkpw6vbwrc=ch2?lGQaS~;posaQ6t}+&@Dzim9tT-_2Jq*_#-aa zZZX+CEk>^TjvP+j*`3BQuu4L1VILyFGHi`Ckl%V33SP<+A;j_R^7QUn-3urn(aP8}Fs#0pOka$E04UV18F@AuA@L3C zlg}2^5;RdnPiUYHBKvK0RAJ56vhQcqS;_hOj^h3#HL-X7OpI-@F#R)E#RbyOwtAfD zL`>KV7l!oSk}Ibn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kAT@62^1#!KJ*L*b#^71mzK^D3Vh;l3pyA<;#-beK0Dqe(BiT8f%`Q@Mn2 znb%IHaoIiW?Cgw=9@UU+L5OHgOkPLM4elgJ@5(iG4-F5u-Bi#)od6^56~Y(}i`bR* zGX`Ll&(CBciJiU+tf9l%+1c_fm`ruE5Bsznj4Heugcp}}=9LdMH8j>gPHpcIUs3A% zQf>w^*wkY5x(F|qJNupMUp@FkF{qkRPTc!mw^SIbUi$X2p4n}|$SgI6*XbDiTgUvHRZe&7CaGcYRYJqTg)%7VV6nD-n$(|2AUP;t6vO}^&Jg-?5z_Cnqj|Bv op$#FwH+^sMzs&Ui25^^v2i5{hqYEEq{%#hat*#5lsal8r2Y_}?VgLXD literal 0 Hc$@ icones/openInspector.png + icones/next.png + icones/previous.png diff --git a/gui/src/SidePane/SqpSidePane.cpp b/gui/src/SidePane/SqpSidePane.cpp index 72e6ea9..ac7494f 100644 --- a/gui/src/SidePane/SqpSidePane.cpp +++ b/gui/src/SidePane/SqpSidePane.cpp @@ -34,13 +34,6 @@ SqpSidePane::SqpSidePane(QWidget *parent) : QWidget{parent}, ui{new Ui::SqpSideP this->layout()->addWidget(m_SidePaneToolbar); m_SidePaneToolbar->setStyleSheet(SQPSIDEPANESTYLESHEET); - - this->setStyleSheet( - " QWidget {" - "background: red;" - - "border: 1px;" - " }"); } SqpSidePane::~SqpSidePane() diff --git a/gui/src/TimeWidget/TimeWidget.cpp b/gui/src/TimeWidget/TimeWidget.cpp new file mode 100644 index 0000000..69cdd16 --- /dev/null +++ b/gui/src/TimeWidget/TimeWidget.cpp @@ -0,0 +1,12 @@ +#include "TimeWidget/TimeWidget.h" +#include "ui_TimeWidget.h" + +TimeWidget::TimeWidget(QWidget *parent) : QWidget{parent}, ui{new Ui::TimeWidget} +{ + ui->setupUi(this); +} + +TimeWidget::~TimeWidget() +{ + delete ui; +} diff --git a/gui/ui/Sidepane/SqpSidePane.ui b/gui/ui/SidePane/SqpSidePane.ui similarity index 100% rename from gui/ui/Sidepane/SqpSidePane.ui rename to gui/ui/SidePane/SqpSidePane.ui diff --git a/gui/ui/TimeWidget/TimeWidget.ui b/gui/ui/TimeWidget/TimeWidget.ui new file mode 100644 index 0000000..67cc2c2 --- /dev/null +++ b/gui/ui/TimeWidget/TimeWidget.ui @@ -0,0 +1,85 @@ + + + TimeWidget + + + + 0 + 0 + 716 + 48 + + + + + 0 + 0 + + + + Form + + + + + + + 0 + 0 + + + + TStart : + + + + + + + + 0 + 0 + + + + dd/MM/yyyy HH:mm:ss:zzz + + + true + + + + + + + + 0 + 0 + + + + TEnd : + + + + + + + + 0 + 0 + + + + dd/MM/yyyy HH:mm:ss:zzz + + + true + + + + + + + + diff --git a/plugins/mockplugin/src/CosinusProvider.cpp b/plugins/mockplugin/src/CosinusProvider.cpp index b6e4e12..e538ccb 100644 --- a/plugins/mockplugin/src/CosinusProvider.cpp +++ b/plugins/mockplugin/src/CosinusProvider.cpp @@ -3,6 +3,8 @@ #include #include +#include + std::unique_ptr CosinusProvider::retrieveData(const DataProviderParameters ¶meters) const {