forked from jeena/FeedTheMonkey
made possible to use doOperation with callback, added setRead, added settings for window position and size
This commit is contained in:
parent
ddb54f398c
commit
41e762445f
8 changed files with 94 additions and 47 deletions
14
main.qml
14
main.qml
|
@ -1,6 +1,8 @@
|
|||
import QtQuick 2.3
|
||||
import QtQuick.Controls 1.3
|
||||
import QtQuick.Window 2.0
|
||||
import QtQuick.Layouts 1.1
|
||||
import Qt.labs.settings 1.0
|
||||
import TTRSS 1.0
|
||||
|
||||
ApplicationWindow {
|
||||
|
@ -8,15 +10,17 @@ ApplicationWindow {
|
|||
title: "FeedMonkey"
|
||||
visible: true
|
||||
|
||||
contentItem.minimumWidth: 640
|
||||
contentItem.minimumHeight: 480
|
||||
contentItem.implicitWidth: 1024
|
||||
contentItem.implicitHeight: 800
|
||||
|
||||
property Server server: server
|
||||
property Sidebar sidebar: sidebar
|
||||
property Content content: content
|
||||
|
||||
Settings {
|
||||
property alias x: app.x
|
||||
property alias y: app.y
|
||||
property alias width: app.width
|
||||
property alias height: app.height
|
||||
}
|
||||
|
||||
menuBar: TheMenuBar {
|
||||
id: menu
|
||||
server: server
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue