Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
CTA-LAPP
PHOENIX_LIBS
PhoenixClockTimer
Commits
b3df5e6f
Commit
b3df5e6f
authored
Jul 29, 2017
by
Pierre Aubert
Browse files
Add icon
parent
c9d62ef4
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
1 deletion
+21
-1
CMakeLists.txt
CMakeLists.txt
+3
-0
PClockTimer.cpp
PClockTimer.cpp
+7
-1
share/CMakeLists.txt
share/CMakeLists.txt
+4
-0
share/PClockTimer/CMakeLists.txt
share/PClockTimer/CMakeLists.txt
+7
-0
share/PClockTimer/Images/Personnages_films_Archimede_Icon.png
...e/PClockTimer/Images/Personnages_films_Archimede_Icon.png
+0
-0
No files found.
CMakeLists.txt
View file @
b3df5e6f
...
...
@@ -19,3 +19,6 @@ target_link_libraries(pclocktimer ${Qt5Widgets_LIBRARIES})
install
(
TARGETS pclocktimer RUNTIME DESTINATION bin
)
add_subdirectory
(
share
)
PClockTimer.cpp
View file @
b3df5e6f
...
...
@@ -10,6 +10,12 @@
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QHBoxLayout>
#ifdef CMAKE_INSTALL_PREFIX
const
QString
CLOCK_TIMER_ICON
=
QString
(
CMAKE_INSTALL_PREFIX
)
+
QString
(
"/share/PClockTimer/Images/Personnages_films_Archimede_Icon.png"
);
#else
const
QString
CLOCK_TIMER_ICON
(
"../share/PClockTimer/Images/Personnages_films_Archimede_Icon.png"
);
#endif
///PClockTimer constructor
PClockTimer
::
PClockTimer
(){
...
...
@@ -65,7 +71,7 @@ void PClockTimer::initialisationPClockTimer(){
///Init the widgets
void
PClockTimer
::
initialisationWidget
(){
setWindowIcon
(
QIcon
(
CLOCK_TIMER_ICON
));
initialisationButton
();
p_lcdNumber
=
new
QLCDNumber
;
...
...
share/CMakeLists.txt
0 → 100644
View file @
b3df5e6f
project
(
pclocktimer
)
cmake_minimum_required
(
VERSION 2.8
)
add_subdirectory
(
PClockTimer
)
share/PClockTimer/CMakeLists.txt
0 → 100644
View file @
b3df5e6f
project
(
pclocktimer
)
cmake_minimum_required
(
VERSION 2.8
)
set
(
directoriesList Images
)
install
(
DIRECTORY
${
directoriesList
}
DESTINATION share/PClockTimer
)
share/PClockTimer/Images/Personnages_films_Archimede_Icon.png
0 → 100644
View file @
b3df5e6f
8.1 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment