MainWindow
0
0
350
550
0
0
350
550
Black GUI
:/blackgui/icons/aircraftdeparture.png:/blackgui/icons/aircraftdeparture.png
/** http://qt-project.org/doc/qt-4.8/stylesheet-examples.html **/
QWidget {
background-color: black;
font: bold 10px;
color: white; /** font **/
}
QProgressBar {
border: 1px solid green;
border-radius: 5px;
text-align: center;
padding: 0px;
height: 16px;
}
QProgressBar::chunk {
background-color: darkblue;
width: 10px;
margin: 0.5px;
}
#wi_CentralWidgetOutside {
/** there is no opacity with background image, so we need semitransparent images **/
/** background-image: url(:/blackgui/icons/titaniumtexture.jpg) **/
/** border: 2px solid green; **/
/** border-radius: 20px; **/
background-color: darkslategray;
margin: 0px;
padding: 5px;
}
#fr_CentralFrameInside {
background-color: darkslategray;
margin: 5px;
}
#wi_MainKeypadArea {
background-color: darkslategray;
}
#gb_AtcStationsOnlineInfo {
border-style: none;
}
#sw_MainMiddle {
padding: 3px;
border: 0px;
border-radius: 10px;
}
#sw_MainMiddle QPushButton {
font-family: arial-rounded;
background-color: rgba(0, 0, 255, 128);
border-style: none;
border-radius:3px;
color: yellow;
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;
border-style: solid;
border-width:1px;
border-radius:6px;
border-color: green;
max-height:20px;
min-width:60px;
min-height:20px;
}
#wi_MainKeypadAreaWindow {
background-color: darkslategray;
}
#le_CommandLineInput {
margin-bottom: 5px;
padding: 3px;
border-radius: 5px;
}
QTabWidget::pane { /* The tab widget frame */
border: none;
}
QTabWidget::tab-bar {
left: 5px; /* move to the right by 5px */
}
QTabBar::tab {
border: 1px solid green;
border-top-left-radius: 6px;
border-top-right-radius: 6px;
min-width: 30px;
padding: 2px;
padding-left: 4px;
padding-right: 4px;
margin-right: 3px;
}
QTabBar::tab::selected {
background-color: rgba(0, 0, 255, 128);
}
QLabel {
background: transparent;
}
QLineEdit {
background: black;
border: 1px solid green;
border-radius: 5px;
}
QLineEdit[readOnly="true"] {
background: black;
}
QCheckBox {
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;
}
QToolBox {
border: none;
}
QToolBox::tab {
border: 1px solid green;
border-radius: 6px;
min-width: 30px;
padding: 2px;
padding-left: 4px;
padding-right: 4px;
}
QToolBox::tab::selected {
background-color: rgba(0, 0, 255, 128);
}
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;
}
QMenuBar {
background: darkslategray;
}
QMenu {
background: black;
margin: 2px; /* some spacing around the menu */
}
QMenu::item {
padding: 2px 25px 1px 20px;
border: 2px solid darkslategray; /* reserve space for selection border */
background: black;
}
QMenu::item:selected {
border-color: darkblue;
background: black;
}
QMenu::indicator {
background-color: black;
}
QMenuBar {
background-color: darkslategray;
}
QMenuBar::item {
spacing: 3px; /* spacing between menu bar items */
padding: 1px 4px;
background: transparent;
border-radius: 4px;
}
QMenuBar::item:selected { /* when selected using mouse or keyboard */
background: black;
}
QMenuBar::item:pressed {
background: black;
}
QScrollBar:horizontal {
border: 2px solid gray;
background: slategray;
height: 10px;
margin: 0px 5px 0 5px;
}
QScrollBar:vertical {
border: 2px solid gray;
background: slategray;
width: 10px;
margin: 5px 0 5px 0;
}
QScrollBar::handle:horizontal {
background: black;
min-width: 15px;
}
QScrollBar::handle:vertical {
background: black;
min-height: 15px;
}
QScrollBar::add-line:horizontal {
border: 2px solid gray;
background: blue;
width: 5px;
subcontrol-position: right;
subcontrol-origin: margin;
}
QScrollBar::sub-line:horizontal {
border: 2px solid gray;
background: blue;
width: 5px;
subcontrol-position: left;
subcontrol-origin: margin;
}
QScrollBar::add-line:vertical {
border: 2px solid gray;
background: blue;
height: 5px;
subcontrol-position: bottom;
subcontrol-origin: margin;
}
QScrollBar::sub-line:vertical {
border: 2px solid gray;
background: blue;
height: 5px;
subcontrol-position: top;
subcontrol-origin: margin;
}
QHeaderView::section {
border: 1px solid blue;
background-color: darkslategray;
padding: 1px;
margin: 0px;
}
QTableView {
border: 1px solid green;
border-radius: 5px;
background-color: black;
alternate-background-color: darkslategray;
selection-background-color: blue;
margin-left: 2px;
margin-top: 0;
margin-bottom: 0;
padding:0;
}
QSlider::groove:horizontal {
border: 1px solid gray;
height: 4px; /* the groove expands to the size of the slider by default. by giving it a height, it has a fixed size */
background: darkslategray;
}
QSlider::handle:horizontal {
background: lightgray;
border: 1px solid darkslategra;
width: 18px;
margin: -2px 0; /* handle is placed by default on the contents rect of the groove. Expand outside the groove */
border-radius: 3px;
}
QSizeGrip {
image: url(:/blackgui/icons/resize.png);
width: 16px;
height: 16px;
}
QStatusBar {
background: darkslategray;
}
QStatusBar::item {
border: none;
}
QStatusBar QLabel {
border: none;
}
Qt::ToolButtonIconOnly
QTabWidget::Rounded
0
0
350
500
16777215
16777215
0
2
2
2
2
-
0
0
0
0
0
0
0
-
0
0
-1
75
false
true
QFrame::NoFrame
7
0
0
4
2
2
2
2
-
-
DBus
true
false
-
true
-
Network connected
-
Network context
-
Voice context
-
true
-
:/blackgui/icons/loginred.png
-
:/blackgui/icons/audiovolumelow.png
-
1
3
0
0
90
59
Messages
0
0
0
0
0
-
QAbstractItemView::SingleSelection
QAbstractItemView::SelectRows
false
0
0
90
55
Console
0
0
0
0
0
-
0
0
-1
75
false
true
QPlainTextEdit::NoWrap
true
0
0
0
0
0
0
0
-
0
0
16777215
16777215
-1
75
false
true
0
In range
2
2
2
2
2
-
0
0
16777215
16777215
QAbstractItemView::SingleSelection
QAbstractItemView::SelectRows
true
false
-
0
0
0
0
16777215
110
Info (ATIS, METAR, ...)
0
0
12
0
2
-
0
0
0
0
16777215
100
-
0
0
16777215
25
QFrame::NoFrame
QFrame::Raised
QLayout::SetDefaultConstraint
5
0
2
0
-
0
0
Load METAR
-
0
0
Reload ATIS
-
0
0
60
16777215
EDDF
5
true
Bookings
3
0
3
0
3
-
QFrame::StyledPanel
QFrame::Sunken
1
true
QAbstractItemView::SingleSelection
QAbstractItemView::SelectRows
true
true
false
-
Reload
0
0
0
0
0
-
false
0
0
0
0
0
-
QAbstractItemView::SingleSelection
QAbstractItemView::SelectRows
false
5
2
2
2
2
-
4
2
4
2
5
3
-
-1
75
false
true
COM 1
-
0
0
0
18
16777215
16777215
3
118.000000000000000
136.000000000000000
0.025000000000000
118.000000000000000
-
-1
75
false
true
COM 2
-
0
0
75
18
16777215
16777215
3
118.000000000000000
136.000000000000000
0.025000000000000
119.000000000000000
-
0
0
0
18
false
3
118.000000000000000
136.000000000000000
0.025000000000000
118.250000000000000
-
0
0
0
18
3
118.000000000000000
136.000000000000000
0.025000000000000
119.250000000000000
-
40
16777215
<>
-
<>
-
32
32
Volume COM1
100
5
5
100
false
false
false
false
-
32
32
Volume COM2
100
5
5
100
-
Test
-
0
0
-1
75
false
true
Transponder
-
0
0
SELCAL
-
0
0
-
0
0
-
0
0
16777215
16777215
-
0
0
0
18
0
7777.000000000000000
7000.000000000000000
-
0
28
:/blackgui/icons/audiovolumelow.png
-
Qt::Vertical
QSizePolicy::Fixed
20
28
-
-
2
2
2
2
2
-
-1
75
false
true
true
-
Ovr.
-
2
2
2
2
2
-
-1
75
false
true
true
-
Ovr.
-
QAbstractItemView::SingleSelection
QAbstractItemView::SelectRows
false
-
QAbstractItemView::SingleSelection
QAbstractItemView::SelectRows
false
0
0
0
0
0
-
0
All
0
2
3
2
0
-
QTextEdit::NoWrap
true
10
UNICOM
0
2
3
2
0
-
QTextEdit::NoWrap
true
10
COM 1
0
2
3
2
0
-
QTextEdit::NoWrap
true
10
COM 2
0
2
3
2
0
-
QTextEdit::NoWrap
true
10
0
0
0
0
0
0
0
0
0
0
-
3
Traffic Network
2
1
1
1
1
-
QAbstractItemView::AnyKeyPressed|QAbstractItemView::DoubleClicked|QAbstractItemView::EditKeyPressed
QAbstractItemView::SingleSelection
QAbstractItemView::SelectRows
false
-
QFormLayout::AllNonFixedFieldsGrow
6
6
6
6
-
Name
-
-
Description
-
-
Address
-
-
Port
-
5
-
Real name
-
-
Id:
-
-
Password
-
32
QLineEdit::Password
-
QFrame::StyledPanel
QFrame::Raised
3
3
-
Save
-
Remove
-
Current server
Aircraft
-
QFormLayout::AllNonFixedFieldsGrow
-
Callsign
-
Qt::ImhLatinOnly|Qt::ImhUppercaseOnly
BLACK
20
-
ICAO type (e.g. A320)
-
Qt::ImhUppercaseOnly
-
ICAO airline (e.g.DLH)
-
-
Aircraft type (e.g. L2J)
-
-
Login modes
-
-
Normal
true
-
Stealth mode
-
Observer
Audio
2
2
-
QFormLayout::AllNonFixedFieldsGrow
2
4
2
2
-
In
-
-
Out
-
-
Qt::Vertical
20
20
-
Tests
-
0
0
0
0
0
-
-
16777215
16777215
false
Start squelch test
-
16777215
16777215
Start microphone test
-
Result
-
16777215
40
true
-
0
-
Qt::Vertical
20
20
-
play notification sounds
-
notification for text messages
-
Notification sounds
Simulator
-
QFormLayout::AllNonFixedFieldsGrow
-
FSX address
-
127.0.0.1
-
FSX port
-
500
-
-
Open
-
Delete
-
Save
-
Test connection
-
"simconnect.cfg" exists?
-
4
0
0
0
0
-
-
Check
GUI
-
QFormLayout::AllNonFixedFieldsGrow
-
Opacity (0-100%)
-
100
10
100
Qt::Horizontal
-
Aircraft refresh time (5-30s)
-
5
30
5
5
10
Qt::Horizontal
QSlider::NoTicks
-
ATC refresh time (5-30s)
-
5
30
5
5
10
Qt::Horizontal
-
User refresh time (5-30s)
-
5
30
5
5
10
Qt::Horizontal
Misc
3
2
2
2
2
-
true
false
-
QFrame::StyledPanel
QFrame::Raised
-
Save
-
Remove
-
Cancel
-
Longitude
-
Status
-
Bank
-
Latitude
-
Ground Speed
-
Heading
-
On ground
-
Altitude
-
Pitch
-
false
-
false
-
false
-
false
-
false
-
false
-
COM1 Standby
-
COM1 Active
-
COM2 Active
-
COM2 Standby
-
-
-
-
false
-
false
-
false
-
false
-
-
Transponder
-
0
0
QLayout::SetDefaultConstraint
2
6
2
0
2
-
0
0
16777215
22
Cockpit
-
0
0
16777215
22
Mappings
-
0
0
16777215
22
Weather
-
0
0
16777215
22
Status
-
0
0
<commands go here>
-
0
0
16777215
22
ATC
-
0
0
16777215
22
Qt::LeftToRight
Settings
-
16777215
22
Mute
-
0
0
62
22
16777215
22
50%
-
0
0
16777215
22
Connect
-
16777215
22
Maximum volume
Max.vol.
-
0
0
62
22
16777215
22
100%
-
0
0
16777215
22
Aircrafts
-
0
0
16777215
22
Text/Chat
-
0
0
16777215
22
Flightplan
-
Users
-
Ident
-
Simulator
0
0
16777215
16777215
false
Position EDDF (Frankfurt, GER)
Position EDDM (Munich, GER)
Position EDRY (Speyer, GER)
Reload settings
Position EDNX (Schleißheim, GER)
Close
Settings directory
Reset settings
BlackGui::CTransponderModeSelector
QComboBox
blackgui/transpondermodeselector.h
cb_StatusWithDBus
le_StatusNetworkContext
le_StatusAudioContext
tv_StatusMessages
le_CommandLineInput
tw_AtcStations
tv_AtcStationsOnline
te_AtcStationsOnlineInfo
le_AtcStationsOnlineMetar
pb_AtcStationsLoadMetar
pb_AtcStationsAtisReload
tv_AtcStationsBooked
pb_ReloadAtcStationsBooked
tv_AircraftsInRange
tv_AllUsers
pb_CockpitToggleCom1
ds_CockpitCom1Active
ds_CockpitCom1Standby
di_CockpitCom1Volume
pb_CockpitToggleCom2
ds_CockpitCom2Active
ds_CockpitCom2Standby
di_CockpitCom2Volume
pb_CockpitSelcalTest
cb_CockpitSelcal1
cb_CockpitSelcal2
ds_CockpitTransponder
cbp_CockpitTransponderMode
le_CockpitVoiceRoomCom1
cb_CockpitVoiceRoom1Override
le_CockpitVoiceRoomCom2
cb_CockpitVoiceRoom2Override
tv_CockpitVoiceRoom1
tv_CockpitVoiceRoom2
tw_TextMessages
te_TextMessagesAll
te_TextMessagesUnicom
te_TextMessagesCOM1
te_TextMessagesCOM2
Simulator
tv_SettingsTnServers
le_SettingsTnCsName
le_SettingsTnCsDescription
le_SettingsTnCsAddress
le_SettingsTnCsPort
le_SettingsTnCsRealName
le_SettingsTnCsNetworkId
le_SettingsTnCsPassword
pb_SettingsTnSaveServer
pb_SettingsTnRemoveServer
pb_SettingsTnCurrentServer
le_SettingsAircraftCallsign
le_SettingsIcaoTypeDesignator
le_SettingsIcaoAirline
le_SettingsIcaoType
cb_SettingsAudioInputDevice
cb_SettingsAudioOutputDevice
hs_SettingsGuiOpacity
hs_SettingsGuiAircraftRefreshTime
hs_SettingsGuiAtcRefreshTime
pb_MainConnect
pb_MainStatus
pb_MainWeather
pb_MainFlightplan
pb_MainAtc
pb_MainAircrafts
pb_MainUsers
pb_CockpitIdent
pb_MainCockpit
pb_MainTextMessages
pb_Mappings
pb_MainSettings
pb_MainKeypadOpacity100
pb_MainKeypadOpacity050
pb_SoundMute
pb_SoundMaxVolume
te_StatusPageConsole
rb_SetttingsNormalLoginMode
rb_SettingsLoginStealthMode
rb_SettingsLoginObserver
pb_SettingsAudioSquelchTest
pb_SettingsAudioMicrophoneTest
pte_SettingsAudioTestActionAndResult
hs_SettingsGuiUserRefreshTime
setMainPage()
toggleNetworkConnection()
menuClicked()
networkServerSelected(QModelIndex)
alterTrafficServer()
reloadAtcStationsBooked()
onlineAtcStationSelected(QModelIndex)
commandEntered()
getMetar()
cockpitValuesChanged()
audioDeviceSelected(int)
voiceRoomOverride()