Settings dialog infrastructure
[quicknewsreader] / qml / QuickNewsReader / main.qml
index ebee529..0c41d95 100644 (file)
@@ -24,6 +24,7 @@ Rectangle {
     property variant currentSource: listSourceModel[currentSourceIndex]
     property bool loading: currentSource.loading
     property ListModel windowViewsModel: viewsModel
+    property ListView windowViewsList: viewsList
 
     ListView {
         id: viewsList
@@ -40,6 +41,18 @@ Rectangle {
         }
     }
 
+    function showConfigDialog(settingsComponent) {
+        configDialog.configViewComponent = settingsComponent
+        configDialog.state = "showSourceConfig"
+    }
+
+    SourceConfigDialog {
+        id:configDialog
+    }
+
+/*
+*/
+
     Component {
         id: quitButtonDelegate
         Item {