Commit graph

8 commits

Author SHA1 Message Date
Gustavo Iñiguez Goia
c4a9a21afa fixed HighDpi scaling
This should fix the warning message:
"Attribute Qt::AA_EnableHighDpiScaling must be set before
QCoreApplication is created."

Which should fix the small fonts reported by some users.
We may also need AA_UseHighDpiPixmaps.
2020-02-22 00:48:19 +01:00
Gustavo Iñiguez Goia
b409eca0ed Fixed UI crash when configuring high dpi scaling on some systems
On LinuxMint18 even with a compatible PyQt lib, it crashes, so just
don't set this option.
2020-02-19 01:04:58 +01:00
Gustavo Iñiguez Goia
1e6d2c0b67 Unified UI config files
Originally UI config file was saved to ~/.opensnitch/ui-config.json

Now those values are saved to ~/.config/opensnitch/settings.conf, along
with new ones.

Closes #3
2020-02-09 20:56:26 +01:00
Gustavo Iñiguez Goia
77018a82a1 EnableHighDpiScaling only if qt version >= 5.6.0
It was addded in 5.6 version
https://doc-snapshots.qt.io/qtforpython/PySide2/QtCore/Qt.html
2019-11-25 21:41:25 +01:00
MiWCryptAnalytics
f8ede5ed0e
Add UI Scaling for HiDPi Support
This fixes the scaling issue on hi dpi displays (4K, etc) that render the window too small with overlapping widgets.
2018-09-17 23:52:51 -04:00
evilsocket
1833e78177
UI default behaviour can now be configured with a JSON file (closes #153) 2018-04-16 12:54:25 +02:00
evilsocket
ec6ecea8b4
UI is now using python3 2018-04-11 15:35:29 +02:00
evilsocket
2355c3c400
made ui application pip installable (ref #118) 2018-04-10 16:56:29 +02:00
Renamed from ui/main.py (Browse further)