1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-01 11:50:37 +02:00

Use meaningful widget names

This commit is contained in:
Uwe L. Korn
2014-06-13 17:36:57 +01:00
parent f236d65b86
commit 145ffd9cdf
2 changed files with 8 additions and 6 deletions

View File

@@ -41,7 +41,7 @@
<item> <item>
<layout class="QVBoxLayout" name="verticalLayout_2"> <layout class="QVBoxLayout" name="verticalLayout_2">
<item alignment="Qt::AlignLeft|Qt::AlignTop"> <item alignment="Qt::AlignLeft|Qt::AlignTop">
<widget class="QWidget" name="widget_2" native="true"> <widget class="QWidget" name="featureBoxes" native="true">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>0</width> <width>0</width>
@@ -62,7 +62,7 @@
<number>0</number> <number>0</number>
</property> </property>
<item alignment="Qt::AlignLeft"> <item alignment="Qt::AlignLeft">
<widget class="QWidget" name="widget_3" native="true"> <widget class="QWidget" name="inboxBox" native="true">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>64</width> <width>64</width>
@@ -83,7 +83,7 @@
<number>0</number> <number>0</number>
</property> </property>
<item alignment="Qt::AlignTop"> <item alignment="Qt::AlignTop">
<widget class="QLabel" name="label"> <widget class="QLabel" name="inboxBoxHeader">
<property name="text"> <property name="text">
<string>Inbox</string> <string>Inbox</string>
</property> </property>
@@ -93,7 +93,7 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QLabel" name="label_2"> <widget class="QLabel" name="inboxBoxImage">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>64</width> <width>64</width>

View File

@@ -86,8 +86,10 @@ WhatsNewWidget_0_8::WhatsNewWidget_0_8( QWidget* parent )
ui->widget->setAutoFillBackground( true ); ui->widget->setAutoFillBackground( true );
} }
{
QPixmap inboxPixmap = ImageRegistry::instance()->pixmap( RESPATH "images/inbox.svg", QSize( 64, 64 ) ); QPixmap inboxPixmap = ImageRegistry::instance()->pixmap( RESPATH "images/inbox.svg", QSize( 64, 64 ) );
ui->label_2->setPixmap( inboxPixmap ); ui->inboxBoxImage->setPixmap( inboxPixmap );
}
} }