Skip to content
Snippets Groups Projects
Commit dbf469c0 authored by Michael Reuter's avatar Michael Reuter
Browse files

Refs #4118. Adding icons for new buttons.

parent 2a390009
No related branches found
No related tags found
No related merge requests found
...@@ -51,6 +51,9 @@ qt4_wrap_ui( UI_BUILT_SOURCES ...@@ -51,6 +51,9 @@ qt4_wrap_ui( UI_BUILT_SOURCES
inc/MantidVatesSimpleGuiViewWidgets/TimeControlWidget.ui inc/MantidVatesSimpleGuiViewWidgets/TimeControlWidget.ui
) )
# Add the QtWidgets icons
qt4_add_resources( RES_FILES icons/ViewWidgetsIcons.qrc )
# Setup the include locations. # Setup the include locations.
include_directories( include_directories(
inc inc
...@@ -58,11 +61,18 @@ include_directories( ...@@ -58,11 +61,18 @@ include_directories(
${CMAKE_CURRENT_BINARY_DIR}/../QtWidgets ${CMAKE_CURRENT_BINARY_DIR}/../QtWidgets
) )
set( ALL_FILES
${INCLUDE_FILES}
${SOURCE_FILES}
${MOC_SOURCES}
${UI_BUILT_SOURCES}
${RES_FILES}
)
# For Windows # For Windows
add_definitions( -DIN_MANTID_VATES_SIMPLEGUI_VIEWWIDGETS ) add_definitions( -DIN_MANTID_VATES_SIMPLEGUI_VIEWWIDGETS )
# Add the target for this directory # Add the target for this directory
add_library( VatesSimpleGuiViewWidgets ${INCLUDE_FILES} ${SOURCE_FILES} add_library( VatesSimpleGuiViewWidgets ${ALL_FILES} )
${MOC_SOURCES} ${UI_BUILT_SOURCES} )
# Set the name of the generated library # Set the name of the generated library
set_target_properties( VatesSimpleGuiViewWidgets PROPERTIES OUTPUT_NAME MantidVatesSimpleGuiViewWidgets ) set_target_properties( VatesSimpleGuiViewWidgets PROPERTIES OUTPUT_NAME MantidVatesSimpleGuiViewWidgets )
# Add to the 'VatesSimpleGui' group in VS # Add to the 'VatesSimpleGui' group in VS
......
<RCC>
<qresource prefix="/VatesSimpleGuiViewWidgets/icons">
<file>pqResetCenterToData24.png</file>
<file>pqResetCenterToPoint24.png</file>
</qresource>
</RCC>
Code/Mantid/Vates/VatesSimpleGui/ViewWidgets/icons/pqResetCenterToData24.png

1.21 KiB

Code/Mantid/Vates/VatesSimpleGui/ViewWidgets/icons/pqResetCenterToPoint24.png

1.04 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment