bb40033554
parse_args: typo update
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-02-28 19:46:24 +01:00
a4a09bc37c
data/structures: typo update
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-02-28 19:46:24 +01:00
9fba66d8a6
widget/configuration: styling update
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-02-28 19:46:24 +01:00
7d6476205f
Cargo.toml: include crate if_cfg
...
* use macro to compile os-dependent features
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-02-28 19:46:24 +01:00
41ebf4168a
widgets/configuration: reference styling to theme handling
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-02-28 19:46:23 +01:00
c4caf12706
widget/policycheck: update logic
...
* remove handling of the menu logic (isolated in dedicated widget)
* reference styling via theme
* update documentation strings
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-02-28 19:46:23 +01:00
075505eec9
widgets/menu: introduce dedicated module menu
...
* new menu_view
* new menu_state
* update constants
* update main_view referencing a tab_view
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-02-28 19:46:23 +01:00
59e7e71143
assets: update theme definitions for default_dark.ron
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-02-28 19:46:23 +01:00
7440f7a6dd
widgets/menu: introduce dedicated menu module
...
* new menu_view
* new menu_state
* adapt constant values for the menu structure
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-02-28 19:46:23 +01:00
a401379f9e
theme update dark
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-02-28 19:46:23 +01:00
be9b8b1a1c
widget/configuration: correcting label constant
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-02-28 19:46:23 +01:00
70bd6b8b8d
language: update
...
* update constants
* adopt width of languages combo box
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-02-28 19:46:23 +01:00
1f3c6a7fff
widget/policycheck: intoduce os dependent theme handling
...
* theme_fluent: only makes sense in windows environment
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-02-28 19:46:23 +01:00
ef26a3bf65
widgets/localization: update label constant
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-02-28 19:46:22 +01:00
fa4914839e
assets: adapt default_dark theme definitions
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-02-28 19:46:18 +01:00
571243731d
assets: adapt fluent_dark theme definitions
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-02-28 19:45:57 +01:00
b38a677b7b
policycheck: function update
...
* insert copyright hint
* more descriptive import of allianzdirectcall function
* documentation update
* introduce KeyHandler in menu popup
* rename action function to `set_action`
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2021-02-28 19:45:33 +01:00
26cea8e844
widgets/configuration: break out configuration functionality
...
* handle widget `configuration` in dedicated subdir
* adopt constants to handle widget id's
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2020-11-05 17:43:23 +01:00
48545d2879
widgets/localization: break out as localization functionality
...
* handle widget `localization` in dedicated subdir
* adopt constants to handle widget id's
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2020-11-05 17:38:11 +01:00
b352f2a581
widget/policycheck: introduce key_event
...
* handle Escape in menu
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2020-11-03 10:27:07 +01:00
89a6842106
policycheck: introduce toggle theme
...
* new functions:
- popup_menu_toggle_theme
- set_menu_toggle_theme
- create_menu_toggle_theme
- messages
* rename function: menu -> popup_menu
* reorder enum: PolicycheckAction
* new actions: SetMenuPopup, SetToggleTheme
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2020-11-02 14:00:06 +01:00
76e6e7503f
Merge branch 'next' of https://gitea.networkx.de:50443/rzerres/advotracker into wip_toggle_theme_menu
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2020-11-02 09:43:32 +01:00
520b959302
structure update
...
* rename PolicyCheckView to PolicycheckView
* rename PolicyCheckState to PolicycheckState
* rename menu to popup_menu
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2020-11-01 20:45:27 +01:00
7d459516d9
module structure update 2
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2020-11-01 20:19:55 +01:00
c511bdd62f
main: reflect new module structure
...
* include from assets
* get widgets into place
* introduce style extensions (theme_fluent)
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2020-11-01 20:19:55 +01:00
40f715a79a
update project structure
...
* assets: all resources are bundled in this subdirectory
* widgets: use subdirs to group them by function
the subdir hold their callbacks (state handling) and views
* theming: update to new theming syntax
* fonts: remove fonts that are provovided by default in OrbTK
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2020-11-01 20:19:55 +01:00
6ea1f95ef0
main_view: introduce configuration view
...
* allow to load and save config parameters to ron file
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2020-11-01 20:19:54 +01:00
8986812038
policycheck_view: update to 0.3.1-alpha4 changes
...
* lose_focus_on_activate()
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2020-11-01 20:19:54 +01:00
e0eb0c5c90
policycheck_state: update localization of menu entries
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2020-11-01 20:19:54 +01:00
a1541ae307
implement a toggle theme menu
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2020-11-01 20:15:57 +01:00
c66335951f
structure update
...
* rename PolicyCheckView to PolicycheckView
* rename PolicyCheckState to PolicycheckState
* rename menu to popup_menu
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2020-11-01 20:09:45 +01:00
d0e661d5d0
module structure update 2
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2020-10-31 16:42:04 +01:00
2253c2892b
main: reflect new module structure
...
* include from assets
* get widgets into place
* introduce style extensions (theme_fluent)
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2020-10-31 14:39:41 +01:00
8cc9ba5782
update project structure
...
* assets: all resources are bundled in this subdirectory
* widgets: use subdirs to group them by function
the subdir hold their callbacks (state handling) and views
* theming: update to new theming syntax
* fonts: remove fonts that are provovided by default in OrbTK
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2020-10-31 14:23:03 +01:00
ef8b884efa
main_view: introduce configuration view
...
* allow to load and save config parameters to ron file
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2020-10-07 03:22:51 +02:00
6b7ae9d17d
policycheck_view: update to 0.3.1-alpha4 changes
...
* lose_focus_on_activate()
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2020-10-07 03:20:56 +02:00
f0e9014fb7
policycheck_state: update localization of menu entries
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2020-10-02 17:34:15 +02:00
0ba99b3fb2
Merge branch 'orbtk-localization' into master
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2020-10-02 12:09:56 +02:00
f0d5f82549
advotracker: bump release to 0.1.4
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2020-10-02 11:57:52 +02:00
d2a188eee6
policycheck: update styling, constants and localization
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2020-09-28 13:06:50 +02:00
e297c82b85
resources: references used at runtime
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2020-09-27 10:44:03 +02:00
f87ab8ce08
advotracker: implement get_lang
...
* readin language environment and preset the strings
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2020-09-26 21:12:54 +02:00
0c16237c6c
callbacks: remove unused global functions
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2020-09-26 19:29:34 +02:00
777fff3776
locales: remove redundant locales in json file
...
* locales in policy_check.json are included in advotracker.json
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2020-09-26 19:27:30 +02:00
c949b5fe32
Cargo.toml: update package dependencies
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2020-09-26 17:53:19 +02:00
0afe1f3bf8
Nodes.toml: application settings for nodes module
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2020-09-26 17:53:19 +02:00
bf54cb2242
.env: adapt test defaults for environment variables
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2020-09-26 17:53:19 +02:00
5b79229c00
advotracker: change localization handling
...
* main: adapt resource path for localization information
* data/constants: Stings used in policycheck state/view
* widgets/policycheck_view: change the used localization strings
* callbacks/policycheck_state: change child ID'S to use constants and localization strings
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2020-09-26 17:53:19 +02:00
16a538a805
resources: cleanup unneeded files since
...
* now using ron based files for localization
* resources are referencing application path names
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2020-09-26 17:53:19 +02:00
a887ffef1f
services: adapte/update used strings
...
* for importp module
* for export module
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2020-09-26 17:52:15 +02:00