Wykres commitów

11 Commity (bd40d95fa4166572d35b20fecbd55c937618c92a)

Autor SHA1 Wiadomość Data
Carl Tremblay e24c5b4ff6 code cleanup 2019-10-10 20:18:42 -04:00
Carl Tremblay 9319924f13 First Step of default UI css to solved about dialog styling issue and broken skin mode
All color and style for the default UI need to be placed outside 
constructor and defined after the component is defined.

Unless it could broke skin mecanism. You define style by giving style 
class to component, then add the css class the default.css file

At the beginning of NanoVNASaver initialization, 
NanoVNA_UI.defaultUI(app) is called to initialize the default css file.

(For future release: When all needed component will be ported in the 
default.css file, this will solved the know issue on Skin Mode )
2019-10-10 20:12:11 -04:00
cinosh07 72b01e0bab Not there yet, maybe during evenig today...
About dialog palette removed from the constructor so it will be possible 
to skin.
It has been replace by styling. Giving another palette than the global 
one, broke the skin mode for about dialog. Only Chart Palette should 
remain static.

All color and style for the default UI need to be placed outside 
constructor and defined after the component is defined.

Unless it could broke skin mecanism

i.e. Like this:   self.aboutWindow = ....
                  self.aboutWindow.setStyle("QFrame{background-color: 
#ffffff;}")
2019-10-10 13:59:35 -04:00
cinosh07 5ff7fdec95 Modif to the way css files get url when executing the app from a non compiled version.
Removed unneeded os import
2019-10-10 09:31:31 -04:00
Carl Tremblay 240152f465 Code cleanup 2019-10-10 00:55:44 -04:00
Carl Tremblay 67757a217c Final touchup and code cleanup.
It's late, will go to sleep ;-)
2019-10-10 00:51:54 -04:00
Carl Tremblay b2df018635 Skins feature completed and ready to review and test.
Improoved UI Quality in the skins

Skins are css files located in the skins folder

Added author and contributors to the about dialog

Known issue: The app need to be restarted when return to default UI when 
changed from a skinned UI
2019-10-09 23:06:07 -04:00
Carl Tremblay f0405aea2e For debug putted back os path.
So if you set debug to True in the about file, it will get the file url 
from os path. When debug is set to false, it will get it from 
sys._MEIPASS
2019-10-09 20:18:49 -04:00
Carl Tremblay 7c8afe2d71 Remove os path and replaced by sys._MEIPASS 2019-10-09 19:08:29 -04:00
cinosh07 cc73621640 Added licence to new files 2019-10-09 11:42:00 -04:00
cinosh07 83b58dcf9d Added skin concept to the UI. So people can develop their own skins. Default UI is remaining the same as the original skin. No modification to the original ui.
Maybe we should rename Dark Mode to Skin Mode in display settings 
dialog.
2019-10-09 11:26:59 -04:00