mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 13:47:26 +02:00
[whatsnew] Remove hatchet page
This commit is contained in:
@@ -573,72 +573,6 @@ color: grey;</string>
|
|||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</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">
|
<item alignment="Qt::AlignTop">
|
||||||
<widget class="QWidget" name="androidBox" native="true">
|
<widget class="QWidget" name="androidBox" native="true">
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
@@ -742,7 +676,7 @@ background-color:#292f34;
|
|||||||
</string>
|
</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="currentIndex">
|
<property name="currentIndex">
|
||||||
<number>2</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="inboxPage">
|
<widget class="QWidget" name="inboxPage">
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
@@ -1218,38 +1152,6 @@ border-color: #ccc;
|
|||||||
<property name="margin">
|
<property name="margin">
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</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>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QWidget" name="androidPage">
|
<widget class="QWidget" name="androidPage">
|
||||||
|
@@ -149,15 +149,6 @@ WhatsNewWidget_0_8::WhatsNewWidget_0_8( QWidget* parent )
|
|||||||
connect( ui->designBoxImage, SIGNAL( clicked() ), SLOT( designBoxClicked() ) );
|
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 ) );
|
QPixmap androidPixmap = ImageRegistry::instance()->pixmap( RESPATH "images/new-additions.svg", QSize( 64, 64 ) );
|
||||||
ui->androidBoxImage->setPixmap( androidPixmap );
|
ui->androidBoxImage->setPixmap( androidPixmap );
|
||||||
@@ -277,13 +268,6 @@ WhatsNewWidget_0_8::designBoxClicked()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
|
||||||
WhatsNewWidget_0_8::hatchetBoxClicked()
|
|
||||||
{
|
|
||||||
activateBox( ui->hatchetBox, 7 );
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
WhatsNewWidget_0_8::androidBoxClicked()
|
WhatsNewWidget_0_8::androidBoxClicked()
|
||||||
{
|
{
|
||||||
@@ -321,7 +305,6 @@ WhatsNewWidget_0_8::deactivateAllBoxes()
|
|||||||
deactivateBox( ui->gmusicBox );
|
deactivateBox( ui->gmusicBox );
|
||||||
deactivateBox( ui->networkingBox );
|
deactivateBox( ui->networkingBox );
|
||||||
deactivateBox( ui->designBox );
|
deactivateBox( ui->designBox );
|
||||||
deactivateBox( ui->hatchetBox );
|
|
||||||
deactivateBox( ui->androidBox );
|
deactivateBox( ui->androidBox );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -62,7 +62,6 @@ private slots:
|
|||||||
void gmusicBoxClicked();
|
void gmusicBoxClicked();
|
||||||
void networkingBoxClicked();
|
void networkingBoxClicked();
|
||||||
void designBoxClicked();
|
void designBoxClicked();
|
||||||
void hatchetBoxClicked();
|
|
||||||
void androidBoxClicked();
|
void androidBoxClicked();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Reference in New Issue
Block a user