Skip to content

Config Files

Dhwty edited this page Mar 20, 2013 · 4 revisions

Getting Started | Compile It Yourself! | Themes

In the event that you break any of the config files, the current default contents of those files is included below, so you can revert to the original settings. Three files control the colours used in the application: default.qss, default.css, and colors.ini, and each addresses a different set of colours.

Table of Contents

settings.ini

Default Contents:

[Helpdesk]
alwaysping=true
Modifying this file:
  • join: Displays join/leave messages, if set to 'true'.
  • online: Displays online/offline messages for friends, if set to 'true'.
  • ping: Highlight/make sound when your name or other words in the pinglist are said, if set to 'true'.
  • sounds: Controls whether sounds are on. If set to 'true', it makes sound. Set to 'false', the client does not make sound.
  • alwaysping: Always ping on PM/highlight, if set to 'true'. This means it will make sounds even if the tab is the one you're looking at.
  • helpdesk: Display Helpdesk notices, if set to 'true'.
  • logs: Saves chatlogs when set to 'true'.
  • pinglist: The list of words that trigger the client to highlight or make sounds.
  • channels: The list of channels to join on connect. To add channels, add three pipe symbols followed by the name of the channel to the line. If a channel name has spaces in it, place double quotes around the full list of channels. Example: channels="Frontpage|||Sex Driven LFRP"
Always ping can be set for individual channels, as well. For an example, see the [Helpdesk] section in the default file. Public channels can be added by name, but private channels must be referred to by channel ID. Example:
[ADH-2b71f164e13d9a57c770]
alwaysping=true

default.qss

Default Contents:

/* The main display area. */
QTextBrowser#chatoutput { background-color: rgb(4, 64, 128); color: white; }
/* Userlist on right. */
QListWidget#userlist { background-color: rgb(4, 62, 128); }
QListWidget#userlist::item { background-color: rgb(39, 69, 100); }
/* Input area. */
QPlainTextEdit#chatinput { background-color: rgb(4, 62, 128); color: white; }
Modifying this file:
  • QTextBrowser#chatoutput: These colours are the background and text colours for the scrollback buffer.
  • QListWidget#userlist: This defines the background colour for the userlist on the right.
  • QListWidget#userlist::item: This colour is the background for the block surrounding each individual name, in the userlist.
  • QPlainTextEdit#chatinput: These are the background and text colour for the box you type in.
More options!

View areas in: Login Screen | Main Window | Dialog Box

Interface Item Selector Notes
Main window QMainWindow
Dialog boxes QDialog
Dialog box tabs QTabWidget (Does not appear to work)
Tickboxes and their labels QCheckBox
Dropdown boxes (expanded) QAbstractScrollArea (Includes character select and area surrounding room/PM buttons)
Character select box (closed) QComboBox#charSelectBox
Single-line text inputs QLineEdit
The groupbox with character select QGroupBox#loginGroup
Labels and info text QLabel (This is also the text in dialog boxes, unless set in QDialog)
"Character" label QLabel#charlabel
Current tab's name QLabel#currentpanelname
Active Panels QScrollArea#activePanels (Currently broken)
Login button QPushButton#loginButton
Settings button QPushButton#settingsbutton
Channels button QPushButton#channelsbutton
Makeroom button QPushButton#makeroombutton
Setstatus button QPushButton#setstatusbutton
Friends button QPushButton#friendsbutton
Alertstaff button QPushButton#alertstaffbutton
Sendmessage button QPushButton#sendmsgbutton
Sendadvertisement button QPushButton#sendadvbutton
Chat output QTextBrowser#chatoutput
Userlist QListWidget#userlist
Userlist item QListWidget#userlist::item (QListWidgetItem?)
Chat input QPlainTextEdit#chatinput
Menu bar (Only the part without menus on it) QMenuBar#menubar
Help menu (the expanded part) QMenu#menuHelp
File menu (the expanded part) QMenu#menuFile

default.css

Default Contents:

<style type="text/css">
	span#warning { color: rgb(0,0,0); background-color: rgb(255, 0, 0); }
	span#highlight { color: rgb(0, 255, 0) !important; }
	a { color: rgb(155, 184, 184) !important; }
	a:hover { color:#cBe7e8 !important; }
</style>
Modifying this file:
  • span#warning: Text and background colours for warning messages.
  • span#highlight: Text colour for highlighted messages.
  • a: Text colour for links.
  • a:hover: Text colour for links you're moused over.

colors.ini

Default Contents:

[buttons]
inactive="255", "255", "255"
highlighted="0", "255", "0"
newmessages="204", "255", "153"
typing="255", "153", "0"
paused="128", "128", "255"
[gender]
none="255", "255", "187"
male="102", "153", "255"
female="255", "102", "153"
transgender="255", "110", "199"
shemale="204", "102", "255"
herm="155", "48", "255"
maleherm="0", "127", "255"
cuntboy="0", "205", "102"
Modifying this file:
  • [buttons]: Marks PM/channel button colours. Do not alter this line.
  • inactive: The default button colour.
  • highlighted: The button colour when a highlighted message has occurred in the channel. If 'alwaysping' is true for that channel, any message will activate this colour.
  • newmessages: The button colour when a new message has appeared in the tab. Also works for join/leave, if you have it turned on.
  • typing: On a PM button, this colour indicates the other player is typing.
  • paused: On a PM button, this colour indicates the other player has typed something, but hasn't sent it.
  • [gender]: Marks the start of gender colours. Do not alter this line. All lines below this one define the colours used to represent the character genders. (In other words, if you can't read the 'none' colour? Now you can change it.)

Clone this wiki locally