Guerilla Stylesheet Reference#
Here, you can find the stylesheet selectors for the various UI that is found primarily in Guerilla. Note that some of these may also be used in other tools - for instance, both Sapien and Foundry are capable of providing a tag editor UI - and as such, will use the same controls and thus the same stylesheet selectors as below.
Tag Editor Frame#
The frame of any tag editing UI can be selected with #tag_editor_frame
, and is a QFrame.
Tag Fields#
Tag Blocks#
The primary selector for a tag block is #ui_tag_block
. Below are the child controls of a tag block that can be selected for and styled.
Title | Selector | Description | Type |
---|---|---|---|
Expand/Collapse Button | #btn_expand_collapse |
The expand/collapse button in the tag header. | QPushButton |
Expand/Collapse Button Frame | #btn_expand_collapse_frame |
A frame around the Expand/Collapse button. Used to add a second border around the button in the Classic theme. | QFrame |
Block Header Panel | #block_header_bg |
The top header panel of the block, containing various block controls. | QFrame |
Block Left Border | #block_edge_bg |
The left border edge of the tag block. | QFrame |
Block Title | #lbl_block_title |
The block title label. | QLabel |
Entry List ComboBox | #cbox_entries |
The ComboBox containing the list of block entries. | QComboBox |
Add Button | #btn_add |
The 'Add' button. | QPushButton |
Insert Button | #btn_insert |
The 'Insert' button. | QPushButton |
Duplicate Button | #btn_duplicate |
The 'Duplicate' button. | QPushButton |
Delete Button | #btn_delete |
The 'Delete' button. | QPushButton |
Delete All Button | #btn_delete_all |
The 'Delete All' button. | QPushButton |
Field List Container | #block_fields_frame |
The container that contains all block fields. | QFrame |
Comments#
The primary selector for a comment field is #ui_comment_field
. Below are the child controls of a comment that can be selected for and styled.
Title | Selector | Description | Type |
---|---|---|---|
Comment Frame | #comment_frame |
The frame and container around the comment. | QFrame |
Comment Title | #lbl_title |
The title of the comment. | QLabel |
Comment Description | #lbl_explanation |
The description of the comment. Not always present. | QLabel |
Bitfields#
The primary selector for a bitfield field is #bitfield_frame
, which also acts as the frame containing all bitfield flags. Below are the child controls of a bitfield that can be selected for and styled.
Styling Bitfield Flags (Bits)#
Each bitfield bit is simply a QCheckBox. If you need or wish to select for an exact bit/flag ID, you can do so with #bitfield_bit_{id}
, replacing {id}
with the ID of the bit.
Enums#
Enum field editors are a simple QComboBox, and can be specifically selected by using #enum_field_{id}
, replacing {id}
with the ID of the field.
Ascii#
Ascii field editors are a simple QLineEdit, and can be specifically selected by using #ascii_field_{id}
, replacing {id}
with the ID of the field.
Output Window#
The Output Window can be selected using #guerilla_console_output
, and is a QDockWidget. To select the output text field, you can select it with #output_text
.