-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding Qt Resources for Tree View icons.
- Loading branch information
1 parent
1ddb3ee
commit ed553c6
Showing
13 changed files
with
84 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Copyright (C) 2020 David Cattermole. | ||
# | ||
# This file is part of mmSolver. | ||
# | ||
# mmSolver is free software: you can redistribute it and/or modify it | ||
# under the terms of the GNU Lesser General Public License as | ||
# published by the Free Software Foundation, either version 3 of the | ||
# License, or (at your option) any later version. | ||
# | ||
# mmSolver is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU Lesser General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Lesser General Public License | ||
# along with mmSolver. If not, see <https://www.gnu.org/licenses/>. | ||
# --------------------------------------------------------------------- | ||
# | ||
# Build Icons (using Qt Resource Compiler) | ||
|
||
set(input_file ${CMAKE_SOURCE_DIR}/icons/resources.qrc) | ||
set(output_file ${CMAKE_SOURCE_DIR}/icons/resources.rcc) | ||
add_custom_command( | ||
OUTPUT ${output_file} | ||
COMMAND rcc -binary resources.qrc -o resources.rcc | ||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/icons | ||
DEPENDS ${input_file} | ||
) | ||
add_custom_target( | ||
build_icons ALL | ||
DEPENDS ${output_file} | ||
COMMENT "Building Icons (with Qt Resource Compiler) (${input_file})..." | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<RCC> | ||
<qresource> | ||
<file alias="mmSolver_attr.png">ui/mmSolver_attr.png</file> | ||
<file alias="mmSolver_node.png">ui/mmSolver_node.png</file> | ||
<file alias="mmSolver_plug.png">ui/mmSolver_plug.png</file> | ||
<file alias="mmSolver_bundle.png">ui/mmSolver_bundle.png</file> | ||
<file alias="mmSolver_marker.png">ui/mmSolver_marker.png</file> | ||
<file alias="mmSolver_object.png">ui/mmSolver_object.png</file> | ||
<file alias="mmSolver_camera.png">ui/mmSolver_camera.png</file> | ||
<file alias="mmSolver_solverStep.png">ui/mmSolver_solverStep.png</file> | ||
</qresource> | ||
</RCC> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters