@@ -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 |
|
|
|
88 | auto spacerLeftTop = new QWidget{}; | |
|
90 | 89 | spacerLeftTop->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); |
|
91 | 90 | |
|
92 |
|
|
|
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 |
|
|
|
105 | auto spacerRightTop = new QWidget{}; | |
|
108 | 106 | spacerRightTop->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); |
|
109 | 107 | |
|
110 |
|
|
|
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 *)), |
General Comments 0
You need to be logged in to leave comments.
Login now