User Interface

From LibreCAD wiki
Jump to: navigation, search

Moving and resizing widgets

Toolbars and dock widgets can be dragged and dropped to the
top, bottom, left or right of the main window.
Drag the left edge of a horizontal toolbar,
or the top edge of a vertical toolbar.
Drag the title bar of a dock widget.

Widgets can also be resized by dragging their edges.

Dock Areas

Dock widgets (e.g. command line or layer list)
can be moved and docked at the top, bottom, left or right.
You can now show and hide all the dock widgets
in a specific dock area. You can also toggle
the visibility of all floating dock widgets
(those which are not currently docked).

Custom Widgets

Toolbar Creator

To create a new toolbar:

  1. input the name
  2. double-click on an action to add it
  3. drag and drop to arrange actions
  4. press create

To edit an existing toolbar:

  1. select the toolbar from the drop down menu
  2. double-click to remove actions
  3. drag and drop to arrange actions
  4. press create

To delete an existing toolbar:

  1. select the toolbar from the drop down menu
  2. press destroy

Menu Creator

To create a new menu:

  1. input the name
  2. double-click on an action to add it
  3. drag and drop to arrange actions
  4. press create

To edit an existing menu:

  1. select the menu from the drop down menu
  2. double-click to remove actions
  3. drag and drop to arrange actions
  4. press update

To assign a menu:

  1. press assign
  2. select the desired activator(s)
  3. press save

To remove assignment:

  1. press assign
  2. deselect the undesired activator(s)
  3. press save

To delete an existing menu:

  1. select the menu from the drop down menu
  2. press destroy

Command-line

Since 2.1.0:

  • Command-line output is automatically copied when highlighted.
  • Keycode mode was reintroduced as a toggle in Application Preferences -> Defaults (requires restart)

Keycode mode automatically accepts 2 character commands. In other words, you don't need to press enter.

Since 2.2.0:

  • A new button with a drop-down menu has been added to the command-line
  • Keycode mode was rewritten and the toggle is now accessed by the new command-line button.

Toggling keycode mode no longer requires restarting LibreCAD. If a 2 character command is not recognized, you can continue with a longer command.

  • Spacebar now accepts commands like Enter.
  • The 'cal' command now toggles a calculator mode.
  • Multi-command input can be separated by semicolons: ci;0,0;10
  • Command files (command input separated by newlines) can be loaded from the new command-line button
  • Multi-command input can be assigned to a variable; values can also contain variables (they are read recursively)
a=ci;0,0;10
b=ci;10,0;10
c=\a;\b;kill
\c
  • A variable file can be set to load at startup via Application Preferences -> Paths -> Variable File
  • Relative coordinates such as @10,20 can also be written as 10..20 (allowing for keypad input)

Other