cool-retro-term/app/qml/SettingsWindow.qml

65 lines
1.9 KiB
QML
Raw Normal View History

2013-12-28 14:52:10 +01:00
/*******************************************************************************
* Copyright (c) 2013 "Filippo Scognamiglio"
* https://github.com/Swordfish90/cool-retro-term
2013-12-28 14:52:10 +01:00
*
* This file is part of cool-retro-term.
2013-12-28 14:52:10 +01:00
*
* cool-retro-term is free software: you can redistribute it and/or modify
2013-12-28 14:52:10 +01:00
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*******************************************************************************/
import QtQuick 2.2
import QtQuick.Controls 1.1
2013-11-25 19:05:31 +01:00
import QtQuick.Window 2.1
import QtQuick.Layouts 1.1
import QtQuick.Dialogs 1.1
2013-11-25 19:05:31 +01:00
Window {
id: settings_window
2013-11-25 19:05:31 +01:00
title: qsTr("Settings")
2014-12-26 19:47:11 +01:00
width: 580
2018-12-16 23:46:05 +01:00
height: 400
property int tabmargins: 15
2013-11-25 19:05:31 +01:00
TabView{
2014-09-29 02:00:54 +02:00
id: tabView
2013-11-25 19:05:31 +01:00
anchors.fill: parent
anchors.margins: 10
2018-12-16 23:46:05 +01:00
SettingsGeneralTab {
2014-09-29 02:00:54 +02:00
id: generalTab
title: qsTr("General")
anchors.fill: parent
anchors.margins: tabmargins
}
2018-12-16 23:46:05 +01:00
SettingsTerminalTab {
2014-09-29 02:00:54 +02:00
id: terminalTab
title: qsTr("Terminal")
anchors.fill: parent
anchors.margins: tabmargins
}
2018-12-16 23:46:05 +01:00
SettingsEffectsTab {
2014-09-29 02:00:54 +02:00
id: effectsTab
title: qsTr("Effects")
anchors.fill: parent
anchors.margins: tabmargins
2013-11-25 19:05:31 +01:00
}
2018-12-16 23:46:05 +01:00
SettingsAdvancedTab {
2014-09-29 02:00:54 +02:00
id: performanceTab
2018-12-16 23:46:05 +01:00
title: qsTr("Advanced")
2014-09-29 02:00:54 +02:00
anchors.fill: parent
anchors.margins: tabmargins
}
2013-11-25 19:05:31 +01:00
}
}