This repository has been archived on 2021-06-24. You can view files and clone it, but cannot push or open issues or pull requests.
ui/qml/panes/AddGroupPane.qml

54 lines
885 B
QML

import QtGraphicalEffects 1.0
import QtQuick 2.7
import QtQuick.Controls 2.4
import QtQuick.Controls.Material 2.0
import QtQuick.Layouts 1.3
import QtQuick.Window 2.11
import QtQuick.Controls 1.4
import "../widgets"
import "../styles"
ColumnLayout { // settingsPane
anchors.fill: parent
StackToolbar {
text: "Create a new group"
aux.visible: false
}
Column {
leftPadding: 10
spacing: 5
ScalingLabel {
text: "Server:"
}
TextField {
id: txtServer
style: CwtchTextFieldStyle{ width: 400 }
text: "2c3kmoobnyghj2zw6pwv7d57yzld753auo3ugauezzpvfak3ahc4bdyd"
}
ScalingLabel{
text: "Group name:"
}
TextField {
id: txtGroupName
style: CwtchTextFieldStyle{ width: 400 }
text: "my awesome group"
}
SimpleButton {
text: "create"
onClicked: {
gcd.createGroup(txtServer.text, txtGroupName.text)
}
}
}//end of column with padding
}