Christian Tacke
d9dbf53868
Keep left Tree at Minimal Size
...
When resizing the window or switching entries in the left
tree, the width of the tree changes and takes more space
than required.
Switch it over to only take the minimal amount of space and
do not extend when resizing the window.
2021-12-25 12:19:29 -05:00
Peter F. Patel-Schneider
174d0388ca
ui: display percentage estimates from battery voltage
2021-12-20 11:30:29 -05:00
Peter F. Patel-Schneider
4c9d9e17d6
gui: fix bug when adding new receiver to tray menu
2021-11-22 11:32:25 -05:00
Hugo Osvaldo Barrera
22bf4fafff
Drop unnecessary __future__ imports
...
These are all active by default on all recent Python versions.
2021-10-30 16:49:41 -04:00
Hugo Osvaldo Barrera
b96d16672b
Drop obsolete encoding declaration
...
This was only parsed in Python 2.
Python 3 only supports UTF-8 for source files, and that's what it uses.
2021-10-30 16:49:41 -04:00
Jocelyn Thode
138fe4c756
ui: fix device not always castable as bool
2021-10-28 12:49:20 -04:00
Peter F. Patel-Schneider
453be19356
ui: make about and quit buttons more translatable
2021-10-01 12:35:33 -04:00
Peter F. Patel-Schneider
30f56a1c0f
device: use 0xFF instead of 0 for direct-connected devices
2021-08-22 11:16:41 -04:00
Peter F. Patel-Schneider
6b8e7a2d9c
ui: only emit warning on path mismatch between device and recevier in main window
2020-11-21 12:32:33 -05:00
Vinícius
b548d05cad
ui: change diversion editor window title and button label
2020-11-21 12:23:41 -05:00
Vinícius
717213c506
ui: move diversion button to the right
2020-11-21 12:23:41 -05:00
Vinícius
1379da70a8
ui: add GUI for diversion rules (draft)
2020-11-21 12:23:41 -05:00
Peter F. Patel-Schneider
7a7aad8977
device: use FRIENDLY NAME for codename if needed and available
2020-10-07 05:30:34 -04:00
Peter F. Patel-Schneider
1e7050595e
receiver: add model and node ID and use in configurations
2020-09-29 11:26:34 -04:00
Peter F. Patel-Schneider
2654b6bbe0
ui: add forced-refresh argument to window update
2020-09-28 12:59:04 -04:00
Peter F. Patel-Schneider
58823763ea
ui: handle wired devices
2020-09-23 18:03:47 -04:00
Peter F. Patel-Schneider
377e44c624
ui: add separator before device settings
2020-09-21 07:44:55 -04:00
Peter F. Patel-Schneider
2153035c30
ui: add device path to information panel for non-receivers
2020-09-18 05:49:43 -04:00
Vinícius
d87bc594f4
ui: fixed vertical alignment of panel after collapsing widgets
2020-09-01 18:38:00 -04:00
Vinícius
7a65c40312
ui: removed GESTURE2 specs from the panel
2020-09-01 18:38:00 -04:00
Vinícius
aa067b2774
receiver: show GESTURE2 specs on the panel
2020-09-01 18:38:00 -04:00
Peter F. Patel-Schneider
f5c63ccc39
ui: better display of battery information in main window
2020-08-22 10:43:10 -04:00
Peter F. Patel-Schneider
fd02b33971
ui: use ngettext for translatable strings with number dependencies
2020-08-02 11:56:56 -04:00
Filipe Laíns
27c90fa736
yapf: adjust style to not indent closing brackets
...
Signed-off-by: Filipe Laíns <lains@archlinux.org>
2020-07-07 15:11:15 +01:00
Filipe Laíns
8e89aa0038
yapf: set max line lenght to 127
...
Signed-off-by: Filipe Laíns <lains@archlinux.org>
2020-07-07 15:11:15 +01:00
Filipe Laíns
627185079f
flake8: initial fix
...
Signed-off-by: Filipe Laíns <lains@archlinux.org>
2020-07-07 15:11:15 +01:00
Filipe Laíns
33521558ed
pre-commit: initial fix
...
Signed-off-by: Filipe Laíns <lains@archlinux.org>
2020-07-07 15:11:15 +01:00
Filipe Laíns
e6369e0c3c
isort: intial import fix
...
Signed-off-by: Filipe Laíns <lains@archlinux.org>
2020-07-07 15:11:15 +01:00
Filipe Laíns
72a8d311bc
yapf: change code style to yapf
...
Signed-off-by: Filipe Laíns <lains@archlinux.org>
2020-07-07 15:11:15 +01:00
Peter F. Patel-Schneider
784661bbc0
ui: remove maximum window size
2020-06-07 13:33:42 +01:00
Peter F. Patel-Schneider
013f383bc8
ui: display battery voltage in ui if available
2020-06-06 12:59:26 -04:00
Peter F. Patel-Schneider
cb84d3b797
ui: remove translation for several strings that should not be translated in window.py
2020-06-06 12:59:26 -04:00
Peter F. Patel-Schneider
79947dca6c
receiver: gather and show battery next level where available
2020-06-06 12:59:26 -04:00
Peter F. Patel-Schneider
d487a0d889
ui: remove assert that updated receiver is still in window
2020-05-02 14:07:42 +01:00
Peter F. Patel-Schneider
072f932206
ui: handle devices and receivers with no firmware information
2020-03-16 20:55:18 +00:00
Peter F. Patel-Schneider
e23de2ee9f
ui: add quit button to main window
2020-02-18 13:14:10 +00:00
Peter F. Patel-Schneider
64c76e51ef
receiver,cli,ui: minor code cleanup
2020-02-17 11:53:39 +00:00
Peter F. Patel-Schneider
4afe8c893b
ui: add option to show the main window or run solaar without tray
2020-02-17 08:35:47 +00:00
Peter F. Patel-Schneider
22d37c4c1c
ui: Better determination in GUI of when receiver may pair (still might be conservative)
2020-02-17 08:34:53 +00:00
Peter F. Patel-Schneider
546ccb7ac2
receiver: determine remaining pairings (if receiver has this) and display in solaar show and main window
2020-02-17 08:34:53 +00:00
Peter F. Patel-Schneider
1bc189e2fe
ui: add --tray option to start without window visible
2020-01-22 22:22:14 +00:00
Peter F. Patel-Schneider
77e21a0b63
ui: fix crash when styles add padding by not setting 1-pixel columns; slightly better window layout; add style class to window
2020-01-21 03:11:35 +00:00
Peter F. Patel-Schneider
d6fa5269c5
ui: don't ignore offline devices when determining whether pairing is possible
2020-01-21 03:08:49 +00:00
Peter F. Patel-Schneider
4678f52293
don't have window always be on top
2019-12-24 18:54:12 +00:00
Patrick Decat
6c0acee645
Fix UnicodeDecodeError with ngettext and python2
2019-06-29 18:01:54 +02:00
Ben Wolsieffer
2c0ea34694
Fix device tree GUI hierarchy.
2018-08-11 16:24:15 -04:00
Peter Wu
867edf8516
Merge pull request #146 from tristianc/master
...
Added border around tree view.
2018-08-11 17:55:37 +02:00
Jason Tibbitts
d021d87656
Python 3.7 compatibility fixes
...
This fixes the python 3.7 incompatibilities arising from 'async'
becoming a reserved word.
The file lib/solaar/async.py is renamed to asks.py. I picked the name
because it defines the TaskRunner class and it's the best I could come
up in fifteen seconds.
The async function in solar/ui/__init__.py is renamed to ui_async, and
the various imports of that function are changed to match.
Without this patch it doesn't build at all. I am running with this
patch applied and everything appears to work as expected.
Signed-off-by: Jason Tibbitts <tibbs@math.uh.edu>
2018-08-07 12:51:32 -04:00
Dimitriy Ryazantcev
934ecb821d
Update l10n strings in code
2016-12-21 00:18:01 +02:00
Tristin Celestin
2b08c5e0c9
Added border around tree view.
2014-01-01 21:45:44 -05:00