added logo, license info, and website url to about screen.

This commit is contained in:
Nick Bolton 2012-07-28 21:07:33 +00:00
parent dbfb00b21c
commit f5d66ae6fd
3 changed files with 75 additions and 48 deletions

View File

@ -13,7 +13,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>450</width> <width>450</width>
<height>200</height> <height>270</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy">
@ -25,13 +25,13 @@
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>450</width> <width>450</width>
<height>200</height> <height>270</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>502</width> <width>450</width>
<height>200</height> <height>270</height>
</size> </size>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -41,26 +41,7 @@
<bool>true</bool> <bool>true</bool>
</property> </property>
<layout class="QGridLayout"> <layout class="QGridLayout">
<item row="0" column="0" colspan="2"> <item row="2" column="1" colspan="2">
<widget class="QLabel" name="label_2">
<property name="text">
<string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:16px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:x-large; font-weight:600;&quot;&gt;&lt;span style=&quot; font-size:x-large;&quot;&gt;Synergy&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
<property name="openExternalLinks">
<bool>true</bool>
</property>
<property name="textInteractionFlags">
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2">
<widget class="QLabel" name="label_3"> <widget class="QLabel" name="label_3">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
@ -70,35 +51,65 @@ p, li { white-space: pre-wrap; }
</property> </property>
<property name="text"> <property name="text">
<string>&lt;p&gt; <string>&lt;p&gt;
Keyboard and mouse sharing sharing application.&lt;br /&gt;&lt;br /&gt; Keyboard and mouse sharing application. Cross platform and open source.&lt;br /&gt;&lt;br /&gt;
Copyright © 2001-2012 Chris Schoeneman, Nick Bolton, Volker Lanz, Sorin Sbarnea.&lt;br /&gt;&lt;br /&gt; Copyright © 2001-2012 Chris Schoeneman, Nick Bolton, Volker Lanz, Sorin Sbarnea.&lt;br /&gt;&lt;br /&gt;
Synergy is released under the GNU General Public License (GPLv2).&lt;br /&gt;&lt;br /&gt;
Synergy is based on CosmoSynergy by Richard Lee and Adam Feder.&lt;br /&gt; Synergy is based on CosmoSynergy by Richard Lee and Adam Feder.&lt;br /&gt;
The Synergy GUI is based on QSynergy by Volker Lanz. The Synergy GUI is based on QSynergy by Volker Lanz.&lt;br /&gt;&lt;br /&gt;
Visit our website for help and info: &lt;a href=&quot;http://synergy-foss.org&quot;&gt;synergy-foss.org&lt;/a&gt;
&lt;/p&gt;</string> &lt;/p&gt;</string>
</property> </property>
<property name="margin">
<number>1</number>
</property>
</widget> </widget>
</item> </item>
<item row="8" column="0"> <item row="3" column="1" colspan="2">
<spacer> <spacer>
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Preferred</enum>
</property> </property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>131</width> <width>20</width>
<height>20</height> <height>100</height>
</size> </size>
</property> </property>
</spacer> </spacer>
</item> </item>
<item row="8" column="1"> <item row="0" column="1">
<widget class="QPushButton" name="buttonOk"> <widget class="QLabel" name="label_2">
<property name="text"> <property name="text">
<string>&amp;Ok</string> <string/>
</property>
<property name="pixmap">
<pixmap resource="Synergy.qrc">:/res/image/about.png</pixmap>
</property>
<property name="margin">
<number>0</number>
</property> </property>
</widget> </widget>
</item> </item>
<item row="4" column="0" colspan="2"> <item row="1" column="1" colspan="2">
<spacer name="spacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>5</height>
</size>
</property>
</spacer>
</item>
<item row="5" column="1" colspan="2">
<layout class="QHBoxLayout" name="horizontalLayout"> <layout class="QHBoxLayout" name="horizontalLayout">
<item> <item>
<widget class="QLabel" name="label"> <widget class="QLabel" name="label">
@ -111,6 +122,9 @@ The Synergy GUI is based on QSynergy by Volker Lanz.
<property name="text"> <property name="text">
<string>Version:</string> <string>Version:</string>
</property> </property>
<property name="margin">
<number>1</number>
</property>
</widget> </widget>
</item> </item>
<item> <item>
@ -124,26 +138,38 @@ The Synergy GUI is based on QSynergy by Volker Lanz.
<property name="text"> <property name="text">
<string>Unknown</string> <string>Unknown</string>
</property> </property>
<property name="margin">
<number>1</number>
</property>
</widget> </widget>
</item> </item>
</layout> <item>
</item> <spacer name="horizontalSpacer">
<item row="2" column="1">
<spacer>
<property name="orientation"> <property name="orientation">
<enum>Qt::Vertical</enum> <enum>Qt::Horizontal</enum>
</property> </property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>20</width> <width>40</width>
<height>78</height> <height>20</height>
</size> </size>
</property> </property>
</spacer> </spacer>
</item> </item>
<item>
<widget class="QPushButton" name="buttonOk">
<property name="text">
<string>&amp;Ok</string>
</property>
</widget>
</item>
</layout>
</item>
</layout> </layout>
</widget> </widget>
<resources/> <resources>
<include location="Synergy.qrc"/>
</resources>
<connections> <connections>
<connection> <connection>
<sender>buttonOk</sender> <sender>buttonOk</sender>

View File

@ -6,5 +6,6 @@
<file>icons/64x64/user-trash.png</file> <file>icons/64x64/user-trash.png</file>
<file>icons/16x16/warning.png</file> <file>icons/16x16/warning.png</file>
<file>icons/256x256/synergy.ico</file> <file>icons/256x256/synergy.ico</file>
<file>image/about.png</file>
</qresource> </qresource>
</RCC> </RCC>

BIN
src/gui/res/image/about.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB