Add lines to settings

This commit is contained in:
Jonas Kvinge 2019-03-27 01:23:15 +01:00
parent fab598ebff
commit b380db51fa
11 changed files with 165 additions and 69 deletions

View File

@ -13,7 +13,7 @@
<property name="windowTitle">
<string>Appearance</string>
</property>
<layout class="QVBoxLayout" name="layout_apperance_settings_page">
<layout class="QVBoxLayout" name="layout_appearancesettingspage">
<item>
<widget class="QGroupBox" name="groupbox_colors">
<property name="title">
@ -85,6 +85,13 @@
</layout>
</widget>
</item>
<item>
<widget class="Line" name="line_1">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupbox_background_image">
<property name="title">
@ -353,6 +360,13 @@
</layout>
</widget>
</item>
<item>
<widget class="Line" name="line_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkbox_system_icons">
<property name="text">

View File

@ -13,7 +13,7 @@
<property name="windowTitle">
<string>Behavior</string>
</property>
<layout class="QVBoxLayout" name="layout_showtrayicon">
<layout class="QVBoxLayout" name="layout_behavioursettingspage">
<item>
<widget class="QCheckBox" name="checkbox_showtrayicon">
<property name="text">
@ -73,7 +73,7 @@
<property name="title">
<string>On startup</string>
</property>
<layout class="QVBoxLayout" name="layout_mainwindow">
<layout class="QVBoxLayout" name="layout_startup">
<item>
<widget class="QRadioButton" name="radiobutton_alwaysshow">
<property name="text">
@ -113,7 +113,7 @@
<property name="title">
<string>Language</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_13">
<layout class="QVBoxLayout" name="layout_language">
<item>
<widget class="QComboBox" name="combobox_language">
<item>
@ -141,11 +141,11 @@
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_1">
<widget class="QGroupBox" name="groupbox_add_song">
<property name="title">
<string>Using the menu to add a song will...</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_18">
<layout class="QVBoxLayout" name="layout_menuplaymode">
<item>
<widget class="QComboBox" name="combobox_menuplaymode">
<property name="currentIndex">
@ -176,7 +176,7 @@
<property name="title">
<string>Pressing &quot;Previous&quot; in player will...</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_19">
<layout class="QVBoxLayout" name="layout_previous">
<item>
<widget class="QComboBox" name="combobox_previousmode">
<property name="currentIndex">
@ -202,7 +202,7 @@
<property name="title">
<string>Double clicking a song will...</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_6">
<layout class="QHBoxLayout" name="layout_doubleclickaddmode">
<item>
<widget class="QComboBox" name="combobox_doubleclickaddmode">
<property name="currentIndex">
@ -260,7 +260,7 @@
<property name="title">
<string>Double clicking a song in the playlist will...</string>
</property>
<layout class="QVBoxLayout" name="layout_doubleclick_playlist">
<layout class="QVBoxLayout" name="layout_doubleclickplaylist">
<item>
<widget class="QComboBox" name="combobox_doubleclickplaylistaddmode">
<property name="currentIndex">
@ -321,7 +321,7 @@
</widget>
</item>
<item>
<spacer name="spacer_2">
<spacer name="spacer_seekstep">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
@ -337,7 +337,7 @@
</widget>
</item>
<item>
<spacer name="spacer_3">
<spacer name="spacer_bottom">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>

View File

@ -7,13 +7,13 @@
<x>0</x>
<y>0</y>
<width>509</width>
<height>695</height>
<height>697</height>
</rect>
</property>
<property name="windowTitle">
<string>Collection</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<layout class="QVBoxLayout" name="layout_collectionsettingspage">
<item>
<widget class="QLabel" name="label_collection_folders">
<property name="text">
@ -77,7 +77,7 @@
<property name="title">
<string>Automatic updating</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
<layout class="QVBoxLayout" name="layout_updating">
<item>
<widget class="QCheckBox" name="startup_scan">
<property name="text">
@ -110,12 +110,19 @@ If there are no matches then it will use the largest image in the directory.</st
</layout>
</widget>
</item>
<item>
<widget class="Line" name="line_1">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupbox_display">
<property name="title">
<string>Display options</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<layout class="QVBoxLayout" name="layout_display">
<item>
<widget class="QCheckBox" name="auto_open">
<property name="text">
@ -140,12 +147,19 @@ If there are no matches then it will use the largest image in the directory.</st
</layout>
</widget>
</item>
<item>
<widget class="Line" name="line_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupbox_albumcovers">
<property name="title">
<string>Saving album covers</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_5">
<layout class="QVBoxLayout" name="layout_albumcovers">
<item>
<widget class="QCheckBox" name="checkbox_cover_album_dir">
<property name="text">
@ -158,10 +172,22 @@ If there are no matches then it will use the largest image in the directory.</st
<property name="title">
<string>Filename:</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_6">
<layout class="QVBoxLayout" name="layout_cover_filename">
<item>
<widget class="QWidget" name="groupbox_buttons" native="true">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<widget class="QWidget" name="groupbox_cover_type" native="true">
<layout class="QHBoxLayout" name="layout_cover_type">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QRadioButton" name="radiobutton_cover_hash">
<property name="text">

View File

@ -13,7 +13,7 @@
<property name="windowTitle">
<string>Network Proxy</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<layout class="QVBoxLayout" name="layout_networkproxysettingsPage">
<item>
<widget class="QRadioButton" name="proxy_system">
<property name="text">
@ -43,12 +43,12 @@
<property name="enabled">
<bool>false</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout_5">
<layout class="QVBoxLayout" name="layout_proxy_manual_container">
<property name="leftMargin">
<number>24</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<layout class="QHBoxLayout" name="layout_proxy_selection">
<item>
<widget class="QComboBox" name="proxy_type">
<item>
@ -67,7 +67,7 @@
<widget class="QLineEdit" name="proxy_hostname"/>
</item>
<item>
<widget class="QLabel" name="label_15">
<widget class="QLabel" name="label_port">
<property name="text">
<string>Port</string>
</property>
@ -101,7 +101,7 @@
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_16">
<widget class="QLabel" name="label_username">
<property name="text">
<string>Username</string>
</property>
@ -111,7 +111,7 @@
<widget class="QLineEdit" name="proxy_username"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_17">
<widget class="QLabel" name="label_password">
<property name="text">
<string>Password</string>
</property>
@ -131,7 +131,7 @@
</widget>
</item>
<item>
<spacer name="verticalSpacer_5">
<spacer name="spacer_bottom">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>

View File

@ -293,8 +293,8 @@ void NotificationsSettingsPage::NotificationCustomTextChanged(bool enabled) {
ui_->notifications_exp_chooser1->setEnabled(enabled);
ui_->notifications_exp_chooser2->setEnabled(enabled);
ui_->notifications_preview->setEnabled(enabled);
ui_->label_19->setEnabled(enabled);
ui_->label_20->setEnabled(enabled);
ui_->label_summary->setEnabled(enabled);
ui_->label_body->setEnabled(enabled);
}

View File

@ -7,22 +7,29 @@
<x>0</x>
<y>0</y>
<width>526</width>
<height>668</height>
<height>689</height>
</rect>
</property>
<property name="windowTitle">
<string>Notifications</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<layout class="QVBoxLayout" name="layout_notificationssettingspage">
<item>
<widget class="QLabel" name="label_2">
<widget class="QLabel" name="label_info">
<property name="text">
<string>Strawberry can show a message when the track changes.</string>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_4">
<widget class="Line" name="line_1">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupbox_notification_type">
<property name="title">
<string>Notification type</string>
</property>
@ -58,15 +65,22 @@
</layout>
</widget>
</item>
<item>
<widget class="Line" name="line_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="notifications_general">
<property name="title">
<string>General settings</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_6">
<layout class="QVBoxLayout" name="layout_notifications_general">
<item>
<widget class="QWidget" name="notifications_options" native="true">
<layout class="QHBoxLayout" name="horizontalLayout_8">
<layout class="QHBoxLayout" name="layout_notifications_options">
<property name="leftMargin">
<number>0</number>
</property>
@ -143,14 +157,21 @@
</layout>
</widget>
</item>
<item>
<widget class="Line" name="line_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="notifications_custom_text_group">
<property name="title">
<string>Custom message settings</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_26">
<layout class="QVBoxLayout" name="layout_notifications_custom_text_group">
<item>
<widget class="QFrame" name="frame_2">
<widget class="QFrame" name="frame_custom_notifications">
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
@ -235,14 +256,14 @@
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_19">
<widget class="QLabel" name="label_summary">
<property name="text">
<string>Summary</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_20">
<widget class="QLabel" name="label_body">
<property name="text">
<string>Body</string>
</property>
@ -271,12 +292,19 @@
</layout>
</widget>
</item>
<item>
<widget class="Line" name="line_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="notifications_pretty_group">
<property name="title">
<string>Pretty OSD options</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<layout class="QGridLayout" name="layout_notifications_pretty_group">
<item row="0" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
@ -342,7 +370,7 @@
</widget>
</item>
<item>
<spacer name="verticalSpacer_3">
<spacer name="spacer_bottom">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>

View File

@ -13,7 +13,7 @@
<property name="windowTitle">
<string>Playlist</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<layout class="QVBoxLayout" name="layout_playlistsettingspage">
<item>
<widget class="QCheckBox" name="checkbox_glowcurrenttrack">
<property name="text">
@ -52,12 +52,19 @@
</property>
</widget>
</item>
<item>
<widget class="Line" name="line_1">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupbox_paths">
<property name="title">
<string>When saving a playlist, file paths should be</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<layout class="QVBoxLayout" name="layout_paths">
<item>
<widget class="QRadioButton" name="radiobutton_automaticpath">
<property name="text">
@ -92,12 +99,19 @@
</layout>
</widget>
</item>
<item>
<widget class="Line" name="line_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupbox_metadata">
<property name="title">
<string>Metadata</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_editmetadatainline">
<layout class="QVBoxLayout" name="layout_metadata">
<item>
<widget class="QCheckBox" name="checkbox_editmetadatainline">
<property name="toolTip">

View File

@ -120,7 +120,7 @@
</item>
<item>
<widget class="QWidget" name="widget_lastfm_login" native="true">
<layout class="QVBoxLayout" name="verticalLayout">
<layout class="QVBoxLayout" name="layout_lastfm_login">
<item>
<layout class="QHBoxLayout" name="layout_lastfm_button_login">
<item>
@ -163,7 +163,7 @@
<property name="title">
<string>Libre.fm</string>
</property>
<layout class="QVBoxLayout" name="layout_lastfm_3">
<layout class="QVBoxLayout" name="layout_librefm">
<item>
<widget class="QCheckBox" name="checkbox_librefm_enable">
<property name="text">
@ -176,7 +176,7 @@
</item>
<item>
<widget class="QWidget" name="widget_librefm_login" native="true">
<layout class="QVBoxLayout" name="verticalLayout_4">
<layout class="QVBoxLayout" name="layout_librefm_login">
<item>
<layout class="QHBoxLayout" name="layout_librefm_button_login">
<item>
@ -219,7 +219,7 @@
<property name="title">
<string>Listenbrainz</string>
</property>
<layout class="QVBoxLayout" name="layout_lastfm_4">
<layout class="QVBoxLayout" name="layout_listenbrainz">
<item>
<widget class="QCheckBox" name="checkbox_listenbrainz_enable">
<property name="text">
@ -259,7 +259,7 @@
</item>
<item>
<widget class="QWidget" name="widget_listenbrainz_login" native="true">
<layout class="QVBoxLayout" name="verticalLayout_5">
<layout class="QVBoxLayout" name="layout_listenbrainz_login">
<item>
<layout class="QHBoxLayout" name="layout_listenbrainz_button_login">
<item>
@ -291,7 +291,7 @@
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<spacer name="spacer_bottom">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>

View File

@ -17,10 +17,10 @@
<iconset resource="../../data/icons.qrc">
<normaloff>:/icons/64x64/strawberry.png</normaloff>:/icons/64x64/strawberry.png</iconset>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<layout class="QVBoxLayout" name="layout_globalshortcutssettingspage">
<item>
<widget class="QWidget" name="widget_gsd" native="true">
<layout class="QHBoxLayout" name="layout_gnome">
<layout class="QHBoxLayout" name="layout_gsd">
<property name="leftMargin">
<number>0</number>
</property>
@ -148,7 +148,7 @@
</item>
<item>
<widget class="QWidget" name="widget_macos" native="true">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<layout class="QHBoxLayout" name="layout_macos">
<property name="spacing">
<number>0</number>
</property>
@ -240,7 +240,7 @@
<property name="title">
<string>Shortcut for %1</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<layout class="QHBoxLayout" name="layout_shortcut_options">
<item>
<widget class="QRadioButton" name="radio_none">
<property name="enabled">

View File

@ -7,13 +7,13 @@
<x>0</x>
<y>0</y>
<width>715</width>
<height>547</height>
<height>594</height>
</rect>
</property>
<property name="windowTitle">
<string>Tidal</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<layout class="QVBoxLayout" name="layout_tidalsettingspage">
<item>
<widget class="QCheckBox" name="checkbox_enable">
<property name="text">
@ -21,6 +21,13 @@
</property>
</widget>
</item>
<item>
<widget class="Line" name="line_1">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="credential_group">
<property name="sizePolicy">
@ -32,7 +39,7 @@
<property name="title">
<string>Account details</string>
</property>
<layout class="QFormLayout" name="formLayout">
<layout class="QFormLayout" name="layout_credential_group">
<item row="0" column="0">
<widget class="QLabel" name="label_username">
<property name="text">
@ -74,14 +81,21 @@
<item>
<widget class="LoginStateWidget" name="login_state" native="true"/>
</item>
<item>
<widget class="Line" name="line_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupbox_preferences">
<property name="title">
<string>Preferences</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<layout class="QVBoxLayout" name="layout_preferences">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_quality">
<layout class="QHBoxLayout" name="quality">
<item>
<widget class="QLabel" name="label_quality">
<property name="minimumSize">
@ -114,7 +128,7 @@
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_searchdelay">
<layout class="QHBoxLayout" name="searchdelay">
<item>
<widget class="QLabel" name="label_searchdelay">
<property name="minimumSize">
@ -163,9 +177,9 @@
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_artistssearchlimit">
<layout class="QHBoxLayout" name="artistssearchlimit">
<item>
<widget class="QLabel" name="label">
<widget class="QLabel" name="label_artistssearchlimit">
<property name="minimumSize">
<size>
<width>150</width>
@ -191,7 +205,7 @@
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<spacer name="spacer_artistssearchlimit">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
@ -206,7 +220,7 @@
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_albumssearchlimit">
<layout class="QHBoxLayout" name="albumssearchlimit">
<item>
<widget class="QLabel" name="label_albumssearchlimit">
<property name="minimumSize">
@ -249,7 +263,7 @@
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_songssearchlimit">
<layout class="QHBoxLayout" name="songssearchlimit">
<item>
<widget class="QLabel" name="label_songssearchlimit">
<property name="minimumSize">
@ -299,7 +313,7 @@
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_coversize">
<layout class="QHBoxLayout" name="coversize">
<item>
<widget class="QLabel" name="label_coversize">
<property name="minimumSize">
@ -332,7 +346,7 @@
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_streamurl">
<layout class="QHBoxLayout" name="streamurl">
<item>
<widget class="QLabel" name="label_streamurl">
<property name="minimumSize">
@ -381,7 +395,7 @@
</spacer>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<layout class="QHBoxLayout" name="layout_bottom">
<item>
<spacer name="spacer_bottom">
<property name="orientation">

View File

@ -13,7 +13,7 @@
<property name="windowTitle">
<string>Transcoding</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<layout class="QVBoxLayout" name="layout_transcodersettingspage">
<item>
<widget class="QLabel" name="label_top">
<property name="text">
@ -208,7 +208,7 @@
<attribute name="title">
<string>MP3</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_20">
<layout class="QVBoxLayout" name="layout_mp3">
<property name="spacing">
<number>0</number>
</property>