QcadUserTheme
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
- petevick
- Premier Member
- Posts: 392
- Joined: Tue May 19, 2020 9:34 am
- Location: North Norfolk coast UK
QcadUserTheme
NEW VERSION !! v7.0 Lots of changes !! Linux and Windows versions - https://www.qcad.org/rsforum/viewtopic. ... 002#p37002
......
QcadUserTheme will enable you to create new Qcad stylesheets without having any css/qss coding skills. The stylesheet included in the MyTheme folder in the zip files is based on my Heather theme, this should give you a base to work off. You cannot use any of my original themes as they are in a slightly different format.
There are two versions of QcadUserTheme, one for Linux users and one for Windows users. There are separate zip files for each OS.
Please read the Readme.txt file included in each zip, and uploaded here separately. It gives instructions on the very simple manual installation and how to use QcadUserTheme. There is also a pdf included in the zip files showing the locations of the various colours within Qcad.
It would also be great if you shared any stylesheets you create, others might want to use them. If you do upload any stylesheets, keep the stylesheet in it's containing folder.
Please give any constructive feedback, this is my first program using Pascal, and it's been over 40 years since I last did any programming in anger, so things could be a bit 'fuzzy'.
These are screenshots of QcadUserTheme in Linux and then Windows.
Enjoy.
Pete Vickerstaff
......
QcadUserTheme will enable you to create new Qcad stylesheets without having any css/qss coding skills. The stylesheet included in the MyTheme folder in the zip files is based on my Heather theme, this should give you a base to work off. You cannot use any of my original themes as they are in a slightly different format.
There are two versions of QcadUserTheme, one for Linux users and one for Windows users. There are separate zip files for each OS.
Please read the Readme.txt file included in each zip, and uploaded here separately. It gives instructions on the very simple manual installation and how to use QcadUserTheme. There is also a pdf included in the zip files showing the locations of the various colours within Qcad.
It would also be great if you shared any stylesheets you create, others might want to use them. If you do upload any stylesheets, keep the stylesheet in it's containing folder.
Please give any constructive feedback, this is my first program using Pascal, and it's been over 40 years since I last did any programming in anger, so things could be a bit 'fuzzy'.
These are screenshots of QcadUserTheme in Linux and then Windows.
Enjoy.
Pete Vickerstaff
- Attachments
-
- Readme.txt
- (3.94 KiB) Downloaded 555 times
Last edited by petevick on Wed Mar 30, 2022 4:20 pm, edited 14 times in total.
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
- petevick
- Premier Member
- Posts: 392
- Joined: Tue May 19, 2020 9:34 am
- Location: North Norfolk coast UK
Re: QcadUserTheme
Windows users need to make sure that wherever they place the QcadUserTheme folder it does not need Admin rights.
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
Re: QcadUserTheme
That is a great idea! Thanks for the program.
... I tested it with your Midnight css.
Tried in Win 10/64 to load a .ccs but it keeps telling me it isn't a valid .ccs. What is a valid .ccs ...
... I tested it with your Midnight css.
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
- petevick
- Premier Member
- Posts: 392
- Joined: Tue May 19, 2020 9:34 am
- Location: North Norfolk coast UK
Re: QcadUserTheme
Hi Husky, as stated in the Readme.txt file......
So you MUST use the css file that is in the MyTheme folder in the zip file.!! IMPORTANT NOTES !!
It is not possible to open ANY of my previous stylesheets, you will just get a message
to say the file is invalid.
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
Re: QcadUserTheme
Ught ... I was precipitative. Sorry for that!
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
- petevick
- Premier Member
- Posts: 392
- Joined: Tue May 19, 2020 9:34 am
- Location: North Norfolk coast UK
Re: QcadUserTheme
no worries Husky, we men are not supposed to read the instructions
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
- ryancousins
- Premier Member
- Posts: 367
- Joined: Thu Mar 19, 2020 3:47 am
- Location: Michigan, USA
Re: QcadUserTheme
This is pretty cool, petevick! I wish I could create programs like this. Maybe one day.
-
- Premier Member
- Posts: 474
- Joined: Mon Sep 30, 2019 6:21 am
- Location: Melbourne - Australia
Re: QcadUserTheme
Hi All
Well I decided to have a play with PeteVicks QcadUserTheme Creator.. Nice work Pete
For all you gals and guys that don't like colours I've made a Greyscale Theme using this Tool.
It did take a while to do believe it or not
Previews below in Mint Linux 20.1 & Windows 10.
Cheers
John
.
Well I decided to have a play with PeteVicks QcadUserTheme Creator.. Nice work Pete
For all you gals and guys that don't like colours I've made a Greyscale Theme using this Tool.
It did take a while to do believe it or not
Previews below in Mint Linux 20.1 & Windows 10.
Cheers
John
.
IF IT IS TO BE IT IS UP TO ME [ Ten most powerful 2 letter words ]
- petevick
- Premier Member
- Posts: 392
- Joined: Tue May 19, 2020 9:34 am
- Location: North Norfolk coast UK
Re: QcadUserTheme
Excellent John, I'm in the colour category, but I quite like thatJohn Hyslop wrote: ↑Fri Apr 02, 2021 8:08 amHi All
Well I decided to have a play with PeteVicks QcadUserTheme Creator.. Nice work Pete
For all you gals and guys that don't like colours I've made a Greyscale Theme using this Tool.
It did take a while to do believe it or not
Previews below in Mint Linux 20.1 & Windows 10.
Cheers
John
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
- petevick
- Premier Member
- Posts: 392
- Joined: Tue May 19, 2020 9:34 am
- Location: North Norfolk coast UK
Re: QcadUserTheme
I've updated QcadUserTheme to v2.0 as follows...
Added / Improved
Please note that the Linux version will only run in 64bit Linux platforms, plans are afoot for a 32bit version. The Windows version is 32bit but will run in Windows 64bit.
v2.0 Linux 64bit downloaded 29 times
v2.0 Windows 32bit downloaded 30 times
Added / Improved
- Right click on any colour button, Copy and Paste popup menu appears. Copy the color and paste to any other colour button. The current paste colour is displayed at the bottom of the app window.
- Message dialogs improved, they will now generally popup relative to the cursor position.
- Base and Menu>menu colors>Menu item background - was not writing to the css file.
- Miscellaneous>Tool Matrix - this should read Headers not Background.
Please note that the Linux version will only run in 64bit Linux platforms, plans are afoot for a 32bit version. The Windows version is 32bit but will run in Windows 64bit.
v2.0 Linux 64bit downloaded 29 times
v2.0 Windows 32bit downloaded 30 times
Last edited by petevick on Mon Apr 26, 2021 12:18 pm, edited 1 time in total.
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
- petevick
- Premier Member
- Posts: 392
- Joined: Tue May 19, 2020 9:34 am
- Location: North Norfolk coast UK
Re: QcadUserTheme
This is the Linux 32 bit version of QcadUserTheme.
v2.0 Linux bit downloaded 21 times
v2.0 Linux bit downloaded 21 times
Last edited by petevick on Mon Apr 26, 2021 12:19 pm, edited 1 time in total.
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
- petevick
- Premier Member
- Posts: 392
- Joined: Tue May 19, 2020 9:34 am
- Location: North Norfolk coast UK
Re: QcadUserTheme
At long last, updated to version 3.0, and now with added preview !!! but only for Linux users at the moment.
The preview is live and updates as you alter any colour button. The tabs in the left and right sides of the app are always sync'd to each other.
The preview is only meant to be an approximation of the Qcad environment, there are some inaccuracies, but the main aim was to show the combination of colours, like how text looks on backgrounds.
You can extract the contents of the zip file anywhere, but you will have to edit the launcher file included to suit.
Don't forget to make sure the to set the property permission Execute is checked otherwise it won't run.
If you are already using QcadUserTheme, you can extract the executable from the zip into your current QcadUserTheme folder and overwrite the old file.
Attached are 32bit and 64bit Linux versions.
Screenshot.....
v3.0 Linux 64bit downloaded 2 times
v3.0 Linux 32bit downloaded 2 times
The preview is live and updates as you alter any colour button. The tabs in the left and right sides of the app are always sync'd to each other.
The preview is only meant to be an approximation of the Qcad environment, there are some inaccuracies, but the main aim was to show the combination of colours, like how text looks on backgrounds.
You can extract the contents of the zip file anywhere, but you will have to edit the launcher file included to suit.
Don't forget to make sure the to set the property permission Execute is checked otherwise it won't run.
If you are already using QcadUserTheme, you can extract the executable from the zip into your current QcadUserTheme folder and overwrite the old file.
Attached are 32bit and 64bit Linux versions.
Screenshot.....
v3.0 Linux 64bit downloaded 2 times
v3.0 Linux 32bit downloaded 2 times
Last edited by petevick on Mon Apr 26, 2021 12:20 pm, edited 1 time in total.
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
- petevick
- Premier Member
- Posts: 392
- Joined: Tue May 19, 2020 9:34 am
- Location: North Norfolk coast UK
Re: QcadUserTheme
Slight hitch with the Windows version, but all fixed now.
This is a 32bit Windows version that will also run in a Windows 64 bit environment, tested in Win2000 32bit, Win7 64bit and Win10 64bit.
Screenshot.......
v3.0 Windows 32bit downloaded 6 times
This is a 32bit Windows version that will also run in a Windows 64 bit environment, tested in Win2000 32bit, Win7 64bit and Win10 64bit.
Screenshot.......
v3.0 Windows 32bit downloaded 6 times
Last edited by petevick on Mon Apr 26, 2021 12:21 pm, edited 1 time in total.
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
- petevick
- Premier Member
- Posts: 392
- Joined: Tue May 19, 2020 9:34 am
- Location: North Norfolk coast UK
Re: QcadUserTheme
Updated to version v3.5 Linux and Windows
Ironed out a few bugs, plus a few cosmetic changes and updates as follows
Updates
QcadUserTheme v3.5 Linux-64bit.zip Downloaded 10 times
QcadUserTheme v3.5 Linux-32bit.zip Downloaded 6 times
New version, see here -->> viewtopic.php?f=30&p=33383#p33383
Ironed out a few bugs, plus a few cosmetic changes and updates as follows
Updates
- The position of the app window is saved on exit.
- Check and radio button icons added to the Preview>Miscellaneous tab as a color guide only.
- The Combo list details were on two preview tabs, they are now just on the Base / Menu / Combo tab.
- All the push buttons, tool bar buttons and tool buttons are now static and show the state of the buttons separately. You can now see at a glance when the hover and pressed colors are changed
- The description text in the Base / Menu / Combo tab is now hopefully clearer to read, and now includes the combo list.
QcadUserTheme v3.5 Linux-64bit.zip Downloaded 10 times
QcadUserTheme v3.5 Linux-32bit.zip Downloaded 6 times
New version, see here -->> viewtopic.php?f=30&p=33383#p33383
Last edited by petevick on Tue May 25, 2021 11:48 am, edited 3 times in total.
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
-
- Premier Member
- Posts: 474
- Joined: Mon Sep 30, 2019 6:21 am
- Location: Melbourne - Australia
Re: QcadUserTheme
Ladies & Gentlemen
I present to you all the one and only "BANANA" Theme
Here for a limited time only, get it before it disappears into the depths of cyberspace
Inspired by "a bunch of Bananas I found on the internet"... see below
....
Well mainly this was a Theme to test out the Colour Picker , I selected parts of the image
below and applied it to this Theme...
WARNING!! SUN GLASSES MAY NEED TO BE WORN WHILE USING THIS THEME
Created with QcadUserTheme (c) 2021 Pete Vickerstaff. All rights reserved..
..
.. .. ..
Cheers
John Hyslop
I present to you all the one and only "BANANA" Theme
Here for a limited time only, get it before it disappears into the depths of cyberspace
Inspired by "a bunch of Bananas I found on the internet"... see below
....
Well mainly this was a Theme to test out the Colour Picker , I selected parts of the image
below and applied it to this Theme...
WARNING!! SUN GLASSES MAY NEED TO BE WORN WHILE USING THIS THEME
Created with QcadUserTheme (c) 2021 Pete Vickerstaff. All rights reserved..
..
.. .. ..
Cheers
John Hyslop
Last edited by John Hyslop on Tue Apr 27, 2021 6:51 am, edited 1 time in total.
IF IT IS TO BE IT IS UP TO ME [ Ten most powerful 2 letter words ]