diff --git a/src/viewpages/whatsnew_0_8/WhatsNewWidget_0_8.ui b/src/viewpages/whatsnew_0_8/WhatsNewWidget_0_8.ui index 0af75621c..3bb182594 100644 --- a/src/viewpages/whatsnew_0_8/WhatsNewWidget_0_8.ui +++ b/src/viewpages/whatsnew_0_8/WhatsNewWidget_0_8.ui @@ -74,7 +74,7 @@ - 16 + 8 0 @@ -567,6 +567,138 @@ color: grey; + + + + + 64 + 79 + + + + border-width: 2px; +border-style: solid; +border-radius: 4px; +border-color: grey; +color: grey; + + + + 8 + + + 8 + + + + + + 75 + true + + + + border: none; + + + Hatchet + + + Qt::AlignCenter + + + + + + + + 64 + 64 + + + + + 64 + 64 + + + + border: none; + + + + + + + + + + + + + + 64 + 79 + + + + border-width: 2px; +border-style: solid; +border-radius: 4px; +border-color: grey; +color: grey; + + + + 8 + + + 8 + + + + + + 75 + true + + + + border: none; + + + Android + + + Qt::AlignCenter + + + + + + + + 64 + 64 + + + + + 64 + 64 + + + + border: none; + + + + + + + + + @@ -583,7 +715,7 @@ color: grey; - 720 + 820 0 @@ -604,7 +736,7 @@ background-color:#292f34; - 0 + 8 @@ -806,7 +938,7 @@ background-color:#292f34; - Google Music is another of our latest supported services - both for your music you've uploaded to the Google Music "locker" as well as their full streaming catalog for your Google Play Music All Access subscribers. + Google Music is another of our latest supported services - both for your music you've uploaded to the Google Music "locker" as well as their full streaming catalog for your Google Play Music All Access subscribers. false @@ -921,6 +1053,96 @@ background-color:#292f34; + + + border: none; + + + + 0 + + + 0 + + + + + + 0 + 0 + + + + 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. + + + false + + + true + + + + + + + + 0 + 0 + + + + Display an Image here + + + + + + + + border: none; + + + + 0 + + + 0 + + + + + + 0 + 0 + + + + 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. + + + false + + + true + + + + + + + + 0 + 0 + + + + Display an Image here + + + + + diff --git a/src/viewpages/whatsnew_0_8/WhatsNew_0_8.cpp b/src/viewpages/whatsnew_0_8/WhatsNew_0_8.cpp index c2951b6e0..46e960708 100644 --- a/src/viewpages/whatsnew_0_8/WhatsNew_0_8.cpp +++ b/src/viewpages/whatsnew_0_8/WhatsNew_0_8.cpp @@ -152,6 +152,23 @@ WhatsNewWidget_0_8::WhatsNewWidget_0_8( QWidget* parent ) connect( ui->designBoxHeader, 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 ) ); + ui->androidBoxImage->setPixmap( androidPixmap ); + + connect( ui->androidBoxHeader, SIGNAL( clicked() ), SLOT( androidBoxClicked() ) ); + connect( ui->androidBoxImage, SIGNAL( clicked() ), SLOT( androidBoxClicked() ) ); + } } @@ -247,6 +264,20 @@ WhatsNewWidget_0_8::designBoxClicked() } +void +WhatsNewWidget_0_8::hatchetBoxClicked() +{ + activateBox( ui->hatchetBox, 7 ); +} + + +void +WhatsNewWidget_0_8::androidBoxClicked() +{ + activateBox( ui->androidBox, 8 ); +} + + void WhatsNewWidget_0_8::activateBox( QWidget* widget, int activeIndex ) { @@ -277,6 +308,8 @@ WhatsNewWidget_0_8::deactivateAllBoxes() deactivateBox( ui->gmusicBox ); deactivateBox( ui->networkingBox ); deactivateBox( ui->designBox ); + deactivateBox( ui->hatchetBox ); + deactivateBox( ui->androidBox ); } diff --git a/src/viewpages/whatsnew_0_8/WhatsNew_0_8.h b/src/viewpages/whatsnew_0_8/WhatsNew_0_8.h index f12d40e18..cbd5b556f 100644 --- a/src/viewpages/whatsnew_0_8/WhatsNew_0_8.h +++ b/src/viewpages/whatsnew_0_8/WhatsNew_0_8.h @@ -62,6 +62,8 @@ private slots: void gmusicBoxClicked(); void networkingBoxClicked(); void designBoxClicked(); + void hatchetBoxClicked(); + void androidBoxClicked(); private: void activateBox( QWidget* widget, int activeIndex );