@@ -1,5 +1,10 | |||||
1 | cmake_minimum_required(VERSION 3.6) |
|
1 | cmake_minimum_required(VERSION 3.6) | |
2 | project(SciQLOP CXX) |
|
2 | set(SCIQLOP_VERSION 1.0.0) | |
|
3 | project(SciQLOP | |||
|
4 | VERSION ${SCIQLOP_VERSION} | |||
|
5 | DESCRIPTION "SciQLOP (SCIentific Qt application for Learning from Observations of Plasmas) is an ergonomic and powerful tool enabling visualization and analysis of in situ spacecraft plasma data." | |||
|
6 | HOMEPAGE_URL https://github.com/LaboratoryOfPlasmaPhysics/SciQLOP | |||
|
7 | LANGUAGES CXX) | |||
3 |
|
8 | |||
4 | include(GNUInstallDirs) |
|
9 | include(GNUInstallDirs) | |
5 |
|
10 | |||
@@ -73,6 +78,8 ENDIF(Coverage) | |||||
73 |
|
78 | |||
74 | enable_testing() |
|
79 | enable_testing() | |
75 |
|
80 | |||
|
81 | add_definitions(-DSCIQLOP_VERSION="${SCIQLOP_VERSION}") | |||
|
82 | ||||
76 | if(BUILD_CORE) |
|
83 | if(BUILD_CORE) | |
77 | find_package(SciQLOPCore CONFIG QUIET) |
|
84 | find_package(SciQLOPCore CONFIG QUIET) | |
78 | if (NOT SciQLOPCore_FOUND) |
|
85 | if (NOT SciQLOPCore_FOUND) |
@@ -44,7 +44,6 | |||||
44 | #include <QToolButton> |
|
44 | #include <QToolButton> | |
45 | #include <memory.h> |
|
45 | #include <memory.h> | |
46 |
|
46 | |||
47 | #include "iostream" |
|
|||
48 |
|
47 | |||
49 | Q_LOGGING_CATEGORY(LOG_MainWindow, "MainWindow") |
|
48 | Q_LOGGING_CATEGORY(LOG_MainWindow, "MainWindow") | |
50 |
|
49 | |||
@@ -87,6 +86,7 MainWindow::MainWindow(QWidget* parent) | |||||
87 | , impl { spimpl::make_unique_impl<MainWindowPrivate>(this) } |
|
86 | , impl { spimpl::make_unique_impl<MainWindowPrivate>(this) } | |
88 | { |
|
87 | { | |
89 | m_Ui->setupUi(this); |
|
88 | m_Ui->setupUi(this); | |
|
89 | setWindowTitle(QString("SciQLop v%1").arg(SCIQLOP_VERSION)); | |||
90 |
|
90 | |||
91 | m_Ui->splitter->setCollapsible(LEFTINSPECTORSIDEPANESPLITTERINDEX, false); |
|
91 | m_Ui->splitter->setCollapsible(LEFTINSPECTORSIDEPANESPLITTERINDEX, false); | |
92 | m_Ui->splitter->setCollapsible(RIGHTINSPECTORSIDEPANESPLITTERINDEX, false); |
|
92 | m_Ui->splitter->setCollapsible(RIGHTINSPECTORSIDEPANESPLITTERINDEX, false); |
@@ -11,7 +11,7 | |||||
11 | </rect> |
|
11 | </rect> | |
12 | </property> |
|
12 | </property> | |
13 | <property name="windowTitle"> |
|
13 | <property name="windowTitle"> | |
14 |
<string>SciQlop |
|
14 | <string>SciQlop</string> | |
15 | </property> |
|
15 | </property> | |
16 | <property name="dockNestingEnabled"> |
|
16 | <property name="dockNestingEnabled"> | |
17 | <bool>true</bool> |
|
17 | <bool>true</bool> | |
@@ -130,7 +130,7 | |||||
130 | <x>0</x> |
|
130 | <x>0</x> | |
131 | <y>0</y> |
|
131 | <y>0</y> | |
132 | <width>800</width> |
|
132 | <width>800</width> | |
133 |
<height>4 |
|
133 | <height>24</height> | |
134 | </rect> |
|
134 | </rect> | |
135 | </property> |
|
135 | </property> | |
136 | </widget> |
|
136 | </widget> |
General Comments 0
You need to be logged in to leave comments.
Login now