Qcad Theme Lite

Discussion forum for C++ and script developers who are using the QCAD development platform or who are looking to contribute to QCAD (translations, documentation, etc).

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files, scripts and screenshots.

Post one question per topic.

Post Reply
User avatar
petevick
Premier Member
Posts: 392
Joined: Tue May 19, 2020 9:34 am
Location: North Norfolk coast UK

Qcad Theme Lite

Post by petevick » Tue Nov 16, 2021 6:34 pm

See here for latest versions - https://www.qcad.org/rsforum/viewtopic. ... 295#p37339

Qcad Theme Lite v1.0

Qcad Theme Lite is a much simpler version of Qcad Theme Designer (QTD) with a much smaller footprint.

Qcad Theme Lite will edit any stylesheet created by QTD. There are four simple steps to creating a new Qcad stylsheet....
  • STEP 1 - Open an existing stylesheet for editing. This could be an existing one or one were you have copied an existing stylesheet folder, pasted and renamed the folder.
  • STEP 2 - Select a base background colour by clicking the colour swatch button and select a colour from the colour picker. On clicking OK the preview area will update to reflect the colour selected.
  • STEP 3 - Select a matching icon colour from the list, the check icons in the preview area will be updated with the colour selected.
  • STEP 4 - Save the stylesheet.
NOTES
  • All the elements in the preview area have hint tips available.
  • For Qcad to have access to the saved stylesheet, the stylesheet folder must reside in Qcads 'themes' folder.
Installation
Download the appropriate zip file for your particular operating system. Extract the Qcad Theme Lite folder in the zip file to anywhere that you have permission to read and write to on your system.

The Linux installations has an additional file in the zip folder called QcadThemeLite.desktop. This is a Linux desktop launcher. You can copy or extract this to your desktop, but you MUST complete the following two actions after you have copied it to your desktop.....
  • 1. Now the file is on your desktop the .desktop file extension will no longer be visible. Right click on the file, select Properties and in the Command field, edit the /home/username/ part to reflect where on your system you have placed the 'Qcad Theme Lite' folder. To change the icon, click on it and browse to the Qcad Theme Lite folder and select the QcadThemeLite.png icon.
  • 2. Still in the Properties window, click on the Permissions button at the top and make sure 'Allow executing file as program' is checked, this part is is essential for the launcher to work.
Qcad Theme Lite is offered as an alternative to Qcad Theme Designer.


I have to mention forum member John Hyslop again, he suggested a Lite version a few months ago. I thought at the time there was no real need for a Lite version, but i had nothing to do :roll: so.... hopefully it'll be useful to those who don't want to mess around with all the buttons in QTD.


Screenshots of Qcad Theme Lite v1.0 in Linux and then Windows.
Qcad Theme Lite v1 Linux.png
Qcad Theme Lite v1 Linux.png (65.18 KiB) Viewed 5873 times
Qcad Theme Lite v1 Windows.png
Qcad Theme Lite v1 Windows.png (43.24 KiB) Viewed 5873 times

GIF of Qcad Theme Lite showing the work flow and preview hint tips.
QcadThemeLite.gif
QcadThemeLite.gif (706.97 KiB) Viewed 5873 times
.
.
v1.0 Linux 64bit downloaded 6 times
v1.0 Linux 32bit downloaded 6 times
v1.0 Windows 32bit downloaded 7 times

See below for new version - https://www.qcad.org/rsforum/viewtopic. ... 523#p35523
Last edited by petevick on Thu Jun 02, 2022 8:55 am, edited 3 times in total.
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6

John Hyslop
Premier Member
Posts: 473
Joined: Mon Sep 30, 2019 6:21 am
Location: Melbourne - Australia

Re: Qcad Theme Lite

Post by John Hyslop » Wed Nov 17, 2021 3:25 am

Nice work Pete

A nice and "so easy to use" compact application... :)
See Size Difference Compared to Qcad Theme Designer :shock:
QTL-Size.jpg
QTL-Size.jpg (326.55 KiB) Viewed 5836 times
Cheers
John
IF IT IS TO BE IT IS UP TO ME [ Ten most powerful 2 letter words ]

User avatar
petevick
Premier Member
Posts: 392
Joined: Tue May 19, 2020 9:34 am
Location: North Norfolk coast UK

Re: Qcad Theme Lite

Post by petevick » Sat Nov 27, 2021 2:07 pm

Qcad Theme Lite UPDATED

Version 1.1. Just one bug fix, updated to fix some single character width combo box list widths, see https://www.qcad.org/bugtracker/index.p ... k_id=2314 for details.

v1.1 Linux 64bit downloaded 27 times
v1.1 Linux 32bit downloaded 26 times
v1.1 Windows downloaded 25 times
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6

User avatar
petevick
Premier Member
Posts: 392
Joined: Tue May 19, 2020 9:34 am
Location: North Norfolk coast UK

Re: Qcad Theme Lite

Post by petevick » Fri Jan 21, 2022 10:45 am

Qcad Theme Lite update, version v1.3

Version 1.3 is a moderate update, it introduces one addition together with a number of changes and bug fixes, all as listed below.

ADDITIONS
  • The app name and version level is now saved with the stylesheet on the first line.
CHANGES
  • When opening a stylesheet you now no longer have to select the stylesheet.css file, just select or highlight the folder that the stylesheet resides in and click the Open button. If no stylesheet can be found, a message to that effect will be displayed.
    .
  • The current file field is now truncated to just the folder name, and, depending on the path length, is shortened at the beginning of the file path. The hint tip will display the full path.
    .
  • Prior to this version, if there were any unsaved changes when you quit the app, a message gave two options to either quit or not. In this version you now have three options. The message displayed is 'Do you want to save the stylesheet ?', Yes will save and quit, No will quit, Cancel will close the message without quitting.
    .
FIXED BUGS
  • In Windows OS it was possible to get a write error when using Save. Now, when opening a stylesheet that resides in a read only folder, a message to the effect that it's not possible to load the stylesheet will be displayed, as there's no point in loading the stylesheet if it cannot be saved.
    .
  • Under certain conditions, particularly in Windows OS, an error could occur when accessing a read only folder.
v1.3 Linux 64bit downloaded 19 times
v1.3 Linux 32bit downloaded 20 times
v1.3 Windows downloaded 23 times
Last edited by petevick on Thu Feb 24, 2022 1:50 pm, edited 1 time in total.
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6

User avatar
petevick
Premier Member
Posts: 392
Joined: Tue May 19, 2020 9:34 am
Location: North Norfolk coast UK

Re: Qcad Theme Lite

Post by petevick » Thu Feb 24, 2022 1:47 pm

Qcad Theme Lite update, version v1.4

Version 1.4 is a moderate update, it introduces additions and changes as listed below.

ADDITIONS
  • A SaveAs and a File Info button have been added, see the screenshots below.
  • The About and Quit buttons are now just icons to accommodate the above new buttons.
    Linux and Windows.png
    Linux and Windows.png (117.86 KiB) Viewed 4572 times
CHANGES
  • The system folder browser has quite a few disadvantages, so I've changed it for a custom folder browser. Apart from selecting a specific folder, this browser also allows you to rename , add or delete a folder. This can be done by either clicking the buttons in the toolbar, right click on a folder to display a context menu or via keyboard shortcuts (see below). Click the Select button or use the S keyboard shortcut to accept the selected folder. Click the Cancel button or press the keyboard Esc button to exit the browser with no selection. The browser window is sizeable and it's size is saved to the config file. The icons in the browser vary between the Linux and Windows versions as seen below.
    browsers.PNG
    browsers.PNG (70.63 KiB) Viewed 4572 times
    Toolbar button details....
    • folder-del-both.png
      folder-del-both.png (14.04 KiB) Viewed 4572 times
    • Click this button to Delete the selected folder, confirmation is required.
      You can also right click on a folder and select Delete from the context menu, or
      press the Delete keyboard button or Press the - numeric keyboard button.
      .
      folder-new-both.png
      folder-new-both.png (10.93 KiB) Viewed 4572 times
    • Click this button to create a New folder. A temporary folder is created in the selected folder, in Linux it's called 'Untitled Folder', in Windows it's called 'New folder', it'll be in an edit ready state, just start typing the name you want.
      You can also right click on a folder and select New Folder from the context menu, or use the N keyboard shortcut, or press the + numeric keyboard button.
      .
      folder-edit-both.png
      folder-edit-both.png (13.06 KiB) Viewed 4572 times
    • Click this button to Rename the selected folder. The name will enter the editing state, just type in the new name.
      You can also long double click on the folder name or right click on a folder and select Rename from the context menu, or use the R keyboard shortcut.
      .
    • Visual changes to the Adjust AutoFill slider, there was a display problem in Linux.
    See here for latest versions - https://www.qcad.org/rsforum/viewtopic. ... 295#p37339
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6

Post Reply

Return to “QCAD Programming, Script Programming and Contributing”