<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.labrps.com/index.php?action=history&amp;feed=atom&amp;title=Interface_Customization</id>
	<title>Interface Customization - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.labrps.com/index.php?action=history&amp;feed=atom&amp;title=Interface_Customization"/>
	<link rel="alternate" type="text/html" href="https://wiki.labrps.com/index.php?title=Interface_Customization&amp;action=history"/>
	<updated>2026-04-30T16:37:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.2</generator>
	<entry>
		<id>https://wiki.labrps.com/index.php?title=Interface_Customization&amp;diff=2118&amp;oldid=prev</id>
		<title>LabRPS: Created page with &quot;{{Docnav |Tutorials |Preferences Editor }}  {{TOCright}}  ==Introduction==   The LabRPS interface is based on the modern [http://en.wikipedia.org/wiki/Qt_(toolkit) Qt] toolkit and has a state-of-the-art organization. Some aspects of the interface can be customized. You can, for example, add custom toolbars, with tools from several workbenches or tools defined in macros, and you can create your own keyboard shortcuts. But the menus and...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.labrps.com/index.php?title=Interface_Customization&amp;diff=2118&amp;oldid=prev"/>
		<updated>2024-10-28T23:56:21Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Docnav |&lt;a href=&quot;/Tutorials&quot; title=&quot;Tutorials&quot;&gt;Tutorials&lt;/a&gt; |&lt;a href=&quot;/Preferences_Editor&quot; title=&quot;Preferences Editor&quot;&gt;Preferences Editor&lt;/a&gt; }}  {{TOCright}}  ==Introduction==   The LabRPS interface is based on the modern [http://en.wikipedia.org/wiki/Qt_(toolkit) Qt] toolkit and has a state-of-the-art organization. Some aspects of the interface can be customized. You can, for example, add custom toolbars, with tools from several workbenches or tools defined in macros, and you can create your own keyboard shortcuts. But the menus and...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Docnav&lt;br /&gt;
|[[Tutorials|Tutorials]]&lt;br /&gt;
|[[Preferences_Editor|Preferences Editor]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{TOCright}}&lt;br /&gt;
&lt;br /&gt;
==Introduction== &lt;br /&gt;
&lt;br /&gt;
The LabRPS interface is based on the modern [http://en.wikipedia.org/wiki/Qt_(toolkit) Qt] toolkit and has a state-of-the-art organization. Some aspects of the interface can be customized. You can, for example, add custom toolbars, with tools from several workbenches or tools defined in macros, and you can create your own keyboard shortcuts. But the menus and default toolbars that come with LabRPS and its workbenches cannot be changed.&lt;br /&gt;
&lt;br /&gt;
[[Image:Std_DlgCustomize_tab_Toolbars.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Caption|The Customize dialog box}}&lt;br /&gt;
&lt;br /&gt;
==Usage== &lt;br /&gt;
&lt;br /&gt;
# The commands available in the Customize dialog box depend on the workbenches that have been loaded in the current LabRPS session.  So you should first load all workbenches whose commands you want to have access to.&lt;br /&gt;
# There are several ways to invoke the [[Image:Std_DlgCustomize.svg|16px]] [[Std_DlgCustomize|Std DlgCustomize]] command:&lt;br /&gt;
#* Select the {{MenuCommand|Tools → [[Image:Std_DlgCustomize.svg|16px]] Customize...}} option from the menu.&lt;br /&gt;
#* Right-click a toolbar area and choose {{MenuCommand|[[Image:Std_DlgCustomize.svg|16px]] Customize...}} from the context menu.&lt;br /&gt;
# The &amp;#039;&amp;#039;&amp;#039;Customize&amp;#039;&amp;#039;&amp;#039; dialog box opens. For more information see [[#Options|Options]].&lt;br /&gt;
# The {{Button|Help}} button does not work at this time.&lt;br /&gt;
# Press the {{Button|Close}} button to close the dialog box.&lt;br /&gt;
&lt;br /&gt;
==Options== &lt;br /&gt;
&lt;br /&gt;
In the Customize dialog box the following tabs are available:&lt;br /&gt;
&lt;br /&gt;
===Keyboard=== &lt;br /&gt;
&lt;br /&gt;
[[Image:Std_DlgCustomize_tab_Keyboard.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Caption|The Keyboard tab}}&lt;br /&gt;
&lt;br /&gt;
On this tab custom keyboard shortcuts can be defined. Shortcuts for macro commands can be defined on the [[#Macros|Macros]] tab.&lt;br /&gt;
&lt;br /&gt;
====Search==== &lt;br /&gt;
&lt;br /&gt;
You can search for commands by entering at least 3 characters of their menu text or name in the search field. The search is case-insensitive.&lt;br /&gt;
&lt;br /&gt;
It is also possible to search for shortcuts:&lt;br /&gt;
* In the search field special keys in shortcuts must be entered as strings. For example to search for commands that use {{KEY|Ctrl}} in their shortcut enter {{Value|ctrl}} (4 letters).&lt;br /&gt;
* Add parenthesis to search for single character shortcuts, for example: {{Value|(c)}}.&lt;br /&gt;
* Add a comma and space between the characters of multi-character shortcuts, for example: {{Value|g, b, b}}.&lt;br /&gt;
&lt;br /&gt;
====Add a shortcut==== &lt;br /&gt;
&lt;br /&gt;
# Select a command category from the &amp;#039;&amp;#039;&amp;#039;Category&amp;#039;&amp;#039;&amp;#039; dropdown list.&lt;br /&gt;
# Select a command from the &amp;#039;&amp;#039;&amp;#039;Commands&amp;#039;&amp;#039;&amp;#039; panel.&lt;br /&gt;
#* Optionally click the {{Value|Command}}, {{Value|Shortcut}} or {{Value|Default}} column headings to reorder the list.&lt;br /&gt;
#* Optionally drag the splitter to the right of the panel to resize it.&lt;br /&gt;
# The &amp;#039;&amp;#039;&amp;#039;Current shortcut&amp;#039;&amp;#039;&amp;#039; box displays the current short cut, if available.&lt;br /&gt;
# Enter a new shortcut in the &amp;#039;&amp;#039;&amp;#039;New shortcut&amp;#039;&amp;#039;&amp;#039; input box. Shortcuts can be up to 4 inputs long. Each input is either a single character, a combination of one or more special keys or a combination of one or more special keys and a character. Use {{KEY|Backspace}} to correct mistakes.&lt;br /&gt;
# Other active commands (see [[#Notes|Notes]]) that already use the shortcut will be listed in the &amp;#039;&amp;#039;&amp;#039;Shortcut priority list&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
# Press the {{Button|Assign}} button to assign the new shortcut.&lt;br /&gt;
# If the &amp;#039;&amp;#039;&amp;#039;Shortcut priority list&amp;#039;&amp;#039;&amp;#039; contains more than one command: optionally change its order by selecting individual commands and pressing the {{Button|Up}} button or the {{Button|Down}} button. If active commands share the same shortcut, the shortcut will trigger the one that is highest in the list.&lt;br /&gt;
&lt;br /&gt;
====Remove a shortcut==== &lt;br /&gt;
&lt;br /&gt;
# Select a command category from the &amp;#039;&amp;#039;&amp;#039;Category&amp;#039;&amp;#039;&amp;#039; dropdown list.&lt;br /&gt;
# Select a command from the &amp;#039;&amp;#039;&amp;#039;Commands&amp;#039;&amp;#039;&amp;#039; panel.&lt;br /&gt;
# Press the {{Button|Clear}} button.&lt;br /&gt;
&lt;br /&gt;
====Restore a default shortcut==== &lt;br /&gt;
&lt;br /&gt;
# Select a command category from the &amp;#039;&amp;#039;&amp;#039;Category&amp;#039;&amp;#039;&amp;#039; dropdown list.&lt;br /&gt;
# Select a command from the &amp;#039;&amp;#039;&amp;#039;Commands&amp;#039;&amp;#039;&amp;#039; panel.&lt;br /&gt;
# Press the {{Button|Reset}} button.&lt;br /&gt;
&lt;br /&gt;
====Restore all default shortcuts==== &lt;br /&gt;
&lt;br /&gt;
# Press the {{Button|Reset All}} button.&lt;br /&gt;
&lt;br /&gt;
====Notes==== &lt;br /&gt;
&lt;br /&gt;
* Shortcuts only work for active commands. Active commands are commands that appear in the standard menu, or in the menu of the active workbench, or commands that appear in a &amp;#039;&amp;#039;visible&amp;#039;&amp;#039; toolbar.&lt;br /&gt;
&lt;br /&gt;
{{Top}}&lt;br /&gt;
&lt;br /&gt;
===Toolbars=== &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Std_DlgCustomize_tab_Toolbars.png]]&lt;br /&gt;
&lt;br /&gt;
{{Caption|The Toolbars tab}}&lt;br /&gt;
&lt;br /&gt;
On this tab custom toolbars can be created and modified.&lt;br /&gt;
&lt;br /&gt;
====Search==== &lt;br /&gt;
&lt;br /&gt;
See [[#Search|Keyboard]].&lt;br /&gt;
&lt;br /&gt;
====Select the workbench==== &lt;br /&gt;
&lt;br /&gt;
# In the dropdown list on the right select the workbench whose custom toolbars you want to modify. The {{Value|Global}} option is there for custom toolbars that should be available in all workbenches.&lt;br /&gt;
&lt;br /&gt;
====Create a toolbar==== &lt;br /&gt;
&lt;br /&gt;
# Press the {{Button|New...}} button.&lt;br /&gt;
# Enter a name in the dialog box that opens.&lt;br /&gt;
# Press the {{Button|OK}} button.&lt;br /&gt;
# The new toolbar will appear in the panel on the right.&lt;br /&gt;
&lt;br /&gt;
====Rename a toolbar==== &lt;br /&gt;
&lt;br /&gt;
# Select a toolbar in the panel on the right.&lt;br /&gt;
# Press the {{Button|Rename...}} button.&lt;br /&gt;
# Enter a new name in the dialog box that opens.&lt;br /&gt;
# Press the {{Button|OK}} button.&lt;br /&gt;
&lt;br /&gt;
====Delete a toolbar==== &lt;br /&gt;
&lt;br /&gt;
# Select a toolbar in the panel on the right.&lt;br /&gt;
# Press the {{Button|Delete}} button.&lt;br /&gt;
&lt;br /&gt;
====Disable a toolbar==== &lt;br /&gt;
&lt;br /&gt;
# Uncheck the checkbox in front of the toolbar name in the panel on the right.&lt;br /&gt;
# A disabled toolbar will be invisible in the LabRPS interface.&lt;br /&gt;
&lt;br /&gt;
====Add a command==== &lt;br /&gt;
&lt;br /&gt;
# At least one custom toolbar is required. See [[#Create_a_toolbar|Create a toolbar]].&lt;br /&gt;
# Select the correct toolbar in the panel on the right. If no toolbar is selected, the command will be added to the first toolbar in the list.&lt;br /&gt;
# Select a command category from the &amp;#039;&amp;#039;&amp;#039;Category&amp;#039;&amp;#039;&amp;#039; dropdown list. Macro commands that have been set up on the [[#Macros|Macros]] tab appear in the {{Value|Macros}} category.&lt;br /&gt;
# Select a command from the &amp;#039;&amp;#039;&amp;#039;Commands&amp;#039;&amp;#039;&amp;#039; panel, or select {{Value|&amp;lt;Separator&amp;gt;}} to add a separator (a line between two toolbar buttons).&lt;br /&gt;
#* Optionally drag the splitter to the right of the panel to resize it.&lt;br /&gt;
# Press {{Button|[[Image:Button_right.svg|16px]]}} button.&lt;br /&gt;
&lt;br /&gt;
====Remove a command==== &lt;br /&gt;
&lt;br /&gt;
# If required, expand the toolbar in the panel on the right.&lt;br /&gt;
# Select a command.&lt;br /&gt;
# Press {{Button|[[Image:Button_left.svg|16px]]}} button.&lt;br /&gt;
&lt;br /&gt;
====Change a command position==== &lt;br /&gt;
&lt;br /&gt;
# If required, expand the toolbar in the panel on the right.&lt;br /&gt;
# Select a command.&lt;br /&gt;
# Press the {{Button|[[Image:Button_up.svg|16px]]}} button or the {{Button|[[Image:Button_down.svg|16px]]}} button.&lt;br /&gt;
# Optionally repeat this until the command is in the correct position.&lt;br /&gt;
&lt;br /&gt;
====Notes==== &lt;br /&gt;
&lt;br /&gt;
* Toolbars belonging to the current workbench are updated immediately, but after disabling/re-enabling a toolbar a workbench change is required (switch to a different workbench and then switch back).&lt;br /&gt;
* To update global toolbars a workbench change (if commands have been added or removed) or a restart (if the order of a toolbar has changed or a toolbar was renamed) is required.&lt;br /&gt;
&lt;br /&gt;
{{Top}}&lt;br /&gt;
&lt;br /&gt;
===Macros=== &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Std_DlgCustomize_tab_Macros.png]]&lt;br /&gt;
&lt;br /&gt;
{{Caption|The Macros tab}}&lt;br /&gt;
&lt;br /&gt;
On this tab macro commands can be set up. Once set up, they can be added to custom toolbars. Macros installed with the [[Image:Std_AddonMgr.svg|16px]] [[Std_AddonMgr|Addon Manager]] are set up automatically, and added to a {{Value|Global}} toolbar (see [[#Toolbars|Toolbars]]), if you confirm the &amp;#039;&amp;#039;&amp;#039;Add button&amp;#039;&amp;#039;&amp;#039; popup during the installation process.&lt;br /&gt;
&lt;br /&gt;
If you want to use a macro downloaded from a different source you will have to install it manually. See [[How_to_install_macros|How to install macros]] for more information. Note that LabRPS uses a dedicated folder for macros and only macros in that folder can be set up. Use the [[Image:Std_DlgMacroExecute.svg|16px]] [[Std_DlgMacroExecute|Std DlgMacroExecute]] command to find this folder on your system.&lt;br /&gt;
&lt;br /&gt;
====Add a macro command==== &lt;br /&gt;
&lt;br /&gt;
# In the &amp;#039;&amp;#039;&amp;#039;Macro&amp;#039;&amp;#039;&amp;#039; dropdown list select a macro.&lt;br /&gt;
# Enter a &amp;#039;&amp;#039;&amp;#039;Menu text&amp;#039;&amp;#039;&amp;#039;. This will be the name used to identify the macro command and will also appear in the toolbar if there is no icon.&lt;br /&gt;
# Optionally enter a &amp;#039;&amp;#039;&amp;#039;Tool tip&amp;#039;&amp;#039;&amp;#039;. This text will appear near the location of the mouse when you hover the toolbar icon.&lt;br /&gt;
# Optionally enter a &amp;#039;&amp;#039;&amp;#039;Status text&amp;#039;&amp;#039;&amp;#039;. This text will appear in the [[Status_bar|status bar]] when you hover the toolbar icon.&lt;br /&gt;
# Optionally enter the wiki page for the macro, if available, in the &amp;#039;&amp;#039;&amp;#039;What&amp;#039;s this&amp;#039;&amp;#039;&amp;#039; input box. Enter the page name, not the full URL.&lt;br /&gt;
# Optionally enter a shortcut in the &amp;#039;&amp;#039;&amp;#039;Accelerator&amp;#039;&amp;#039;&amp;#039; input box. See [[#Keyboard|Keyboard]] for more information.&lt;br /&gt;
# To add an icon:&lt;br /&gt;
## Press the &amp;#039;&amp;#039;&amp;#039;Pixmap&amp;#039;&amp;#039;&amp;#039; {{Button|...}} button.&lt;br /&gt;
## The &amp;#039;&amp;#039;&amp;#039;Choose Icon&amp;#039;&amp;#039;&amp;#039; dialog box opens.&lt;br /&gt;
## If required press the {{Button|Icon folders...}} button to add an icon folder.&lt;br /&gt;
## Select an icon from the panel. The &amp;#039;&amp;#039;&amp;#039;Choose Icon&amp;#039;&amp;#039;&amp;#039; dialog box closes automatically.&lt;br /&gt;
# Press the {{Button|Add}} button.&lt;br /&gt;
# The macro command appears in the panel on the left.&lt;br /&gt;
# The macro command can now be selected on the [[#Toolbars|Toolbars]] tab.&lt;br /&gt;
&lt;br /&gt;
====Remove a macro command==== &lt;br /&gt;
&lt;br /&gt;
# Select the macro command in the panel on the left.&lt;br /&gt;
# Press the {{Button|Remove}} button.&lt;br /&gt;
&lt;br /&gt;
====Change a macro command==== &lt;br /&gt;
&lt;br /&gt;
# Double-click the macro command in the panel on the left.&lt;br /&gt;
# Make the required changes. Note that you cannot remove the icon, you can only replace it.&lt;br /&gt;
# Press the {{Button|Replace}} button.&lt;br /&gt;
&lt;br /&gt;
{{Top}}&lt;br /&gt;
&lt;br /&gt;
==Themes== &lt;br /&gt;
&lt;br /&gt;
LabRPS supports complete theming of the interface, via .qss stylesheets. The [https://doc.qt.io/qt-5/stylesheet-syntax.html qss format] is very similar to the [https://en.wikipedia.org/wiki/CSS css format] used in web pages, it basically adds methods to reference the different widgets and elements of the Qt interface. You can change the default theme (which simply takes the style defined by your desktop system) by selecting a &amp;#039;&amp;#039;&amp;#039;style sheet&amp;#039;&amp;#039;&amp;#039; in the [[Preferences_Editor#General|LabRPS preferences]].&lt;br /&gt;
&lt;br /&gt;
You can also create your own theme if you are not satisfied with the themes that are bundled with LabRPS, for example by editing an [https://github.com/LabRPS/LabRPS/tree/master/src/Gui/Stylesheets existing style sheet]. Your new style must be placed in a specific folder for it to be found by LabRPS:&lt;br /&gt;
* {{FileName|%APPDATA%/LabRPS/Gui/Stylesheets}} (on Windows). The {{FileName|%APPDATA%}} folder can be retrieved by entering {{Incode|App.getUserAppDataDir()}} in the [[Python_console|Python console]].&lt;br /&gt;
* {{FileName|$HOME/.LabRPS/Gui/Stylesheets}} (on Linux).&lt;br /&gt;
* {{FileName|$HOME/Library/Application Support/LabRPS/Gui/Stylesheets}} (on macOS).&lt;br /&gt;
&lt;br /&gt;
{{Top}}&lt;br /&gt;
&lt;br /&gt;
==Addons== &lt;br /&gt;
&lt;br /&gt;
Addons from the [[Image:Std_AddonMgr.svg|16px]] [[Std_AddonMgr|Addon Manager]] offer yet another way to customize the user interface. Several [[Preference_Packs|Preference Packs]] to change the [[#Themes|theme]] are available.&lt;br /&gt;
&lt;br /&gt;
{{Docnav&lt;br /&gt;
|[[Tutorials|Tutorials]]&lt;br /&gt;
|[[Preferences_Editor|Preferences Editor]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Std Base navi}}&lt;br /&gt;
{{Interface navi}}&lt;br /&gt;
{{Userdocnavi}}&lt;/div&gt;</summary>
		<author><name>LabRPS</name></author>
	</entry>
</feed>