1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-18 23:09:42 +01:00

[whatsnew] Remove hatchet page

This commit is contained in:
Uwe L. Korn 2014-07-10 17:17:53 +01:00
parent 48b25d8053
commit d89ae2ae8a
3 changed files with 1 additions and 117 deletions

View File

@ -573,72 +573,6 @@ color: grey;</string>
</layout>
</widget>
</item>
<item alignment="Qt::AlignTop">
<widget class="QWidget" name="hatchetBox" native="true">
<property name="minimumSize">
<size>
<width>64</width>
<height>79</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">border-width: 2px;
border-style: solid;
border-radius: 4px;
border-color: grey;
color: grey;</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_471">
<property name="spacing">
<number>8</number>
</property>
<property name="margin">
<number>8</number>
</property>
<item alignment="Qt::AlignTop">
<widget class="ClickableLabel" name="hatchetBoxHeader">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">border: none;</string>
</property>
<property name="text">
<string>Hatchet</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="ClickableLabel" name="hatchetBoxImage">
<property name="minimumSize">
<size>
<width>64</width>
<height>64</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>64</width>
<height>64</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">border: none;</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item alignment="Qt::AlignTop">
<widget class="QWidget" name="androidBox" native="true">
<property name="minimumSize">
@ -742,7 +676,7 @@ background-color:#292f34;
</string>
</property>
<property name="currentIndex">
<number>2</number>
<number>0</number>
</property>
<widget class="QWidget" name="inboxPage">
<property name="styleSheet">
@ -1218,38 +1152,6 @@ border-color: #ccc;
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="label_15">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Maximum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Lots of new views - artist pages, album pages, song pages and more. A new Loved Widget shows what friends have loved tracks throughout the app. Some cleaner fonts, some new colors. Retina display support and more.</string>
</property>
<property name="scaledContents">
<bool>false</bool>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_16">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Display an Image here</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="androidPage">

View File

@ -149,15 +149,6 @@ WhatsNewWidget_0_8::WhatsNewWidget_0_8( QWidget* parent )
connect( ui->designBoxImage, SIGNAL( clicked() ), SLOT( designBoxClicked() ) );
}
{
// TODO: hatchet icon is not really part of the correct resources yet.
QPixmap hatchetPixmap = ImageRegistry::instance()->pixmap( RESPATH "images/new-additions.svg", QSize( 64, 64 ) );
ui->hatchetBoxImage->setPixmap( hatchetPixmap );
connect( ui->hatchetBoxHeader, SIGNAL( clicked() ), SLOT( hatchetBoxClicked() ) );
connect( ui->hatchetBoxImage, SIGNAL( clicked() ), SLOT( hatchetBoxClicked() ) );
}
{
QPixmap androidPixmap = ImageRegistry::instance()->pixmap( RESPATH "images/new-additions.svg", QSize( 64, 64 ) );
ui->androidBoxImage->setPixmap( androidPixmap );
@ -277,13 +268,6 @@ WhatsNewWidget_0_8::designBoxClicked()
}
void
WhatsNewWidget_0_8::hatchetBoxClicked()
{
activateBox( ui->hatchetBox, 7 );
}
void
WhatsNewWidget_0_8::androidBoxClicked()
{
@ -321,7 +305,6 @@ WhatsNewWidget_0_8::deactivateAllBoxes()
deactivateBox( ui->gmusicBox );
deactivateBox( ui->networkingBox );
deactivateBox( ui->designBox );
deactivateBox( ui->hatchetBox );
deactivateBox( ui->androidBox );
}

View File

@ -62,7 +62,6 @@ private slots:
void gmusicBoxClicked();
void networkingBoxClicked();
void designBoxClicked();
void hatchetBoxClicked();
void androidBoxClicked();
private: