Add a Url label to exit full screen.
This commit is contained in:
committed by
craig.p.drummond
parent
d2463428f8
commit
24df623492
@@ -165,6 +165,7 @@
|
||||
103. Fix progress update when saving Jameno, etc, listing XML.
|
||||
104. Add option to hide corner cover.
|
||||
105. Add option to hide stop button.
|
||||
106. Add a Url label to exit full screen.
|
||||
|
||||
1.3.4
|
||||
-----
|
||||
|
||||
@@ -460,6 +460,8 @@ MainWindow::MainWindow(QWidget *parent)
|
||||
consumePlayQueueAction->setCheckable(true);
|
||||
|
||||
songInfoButton->setDefaultAction(songInfoAction);
|
||||
fullScreenLabel->setVisible(false);
|
||||
connect(fullScreenLabel, SIGNAL(leftClickedUrl()), fullScreenAction, SIGNAL(triggered()));
|
||||
if (Configuration(playQueuePage->metaObject()->className()).get(ItemView::constSearchActiveKey, false)) {
|
||||
playQueueSearchWidget->activate();
|
||||
} else {
|
||||
@@ -2115,17 +2117,16 @@ void MainWindow::showSongInfo()
|
||||
void MainWindow::fullScreen()
|
||||
{
|
||||
if (expandInterfaceAction->isChecked()) {
|
||||
fullScreenLabel->setVisible(!isFullScreen());
|
||||
expandInterfaceAction->setEnabled(isFullScreen());
|
||||
if (isFullScreen()) {
|
||||
showNormal();
|
||||
expandInterfaceAction->setEnabled(true);
|
||||
} else {
|
||||
showFullScreen();
|
||||
expandInterfaceAction->setEnabled(false);
|
||||
}
|
||||
} else {
|
||||
fullScreenAction->setChecked(false);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void MainWindow::sidebarModeChanged()
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
<widget class="ToolButton" name="nextTrackButton"/>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="volumeSliderSpacer">
|
||||
<spacer name="coverWidgetSpacer">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
@@ -214,6 +214,13 @@
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="UrlLabel" name="fullScreenLabel">
|
||||
<property name="text">
|
||||
<string>Exit Full Screen</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="ScrobblingLove" name="loveTrack"/>
|
||||
</item>
|
||||
@@ -374,6 +381,11 @@
|
||||
<extends>QToolButton</extends>
|
||||
<header>scrobbling/scrobblinglove.h</header>
|
||||
</customwidget>
|
||||
<customwidget>
|
||||
<class>UrlLabel</class>
|
||||
<extends>QLabel</extends>
|
||||
<header>support/urllabel.h</header>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources/>
|
||||
<connections/>
|
||||
|
||||
Reference in New Issue
Block a user