1
0
Fork 0
mirror of https://github.com/borgbase/vorta synced 2024-12-22 07:43:09 +00:00
vorta/tests
yfprojects 618a1fe278
Add tooltips to settings. (#1521)
This adds tooltips to the settings as well as a 'info' button that shows the tooltip when hovering over it.

* Add tooltips to settings.

* src/vorta/store/models.py (SettingsModel): Add `tooltip` column.

* src/vorta/store/migrations.py (run_migrations): Create `tooltip` column.

* src/vorta/store/connection.py (init_db): Populate `tooltip` column. Increase `SCHEMA_VERSION`.

* src/vorta/views/misc_tab.py (MiscTab.populate): Set tooltip of checkbox widgets.

* src/vorta/store/settings.py : Add tooltips and update label of `override_mount_permissions`

* Add *help* button to settings.

* src/vorta/assets/icons/help-about.svg: Add info icon.

* src/vorta/views/partials/tooltip_button.py: Implement `ToolTipButton`.

* src/vorta/views/misc_tab.py: Add `ToolTipButton` for each setting with a tooltip.
	Add `set_icons` and connect it to palette change.

* tests/test_misc.py (test_autostart): Update test.

---------

Co-authored-by: real-yfprojects <real-yfprojects@users.noreply.github.com>
2023-02-25 10:10:43 +00:00
..
borg_json_output Handle empty path in FileTreeModel.addItem. (#1552) 2023-01-20 12:51:53 +00:00
network_manager Run hooks on the code base. 2022-08-16 18:20:34 +02:00
profile_exports Remove APScheduler dependency, Python 3.10 support (#1086) 2021-10-27 08:37:28 +04:00
__init__.py Apply automatic formatting 2022-08-15 15:23:55 +02:00
conftest.py Run hooks on the code base. 2022-08-16 18:20:34 +02:00
test_archives.py Run hooks on the code base. 2022-08-16 18:20:34 +02:00
test_borg.py Refactor: Split up vorta/models.py (#1112) 2021-11-17 13:14:11 +04:00
test_create.py Add support for --paths-from-command to extra borg arguments. (#1538) 2023-01-18 15:57:23 +00:00
test_diff.py Run hooks on the code base. 2022-08-16 18:20:34 +02:00
test_extract.py Apply automatic formatting 2022-08-15 15:23:55 +02:00
test_import_export.py Run hooks on the code base. 2022-08-16 18:20:34 +02:00
test_lock.py Apply automatic formatting 2022-08-15 15:23:55 +02:00
test_misc.py Add tooltips to settings. (#1521) 2023-02-25 10:10:43 +00:00
test_notifications.py Apply automatic formatting 2022-08-15 15:23:55 +02:00
test_profile.py Remove unnecessary qtbot.wait (#1172) 2022-01-24 17:05:57 +04:00
test_repo.py Remove *unset* repository value from combobox when a repo is selected. 2022-11-03 20:47:52 +01:00
test_schedule.py Run hooks on the code base. 2022-08-16 18:20:34 +02:00
test_scheduler.py Run hooks on the code base. 2022-08-16 18:20:34 +02:00
test_source.py Run hooks on the code base. 2022-08-16 18:20:34 +02:00
test_treemodel.py Handle empty path in FileTreeModel.addItem. (#1552) 2023-01-20 12:51:53 +00:00
test_utils.py Improve size column readability in archives tab (#1598) 2023-02-21 21:01:49 +00:00