HoloBackup icon indicating copy to clipboard operation
HoloBackup copied to clipboard

Rewrote lots of the code

Open Deusdies opened this issue 12 years ago • 5 comments

Rewrote a fair bit of code. WARNING: Redesigned the GUI in QtDesigner to follow the native Qt standards (does not use the PNGs).

Submiting the .ui file as well.

Reconnected the signals.

The program is now using a unified cross-platform main.py file instead of main_linux.py and main_windows.py.

Did not build the binary!

Deusdies avatar Feb 03 '13 14:02 Deusdies

I like what you've done with the code. I haven't really used Python much prior to this, and it shows.

Not too sure about the new UI, though. Not using the native UI/widgets was kind of the point of the redesign. Plus, I've never used QtDesigner, so it would be rather difficult to maintain.

lynnntropy avatar Feb 03 '13 18:02 lynnntropy

You could make it so that the native widgets (the QPushButton, etc.) use the Holo style by CSS. Here's what I've come up with in a dozen or so minutes (this should also maintain uniform look across platforms): linux_preview

Note that this is strictly CSS. The only thing missing from your mockup (as far as I can tell) is the checkbox style - that too can be made into holo-like, but that requires the images and the resource file, etc.

The orange background of the checkbox label should not be there, not sure what happened. Also, one of the buttons is darker because it reacts on the "hover" event.

Deusdies avatar Feb 03 '13 23:02 Deusdies

Wow, I really like it. I could definitely use something like that.

lynnntropy avatar Feb 04 '13 08:02 lynnntropy

Committed that version :+1: Please test it under Windows. My guess is that you have to have Roboto fonts installed. I think there may be a way around that.

BTW, QtDesigner is very easy to use :)

Deusdies avatar Feb 04 '13 08:02 Deusdies

Is this pull request dead? Should it be updated/closed?

fearphage avatar Dec 03 '14 20:12 fearphage