Changeset View
Changeset View
Standalone View
Standalone View
src/qml/ElisaMainWindow.qml
Show All 38 Lines | 28 | ApplicationWindow { | |||
---|---|---|---|---|---|
39 | x: persistentSettings.x | 39 | x: persistentSettings.x | ||
40 | y: persistentSettings.y | 40 | y: persistentSettings.y | ||
41 | width: persistentSettings.width | 41 | width: persistentSettings.width | ||
42 | height: persistentSettings.height | 42 | height: persistentSettings.height | ||
43 | 43 | | |||
44 | title: i18n("Elisa") | 44 | title: i18n("Elisa") | ||
45 | 45 | | |||
46 | property var goBackAction: elisa.action("go_back") | 46 | property var goBackAction: elisa.action("go_back") | ||
47 | property var findAction: elisa.action("edit_find") | ||||
47 | 48 | | |||
48 | Controls1.Action { | 49 | Controls1.Action { | ||
50 | shortcut: findAction.shortcut | ||||
51 | onTriggered: { | ||||
52 | if ( persistentSettings.expandedFilterView == true) | ||||
53 | { | ||||
54 | persistentSettings.expandedFilterView = false | ||||
55 | } else { | ||||
56 | persistentSettings.expandedFilterView = true | ||||
57 | } | ||||
58 | } | ||||
59 | } | ||||
60 | Controls1.Action { | ||||
49 | shortcut: goBackAction.shortcut | 61 | shortcut: goBackAction.shortcut | ||
50 | onTriggered: contentView.goBack() | 62 | onTriggered: contentView.goBack() | ||
51 | } | 63 | } | ||
52 | 64 | | |||
53 | Controls1.Action { | 65 | Controls1.Action { | ||
54 | id: applicationMenuAction | 66 | id: applicationMenuAction | ||
55 | text: i18nc("open application menu", "Application Menu") | 67 | text: i18nc("open application menu", "Application Menu") | ||
56 | iconName: "application-menu" | 68 | iconName: "application-menu" | ||
Show All 25 Lines | 85 | Settings { | |||
82 | 94 | | |||
83 | property var playListControlerState | 95 | property var playListControlerState | ||
84 | 96 | | |||
85 | property var audioPlayerState | 97 | property var audioPlayerState | ||
86 | 98 | | |||
87 | property double playControlItemVolume : 100.0 | 99 | property double playControlItemVolume : 100.0 | ||
88 | property bool playControlItemMuted : false | 100 | property bool playControlItemMuted : false | ||
89 | 101 | | |||
90 | property string filterState | 102 | property bool expandedFilterView: false | ||
91 | 103 | | |||
92 | } | 104 | } | ||
93 | 105 | | |||
94 | Connections { | 106 | Connections { | ||
95 | target: Qt.application | 107 | target: Qt.application | ||
96 | onAboutToQuit: | 108 | onAboutToQuit: | ||
97 | { | 109 | { | ||
98 | persistentSettings.x = mainWindow.x; | 110 | persistentSettings.x = mainWindow.x; | ||
▲ Show 20 Lines • Show All 263 Lines • Show Last 20 Lines |