GUI: Improve About-dialog layout.

Add vertical spacer above texts to that icon box becomes narrow and text box wide.
This commit is contained in:
Kimmo Varis 2009-07-12 14:22:56 +03:00
parent 17a27bd5e6
commit dfdbf85730
6 changed files with 190 additions and 177 deletions

View File

@ -45,6 +45,19 @@
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<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>
<widget class="QLabel" name="mVersion">
<property name="text">

View File

@ -9,28 +9,28 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="about.ui" line="51"/>
<location filename="about.ui" line="64"/>
<source>Version %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="about.ui" line="58"/>
<location filename="about.ui" line="71"/>
<source>Cppcheck - A tool for static C/C++ code analysis.</source>
<translation type="unfinished"></translation>
</message>
<message utf8="true">
<location filename="about.ui" line="65"/>
<location filename="about.ui" line="81"/>
<source>Copyright (C) 2007-2009 Daniel Marjamäki and cppcheck team.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="about.ui" line="72"/>
<location filename="about.ui" line="91"/>
<source>This program is licensed under the terms
of the GNU General Public License version 3</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="about.ui" line="83"/>
<location filename="about.ui" line="102"/>
<source>Visit Cppcheck homepage at %1</source>
<translation type="unfinished"></translation>
</message>

View File

@ -9,29 +9,29 @@
<translation>About Cppcheck</translation>
</message>
<message>
<location filename="about.ui" line="51"/>
<location filename="about.ui" line="64"/>
<source>Version %1</source>
<translation>Version %1</translation>
</message>
<message>
<location filename="about.ui" line="58"/>
<location filename="about.ui" line="71"/>
<source>Cppcheck - A tool for static C/C++ code analysis.</source>
<translation>Cppcheck - A tool for static C/C++ code analysis.</translation>
</message>
<message utf8="true">
<location filename="about.ui" line="65"/>
<location filename="about.ui" line="81"/>
<source>Copyright (C) 2007-2009 Daniel Marjamäki and cppcheck team.</source>
<translation>Copyright (C) 2007-2009 Daniel Marjamäki and cppcheck team.</translation>
</message>
<message>
<location filename="about.ui" line="72"/>
<location filename="about.ui" line="91"/>
<source>This program is licensed under the terms
of the GNU General Public License version 3</source>
<translation>This program is licensed under the terms
of the GNU General Public License version 3</translation>
</message>
<message>
<location filename="about.ui" line="83"/>
<location filename="about.ui" line="102"/>
<source>Visit Cppcheck homepage at %1</source>
<translation>Visit Cppcheck homepage at %1</translation>
</message>

View File

@ -9,29 +9,29 @@
<translation>Tietoa ohjelmasta Cppcheck</translation>
</message>
<message>
<location filename="about.ui" line="51"/>
<location filename="about.ui" line="64"/>
<source>Version %1</source>
<translation>Versio %1</translation>
</message>
<message>
<location filename="about.ui" line="58"/>
<location filename="about.ui" line="71"/>
<source>Cppcheck - A tool for static C/C++ code analysis.</source>
<translation>Cppcheck - Työkalu C/C++ koodin staattiseen analysointiin.</translation>
</message>
<message utf8="true">
<location filename="about.ui" line="65"/>
<location filename="about.ui" line="81"/>
<source>Copyright (C) 2007-2009 Daniel Marjamäki and cppcheck team.</source>
<translation>Copyright (C) 2007-2009 Daniel Marjamäki ja cppcheck tiimi.</translation>
</message>
<message>
<location filename="about.ui" line="72"/>
<location filename="about.ui" line="91"/>
<source>This program is licensed under the terms
of the GNU General Public License version 3</source>
<translation>Tämä ohjelma on lisensoitu GNU General
Public lisenssin version 3 alaisuuteen</translation>
</message>
<message>
<location filename="about.ui" line="83"/>
<location filename="about.ui" line="102"/>
<source>Visit Cppcheck homepage at %1</source>
<translation>Cppcheckin kotisivu löytyy osoitteesta %1</translation>
</message>

View File

@ -9,28 +9,28 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="about.ui" line="51"/>
<location filename="about.ui" line="64"/>
<source>Version %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="about.ui" line="58"/>
<location filename="about.ui" line="71"/>
<source>Cppcheck - A tool for static C/C++ code analysis.</source>
<translation type="unfinished"></translation>
</message>
<message utf8="true">
<location filename="about.ui" line="65"/>
<location filename="about.ui" line="81"/>
<source>Copyright (C) 2007-2009 Daniel Marjamäki and cppcheck team.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="about.ui" line="72"/>
<location filename="about.ui" line="91"/>
<source>This program is licensed under the terms
of the GNU General Public License version 3</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="about.ui" line="83"/>
<location filename="about.ui" line="102"/>
<source>Visit Cppcheck homepage at %1</source>
<translation type="unfinished"></translation>
</message>

View File

@ -9,29 +9,29 @@
<translation>Om Cppcheck</translation>
</message>
<message>
<location filename="about.ui" line="51"/>
<location filename="about.ui" line="64"/>
<source>Version %1</source>
<translation>Version %1</translation>
</message>
<message>
<location filename="about.ui" line="58"/>
<location filename="about.ui" line="71"/>
<source>Cppcheck - A tool for static C/C++ code analysis.</source>
<translation>Cppcheck - Ett verktyg för statisk analys av C/C++ kod.</translation>
</message>
<message utf8="true">
<location filename="about.ui" line="65"/>
<location filename="about.ui" line="81"/>
<source>Copyright (C) 2007-2009 Daniel Marjamäki and cppcheck team.</source>
<translation>Copyright (C) 2007-2009 Daniel Marjamäki and cppcheck team.</translation>
</message>
<message>
<location filename="about.ui" line="72"/>
<location filename="about.ui" line="91"/>
<source>This program is licensed under the terms
of the GNU General Public License version 3</source>
<translation>This program is licensed under the terms
of the GNU General Public License version 3</translation>
</message>
<message>
<location filename="about.ui" line="83"/>
<location filename="about.ui" line="102"/>
<source>Visit Cppcheck homepage at %1</source>
<translation>Hemsida: %1</translation>
</message>