Added LoginMode for login from GUI

* updated context method
* updated GUI, checkboxes for mode
* style sheet modified due to GUI update
This commit is contained in:
Klaus Basan
2014-01-26 02:34:56 +01:00
parent 740424ed09
commit 1199f05fe2
7 changed files with 268 additions and 55 deletions

View File

@@ -48,6 +48,12 @@ QStatusBar {
padding: 3px;
}
/* No style for Dial
#sw_MainMiddel QDial {
background-color: rgba(0, 0, 255, 128);
}
*/
#wi_MainKeypadArea QPushButton {
font-family: arial-rounded;
background-color: black;
@@ -70,12 +76,6 @@ QStatusBar {
border-radius: 5px;
}
QComboBox {
border: 1px solid gray;
border-radius: 5px;
background: #1e1d1b;
}
QTabWidget::pane { /* The tab widget frame */
border: none;
}
@@ -106,6 +106,7 @@ QLabel {
QLineEdit {
background: black;
border: 1px solid green;
border-radius: 5px;
}
QLineEdit[readOnly="true"] {
@@ -113,16 +114,42 @@ QLineEdit[readOnly="true"] {
}
QCheckBox {
color: white;
color: white; /** font **/
border: 0px solid green;
background: transparent;
}
QTextEdit {
border: 1px solid green;
background: transparent;
border-radius: 5px;
}
QPlainTextEdit {
border: 1px solid green;
background: transparent;
border-radius: 5px;
}
QGroupBox {
border: 1px solid green;
}
QRadioButton {
font: 10px;
}
QComboBox {
border: 1px solid green;
border-radius: 5px;
padding: 1px;
background: transparent;
}
QDoubleSpinBox {
border: 1px solid green;
border-radius: 5px;
padding: 1px;
background: transparent;
}
@@ -193,7 +220,7 @@ QScrollBar::handle:vertical {
min-height: 15px;
}
QScrollBar::add-line:horizontal {
QScrollBar::add-line:horizontal {
border: 2px solid gray;
background: blue;
width: 5px;
@@ -217,7 +244,7 @@ QScrollBar::add-line:vertical {
subcontrol-origin: margin;
}
QScrollBar::sub-line:vertical {
QScrollBar::sub-line:vertical {
border: 2px solid gray;
background: blue;
height: 5px;
@@ -233,6 +260,8 @@ QHeaderView::section {
}
QTableView {
border: 1px solid green;
border-radius: 5px;
background-color: black;
alternate-background-color: darkslategray;
selection-background-color: blue;