Skip to content

Commit

Permalink
Logo recovery
Browse files Browse the repository at this point in the history
  • Loading branch information
SantiagoMunoz committed Sep 20, 2016
1 parent b9b2fe3 commit 82d6492
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions CMakeLists.txt
Expand Up @@ -163,12 +163,10 @@ endif()
add_executable(ShapesDemo ${SHAPESDEMO_SOURCES})
target_include_directories(ShapesDemo PRIVATE include forms/ui ${Boost_INCLUDE_DIR})
target_link_libraries(ShapesDemo fastrtps fastcdr ${Boost_LIBRARIES} Qt5::Widgets Qt5::Core Qt5::Gui)

file(INSTALL ${PROJECT_SOURCE_DIR}/images/eProsimaLogo.png DESTINATION ${CMAKE_BINARY_DIR})
###############################################################################
# Install
###############################################################################

if(NOT WIN32)
if(THIRDPARTY)
# Install includes
install(DIRECTORY ${PROJECT_BINARY_DIR}/external/install/${INCLUDE_INSTALL_DIR}/
Expand All @@ -191,8 +189,8 @@ if(NOT WIN32)
OPTIONAL
)
endif()
install(FILES ${PROJECT_SOURCE_DIR}/images/eProsimaLogo.png DESTINATION ${BIN_INSTALL_DIR})
install(TARGETS ShapesDemo
RUNTIME DESTINATION ${BIN_INSTALL_DIR}
COMPONENT ShapesDemo_bin
)
endif()
4 changes: 2 additions & 2 deletions src/qt/DrawArea.cpp
Expand Up @@ -26,7 +26,7 @@ DrawArea::DrawArea(QWidget *parent)
firstA(10),
lastA(240)
{
this->setStyleSheet("QWidget#areaDraw{background-color: rgb(255, 255, 255);background-repeat:none;background-image: url(:/eProsimaLogo.png);background-position:center;}");
this->setStyleSheet("QWidget#areaDraw{background-color: rgb(255, 255, 255);background-repeat:none;background-image: url(eProsimaLogo.png);background-position:center;}");
setVisible(true);
m_brush.setStyle(Qt::SolidPattern);

Expand Down Expand Up @@ -69,7 +69,7 @@ void DrawArea::addContentFilter(ShapeSubscriber *ssub)
void DrawArea::timerEvent(QTimerEvent* e)
{
Q_UNUSED(e);
this->setStyleSheet("QWidget#areaDraw{background-color: rgb(255, 255, 255);background-repeat:none;background-image: url(:/eProsimaLogo.png);background-position:center;}");
this->setStyleSheet("QWidget#areaDraw{background-color: rgb(255, 255, 255);background-repeat:none;background-image: url(eProsimaLogo.png);background-position:center;}");
repaint();
}

Expand Down

0 comments on commit 82d6492

Please sign in to comment.