##// END OF EJS Templates
Correction MR
perrinel -
r131:94f8c05d7495
parent child
Show More
@@ -79,17 +79,16 MainWindow::MainWindow(QWidget *parent)
79 79
80 80
81 81 auto leftSidePane = m_Ui->leftInspectorSidePane->sidePane();
82 auto openLeftInspectorAction = new QAction(
83 QIcon{
84 ":/icones/previous.png",
85 },
86 tr("Show/hide the left inspector"), this);
82 auto openLeftInspectorAction = new QAction{QIcon{
83 ":/icones/previous.png",
84 },
85 tr("Show/hide the left inspector"), this};
87 86
88 87
89 QWidget *spacerLeftTop = new QWidget();
88 auto spacerLeftTop = new QWidget{};
90 89 spacerLeftTop->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
91 90
92 QWidget *spacerLeftBottom = new QWidget();
91 auto spacerLeftBottom = new QWidget{};
93 92 spacerLeftBottom->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
94 93
95 94 leftSidePane->addWidget(spacerLeftTop);
@@ -98,16 +97,15 MainWindow::MainWindow(QWidget *parent)
98 97
99 98
100 99 auto rightSidePane = m_Ui->rightInspectorSidePane->sidePane();
101 auto openRightInspectorAction = new QAction(
102 QIcon{
103 ":/icones/next.png",
104 },
105 tr("Show/hide the right inspector"), this);
100 auto openRightInspectorAction = new QAction{QIcon{
101 ":/icones/next.png",
102 },
103 tr("Show/hide the right inspector"), this};
106 104
107 QWidget *spacerRightTop = new QWidget();
105 auto spacerRightTop = new QWidget{};
108 106 spacerRightTop->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
109 107
110 QWidget *spacerRightBottom = new QWidget();
108 auto spacerRightBottom = new QWidget{};
111 109 spacerRightBottom->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
112 110
113 111 rightSidePane->addWidget(spacerRightTop);
@@ -168,7 +166,7 MainWindow::MainWindow(QWidget *parent)
168 166 this->menuBar()->addAction(tr("File"));
169 167 auto mainToolBar = this->addToolBar(QStringLiteral("MainToolBar"));
170 168
171 mainToolBar->addWidget(new TimeWidget());
169 mainToolBar->addWidget(new TimeWidget{});
172 170
173 171 // Widgets / controllers connections
174 172 connect(&sqpApp->dataSourceController(), SIGNAL(dataSourceItemSet(DataSourceItem *)),
@@ -7,8 +7,6 namespace Ui {
7 7 class TimeWidget;
8 8 } // Ui
9 9
10 class TimeWidget;
11
12 10 class TimeWidget : public QWidget {
13 11 Q_OBJECT
14 12
General Comments 0
You need to be logged in to leave comments. Login now