Skip to content

Commit

Permalink
updated resource references
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanwong committed Sep 28, 2017
1 parent 920561b commit a8f4ebc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ static const int BUTTON_WIDTH = 100;
static const int INT_FORM_WIDTH = 42;
static const int SIDEBAR_WIDTH = 220;
static const int LINK_HEIGHT = 30;
static const int LINK_ICON_DIMS = 60;
static const int LINK_ICON_DIMS = 70;
static const int SIDEBAR_LOGO_DIMS = 280;
static const int PETRI_MIN = 1;
static const int PETRI_MAX = 8;
Expand Down
2 changes: 1 addition & 1 deletion gcg-gui.pro
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ QT += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = gcg-gui
TARGET = "G-Code Generator"
TEMPLATE = app

# The following define makes your compiler emit warnings if you use
Expand Down
6 changes: 3 additions & 3 deletions gcg-gui.pro.user
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 4.4.0, 2017-09-25T15:31:19. -->
<!-- Written by QtCreator 4.4.0, 2017-09-27T22:31:13. -->
<qtcreator>
<data>
<variable>EnvironmentId</variable>
Expand Down Expand Up @@ -62,7 +62,7 @@
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop Qt 5.9.1 clang 64bit</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop Qt 5.9.1 clang 64bit</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.591.clang_64_kit</value>
<value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">1</value>
<value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
<value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
<value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
Expand Down Expand Up @@ -310,7 +310,7 @@
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">gcg-gui.pro</value>
<value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory.default">/Users/brendanwong/Documents/Qt projects/build-gcg-gui-Desktop_Qt_5_9_1_clang_64bit-Release/gcg-gui.app/Contents/MacOS</value>
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory.default">/Users/brendanwong/Documents/Qt projects/build-gcg-gui-Desktop_Qt_5_9_1_clang_64bit-Debug/G-Code Generator.app/Contents/MacOS</value>
<value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
<value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
<value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
Expand Down
2 changes: 1 addition & 1 deletion wizard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ void Wizard::buildSideBar(QHBoxLayout *mainLayout)
//main logo instantiation + properties
QLabel *logo = new QLabel;
logo->setText("SE3D Logo");
QPixmap image(":/Resources/se3d-circle-logo.svg");
QPixmap image("://Resources/se3d-circle-logo.svg");
image.setDevicePixelRatio(devicePixelRatio());
logo->setPixmap(image.scaled(SIDEBAR_LOGO_DIMS, SIDEBAR_LOGO_DIMS,
Qt::KeepAspectRatio, Qt::SmoothTransformation));
Expand Down

0 comments on commit a8f4ebc

Please sign in to comment.