Skip to content
Snippets Groups Projects
Commit 82fa360a authored by Nick Draper's avatar Nick Draper
Browse files

closes #1181

Update splash screen & Mantid about box
parent cbde0bb6
No related branches found
No related tags found
No related merge requests found
rem @echo off
@echo off
setlocal
SETLOCAL
if "%1" == "" set ARCH=x86
if "%1" == "" SET ARCH=x86
if /i %1 == x86 SET ARCH=x86 && SET QMAKE_ARGS=""
if /i %1 == amd64 SET ARCH=amd64 && SET QMAKE_ARGS="CONFIG+=build64"
if /i "%1" == "x86" SET ARCH=x86 && SET QMAKE_ARGS=""
if /i "%1" == "amd64" SET ARCH=amd64 && SET QMAKE_ARGS="CONFIG+=build64"
if /i not %1 == x86 (
if /i not %1 == amd64 (
if /i not %ARCH% == x86 (
if /i not %ARCH% == amd64 (
goto usage
)
)
......@@ -53,3 +53,6 @@ EXIT 1
:qtiploterr
echo "MantidPlot build failed."
EXIT 1
:usage
echo "Use either build x86 or build amd64"
......@@ -43,17 +43,6 @@ MantidAbout::MantidAbout(QWidget *parent) : MantidQt::API::MantidQtDialog(parent
url->setOpenExternalLinks(true);
QPixmap mantidLogoPixmap(":/Mantid Logo.png");
QLabel* mantidlogo=m_uiForm.mantidplotlogo;
mantidlogo->setPixmap(mantidLogoPixmap);
QPixmap isisLogoPixmap(":/ISIS Logo.gif");
QLabel *isislogo=m_uiForm.isislogo;
isislogo->setPixmap(isisLogoPixmap);
QPixmap snsLogoPixmap(":/SNS Logo.gif");
QLabel *snslogo=m_uiForm.snslogo;
snslogo->setPixmap(snsLogoPixmap);
}
......@@ -5,8 +5,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>466</width>
<height>432</height>
<width>380</width>
<height>477</height>
</rect>
</property>
<property name="font" >
......@@ -19,156 +19,424 @@
<string>MantidPlot-About</string>
</property>
<layout class="QGridLayout" name="gridLayout" >
<item row="0" column="0" colspan="2" >
<widget class="QLabel" name="mantidplotlogo" >
<property name="text" >
<string>TextLabel</string>
</property>
<property name="alignment" >
<set>Qt::AlignCenter</set>
</property>
<property name="wordWrap" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2" >
<layout class="QFormLayout" name="formLayout" >
<property name="fieldGrowthPolicy" >
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
</property>
<item row="0" column="0" >
<widget class="QLabel" name="mantidPlot_label" >
<property name="font" >
<font>
<pointsize>11</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
<property name="topMargin" >
<number>2</number>
</property>
<property name="bottomMargin" >
<number>2</number>
</property>
<item row="0" column="0" >
<layout class="QGridLayout" name="gridLayout_3" >
<item row="1" column="0" >
<spacer name="horizontalSpacer_2" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="text" >
<string>MantidPlot</string>
<property name="sizeHint" stdset="0" >
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</widget>
</spacer>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="release_datelabel" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
<item row="1" column="2" >
<spacer name="horizontalSpacer_4" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="text" >
<string>Release Date:</string>
<property name="sizeHint" stdset="0" >
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</widget>
</spacer>
</item>
<item row="1" column="1" >
<widget class="QLabel" name="release_datevalue" >
<property name="text" >
<string>TextLabel</string>
<widget class="QLabel" name="mantidPlotLogo" >
<property name="minimumSize" >
<size>
<width>223</width>
<height>100</height>
</size>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="release_versionlabel" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
<property name="maximumSize" >
<size>
<width>184</width>
<height>100</height>
</size>
</property>
<property name="text" >
<string>Version:</string>
<string/>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="QLabel" name="release_versionvalue" >
<property name="text" >
<string>TextLabel</string>
<property name="pixmap" >
<pixmap resource="../../../../../Images/images.qrc" >:/Mantid Logo Transparent Cropped.png</pixmap>
</property>
</widget>
</item>
<item row="3" column="0" >
<widget class="QLabel" name="builitusing_label" >
<property name="text" >
<string>Built using</string>
</property>
</widget>
</item>
<item row="4" column="0" >
<widget class="QLabel" name="builtusing_labelvalue" >
<property name="font" >
<font>
<pointsize>10</pointsize>
</font>
</property>
<property name="text" >
<string>TextLabel</string>
</property>
</widget>
</item>
<item row="5" column="0" >
<widget class="QLabel" name="mantidlabel" >
<property name="text" >
<string>Mantid</string>
</property>
</widget>
</item>
<item row="6" column="0" >
<widget class="QLabel" name="mantidurl" >
<property name="text" >
<string>TextLabel</string>
<property name="scaledContents" >
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="isislogo" >
<property name="text" >
<string>TextLabel</string>
</property>
<property name="alignment" >
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
<item row="4" column="0" >
<widget class="QDialogButtonBox" name="buttonBox" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="wordWrap" >
<bool>true</bool>
<property name="standardButtons" >
<set>QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="QLabel" name="snslogo" >
<property name="text" >
<string>TextLabel</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="wordWrap" >
<bool>true</bool>
<item row="1" column="0" >
<widget class="QGroupBox" name="groupBox" >
<property name="title" >
<string>Mantid Framework</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout" >
<property name="margin" >
<number>2</number>
</property>
<item>
<layout class="QFormLayout" name="gridLayout_5" >
<property name="fieldGrowthPolicy" >
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
</property>
<item row="1" column="0" >
<widget class="QLabel" name="release_datelabel" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Release Date:</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QLabel" name="release_datevalue" >
<property name="text" >
<string>TextLabel</string>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="release_versionlabel" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Version:</string>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="QLabel" name="release_versionvalue" >
<property name="text" >
<string>TextLabel</string>
</property>
</widget>
</item>
<item row="3" column="0" >
<widget class="QLabel" name="mantidlabel" >
<property name="text" >
<string>Homepage</string>
</property>
</widget>
</item>
<item row="3" column="1" >
<widget class="QLabel" name="mantidurl" >
<property name="text" >
<string>TextLabel</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item row="3" column="0" colspan="2" >
<widget class="QDialogButtonBox" name="buttonBox" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
<item row="2" column="0" >
<widget class="QGroupBox" name="groupBox_2" >
<property name="title" >
<string>MantidPlot</string>
</property>
<property name="standardButtons" >
<set>QDialogButtonBox::Ok</set>
<layout class="QVBoxLayout" name="verticalLayout_2" >
<property name="margin" >
<number>2</number>
</property>
<item>
<layout class="QFormLayout" name="gridLayout_4" >
<property name="fieldGrowthPolicy" >
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
</property>
<item row="1" column="0" >
<widget class="QLabel" name="builitusing_label" >
<property name="text" >
<string>Extended from</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QLabel" name="builtusing_labelvalue" >
<property name="font" >
<font>
<pointsize>8</pointsize>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text" >
<string>TextLabel</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item row="3" column="0" >
<widget class="QGroupBox" name="groupBox_3" >
<property name="title" >
<string>Contributors</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3" >
<property name="margin" >
<number>2</number>
</property>
<item>
<layout class="QGridLayout" name="gridLayout_2" >
<item row="0" column="1" >
<widget class="QLabel" name="label" >
<property name="minimumSize" >
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>1000</width>
<height>1000</height>
</size>
</property>
<property name="text" >
<string/>
</property>
<property name="pixmap" >
<pixmap>:/Logos/Images/ISIS Logo.gif</pixmap>
</property>
<property name="scaledContents" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="3" >
<widget class="QLabel" name="tessellaLogo" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Maximum" hsizetype="Preferred" >
<horstretch>0</horstretch>
<verstretch>100</verstretch>
</sizepolicy>
</property>
<property name="maximumSize" >
<size>
<width>187</width>
<height>75</height>
</size>
</property>
<property name="text" >
<string/>
</property>
<property name="pixmap" >
<pixmap resource="../../../../../Images/images.qrc" >:/Tessella_Logo - Transparent.gif</pixmap>
</property>
<property name="scaledContents" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="2" >
<spacer name="horizontalSpacer" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="1" >
<widget class="QLabel" name="isislogo" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
<horstretch>0</horstretch>
<verstretch>100</verstretch>
</sizepolicy>
</property>
<property name="minimumSize" >
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>169</width>
<height>75</height>
</size>
</property>
<property name="text" >
<string/>
</property>
<property name="pixmap" >
<pixmap resource="../../../../../Images/images.qrc" >:/ISIS Logo - Transparent.gif</pixmap>
</property>
<property name="scaledContents" >
<bool>true</bool>
</property>
<property name="alignment" >
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="wordWrap" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="QLabel" name="snsLogo" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize" >
<size>
<width>110</width>
<height>75</height>
</size>
</property>
<property name="text" >
<string/>
</property>
<property name="pixmap" >
<pixmap resource="../../../../../Images/images.qrc" >:/SNS_logo_trans_back.gif</pixmap>
</property>
<property name="scaledContents" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="2" >
<spacer name="horizontalSpacer_3" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="0" >
<spacer name="horizontalSpacer_5" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="4" >
<spacer name="horizontalSpacer_6" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="0" >
<spacer name="horizontalSpacer_7" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="4" >
<spacer name="horizontalSpacer_8" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="3" >
<widget class="QLabel" name="hfirLogo" >
<property name="maximumSize" >
<size>
<width>169</width>
<height>75</height>
</size>
</property>
<property name="text" >
<string/>
</property>
<property name="pixmap" >
<pixmap resource="../../../../../Images/images.qrc" >:/HFIR_logo_small.png</pixmap>
</property>
<property name="scaledContents" >
<bool>true</bool>
</property>
<property name="alignment" >
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
</layout>
<zorder>mantidplotlogo</zorder>
<zorder>isislogo</zorder>
<zorder>snslogo</zorder>
<zorder>buttonBox</zorder>
</widget>
<resources/>
<resources>
<include location="../../../../../Images/images.qrc" />
<include location="../../../../../Images/images.qrc" />
</resources>
<connections>
<connection>
<sender>buttonBox</sender>
......
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