forked from Dhwty/flist-messenger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.qss
131 lines (104 loc) · 3.12 KB
/
default.qss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
/*
Quick colorchange for f-chat desk client.
Love, Vixe
QSS Documentation: http://developer.qt.nokia.com/doc/qt-4.8/stylesheet-syntax.html
The Groupbox with login stuff: QGroubBox #loginGroup
Login button: QPushButton #loginButton
Character select box: QComboBox #charSelectBox
"Character" label: QLabel #charlabel
Main window: flist_messenger inherits QMainWindow #MainWindow
Active Panels: QScrollArea #activePanels (Currently broken)
Current tab's name: QLabel #currentpanelname
Settings button: QPushButton #settingsbutton
Channels button: QPushButton #channelsbutton
Makeroom button: QPushButton #makeroombutton
Setstatus button: QPushButton #setstatusbutton
Friends button: QPushButton #friendsbutton
Alertstaff button: QPushButton #alertstaffbutton
Chat output: QTextBrowser #chatoutput
Userlist: QListWidget #userlist
Chat input: QPlainTextEdit #chatinput
Sendmessage button: QPushButton #sendmsgbutton
Sendadvertisement button: QPushButton #sendadvbutton
Menu bar: QMenuBar #menubar
Menu help: QMenu #menuHelp
Menu File: QMenu #menuFile
All dialogs are QDialog. There's a lot I still have to give names to, but here's some more classes you can use:
QCheckBox
QLabel (any text that isn't attached to something else)
QLineEdit (any text input box that's one line big)
QListWidgetItem (item of a listwidget. Like in the userlist, each user is a QListWidgetItem)
QTabWidget (a tab control. Mostly used in dialogs, like the one with channels (a tab for public ones, a tab for private ones))
*/
/* The main display area. */
QTextBrowser#chatoutput {
background-color:#202020;
color:#eeeeee;
font-size:15px;
padding-bottom:4px;
border-top:1px solid #000000;
border-left:1px solid #000000;
border-right:1px solid #666666;
border-bottom:1px solid #666666;
}
/* Userlist on right. */
QListWidget#userlist {
background-color:#202020;
border-top:1px solid #000000;
border-left:1px solid #000000;
border-right:0px;
border-bottom:1px solid #666666;
}
/* Input area. */
QTextEdit#reportinput, QPlainTextEdit#chatinput {
background-color:#FFFFFF;
border-top:1px solid #000000;
border-left:1px solid #000000;
border-right:1px solid #888888;
border-bottom:1px solid #888888;
color:#000000;
border-radius:3px;
}
QMainWindow {
background-color:#444444;
color:#ffffff;
}
QLabel {
color:#ffffff;
font-size:15px;
}
QLabel#settingslabel {
color:#000000;
font-size:12px;
}
QGroupBox {
}
QAbstractScrollArea {
background-color:#444444;
color:#ffffff;
border:0px;
border-left:0px solid #000000;
border-bottom:0px solid #000000;
}
QMessageBox, QDialog {
background-color:#444444;
color:#ffffff;
}
QRadioButton {
background-color:#444444;
color:#ffffff;
}
QTableView {
color:#ffffff;
background-color:#202020;
alternate-background-color:#404040;
border-top:1px solid #000000;
border-left:1px solid #000000;
border-right:1px solid #666666;
border-bottom:1px solid #666666;
}
QHeaderView::section {
background-color: solid qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1,
stop: 0 #a0a0a0, stop: 1 #808080);
color:#000000;
}