Browse Source

Fix about dialog layout

adaptive-webui-19844
Christophe Dumez 14 years ago
parent
commit
e074872b24
  1. 1
      src/about_imp.h
  2. 25
      src/ui/about.ui

1
src/about_imp.h

@ -47,7 +47,6 @@ class about : public QDialog, private Ui::AboutDlg{ @@ -47,7 +47,6 @@ class about : public QDialog, private Ui::AboutDlg{
setAttribute(Qt::WA_DeleteOnClose);
// Set icons
logo->setPixmap(QPixmap(QString::fromUtf8(":/Icons/skin/qbittorrent22.png")));
mascot_lbl->setPixmap(QPixmap(QString::fromUtf8(":/Icons/skin/mascot.png")));
//Title
lb_name->setText(QString::fromUtf8("<b><h1>")+tr("qBittorrent")+QString::fromUtf8(" "VERSION"</h1></b>"));
// Thanks

25
src/ui/about.ui

@ -88,8 +88,18 @@ @@ -88,8 +88,18 @@
<attribute name="title">
<string>About</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<widget class="QLabel" name="mascot_lbl">
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap resource="../icons.qrc">:/Icons/skin/mascot.png</pixmap>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="lb_about">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
@ -123,13 +133,6 @@ p, li { white-space: pre-wrap; } @@ -123,13 +133,6 @@ p, li { white-space: pre-wrap; }
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="mascot_lbl">
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab3">
@ -297,6 +300,8 @@ p, li { white-space: pre-wrap; } @@ -297,6 +300,8 @@ p, li { white-space: pre-wrap; }
</layout>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources/>
<resources>
<include location="../icons.qrc"/>
</resources>
<connections/>
</ui>

Loading…
Cancel
Save