Changeset View
Changeset View
Standalone View
Standalone View
discover/qml/AddSourceDialog.qml
Show All 22 Lines | |||||
23 | import org.kde.kirigami 2.2 as Kirigami | 23 | import org.kde.kirigami 2.2 as Kirigami | ||
24 | 24 | | |||
25 | Popup | 25 | Popup | ||
26 | { | 26 | { | ||
27 | id: newSourceDialog | 27 | id: newSourceDialog | ||
28 | parent: applicationWindow().overlay | 28 | parent: applicationWindow().overlay | ||
29 | modal: true | 29 | modal: true | ||
30 | focus: true | 30 | focus: true | ||
31 | width: Kirigami.Units.gridUnit * 20 | ||||
31 | 32 | | |||
32 | x: (parent.width - width)/2 | 33 | x: (parent.width - width)/2 | ||
33 | y: (parent.height - height)/2 | 34 | y: (parent.height - height)/2 | ||
34 | 35 | | |||
35 | property string displayName | 36 | property string displayName | ||
36 | property QtObject source | 37 | property QtObject source | ||
37 | 38 | | |||
38 | ColumnLayout { | 39 | ColumnLayout { | ||
▲ Show 20 Lines • Show All 53 Lines • Show Last 20 Lines |