Skip to content

Commit

Permalink
[ui] refs fibercrypto#298 - Add Radio Buttons to select log output de…
Browse files Browse the repository at this point in the history
…stination and a Combo box to select log level
  • Loading branch information
AntiD2ta committed Jan 4, 2020
1 parent 2423029 commit f03d126
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions src/ui/Settings.qml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,44 @@ Page {
}
}
} // GroupBox (network settings)

GroupBox {
Layout.fillWidth: true
title: qsTr("Log output")

RowLayout {
anchors.fill: parent

RadioButton {
id: RadioButtonlogOutputNone
checked: true
text: qsTr("None")
}
RadioButton {
id: RadioButtonlogOutputStdOut
text: qsTr("stdout")
}
RadioButton {
id: RadioButtonlogOutputFile
text: qsTr("File")
}
}
}

RowLayout {
Layout.fillWidth: true

Label {
text: qsTr("Log level")
font.bold: true
color: Material.accent
}
ComboBox{
id: logLevelOption

model:["Debug", "Info", "Error", "Panic"]
}
}
} // ColumnLayout

// Confirm the discard or reset action:
Expand Down

0 comments on commit f03d126

Please sign in to comment.