Commit Graph

134 Commits

Author SHA1 Message Date
doryan 2c331c4ed7 feat(component): add input_label and input_frame fields and methods for them 2024-08-10 01:08:41 +04:00
doryan 09801147b9 fix(method): change trait method signature 2024-08-10 01:05:36 +04:00
doryan 2dc02ce79e fix(event): use builtin event handler instead custom 2024-08-10 01:04:34 +04:00
doryan ef3158e732 feat(imports): update imports 2024-08-10 01:02:44 +04:00
doryan e9dbcb272e fix(fn): use &str in the function arguments instead of &String and refactor function code with use &str 2024-08-10 00:50:52 +04:00
doryan cd6403fb32 fix(component): component usage 2024-08-10 00:47:01 +04:00
doryan e97b1b281d fix(fn): rewrite code with using a custom type of Error 2024-08-10 00:46:18 +04:00
doryan 656e75ff35 refactor: rewrite "dirty" code into normal 2024-08-10 00:42:59 +04:00
doryan 2ce75224fa feat(fn): edit function signature 2024-08-10 00:39:11 +04:00
doryan bf7f542df0 fix(empty string): boolean logic mistake 2024-08-10 00:38:42 +04:00
doryan 6682a66958 fix(table): move table of syndromes into global static variable 2024-08-10 00:36:27 +04:00
doryan 94f050f8ca feat(error): add custom error handling aliases 2024-08-10 00:34:45 +04:00
doryan 7d2049b59d feat(cheatsheet): remove list of position errors 2024-08-09 20:51:28 +04:00
doryan 631db86420 fix(function): change function signature 2024-08-09 18:56:25 +04:00
doryan 1aad9bafca feat(switch): remove switch component 2024-08-09 18:55:18 +04:00
doryan 2e7ede2dac fix(power): change math power method
The exponentiation method has been changed because, in this case, the
calculation doesn't need to be raised to a power number using the
.powf() method.
2024-08-09 17:51:07 +04:00
doryan 45617aa59d fix(id): rename application id
Application id has been renamed from "com.github.gtk-rs.examples.basic"
to "com.laboratory-work"
2024-08-09 17:36:16 +04:00
doryan 377c74369c feat(import): remove redundant import 2024-08-09 17:36:16 +04:00
doryan 6fbe74e851 feat(switch): remove swtich component export 2024-08-09 17:36:16 +04:00
doryan da3cb52046 refactor: rename view.rs to ui.rs 2024-08-09 17:36:16 +04:00
doryan f3ae716ed4 feat(crate): update gtk and adw crates
Updated gtk to 0.9.0 and adw to 0.7.0
2024-08-09 15:12:00 +04:00
doryan e46e83f723 feat(mod): remove state controller and custom event handlers modules 2024-08-09 15:10:40 +04:00
doryan be14fae2e4 feat(state): remove state controller function 2024-08-09 15:07:58 +04:00
doryan 56357c4697 feat(handler): remove custom event handlers 2024-08-09 15:07:32 +04:00
doryan cbde9a8af1 refactor: change import and function signature
SignalReduce model import has been added instead Infobar.
Return value in function signature has been changed (Option<[f64; 6]> ->
Result<SignalReduce, ParseFloarError>).
2024-08-03 00:06:22 +04:00
doryan 81b22a14c9 refactor: add a check for a non-zero denominator 2024-08-03 00:01:58 +04:00
doryan ebf7d9b85c feat(table): implement a result table 2024-08-03 00:00:05 +04:00
doryan d92b2419e0 refactor: change SchemeCharacteristics model 2024-08-02 23:59:31 +04:00
doryan c9dbe4ba6e refactor: remove cell::RefCell, rename TIMERS_QUEUE variable, and etc. (check desc)
Removed unused import, renamed static variable (TIMERS_QUEUE ->
TASKS_QUEUE) and refactored get_instance() and show_infobar() methods.
Return value has been changed (Self -> &'static Self) in get_instance()
method.
A check for opening an infobar has been added and renamed used static
variables in show_infobar() method.
2024-08-02 23:58:24 +04:00
doryan a2cb65d570 refactor: remove redundant import
Removed Revealer import because it is not used.
2024-08-02 01:11:22 +04:00
doryan d3787b2283 feat(model): add model for ColumnView
Added model that are GObject for generating values in tables.
2024-08-02 01:09:26 +04:00
doryan ade98179f7 feat(allows): add attributes that allow a non_snake_case variables 2024-08-02 01:04:37 +04:00
doryan 7157ffd55f refactor: fix some code style issues 2024-07-29 01:19:15 +04:00
doryan 09b05e7fa7 refactor: move parse field algorithm to a separate file 2024-07-29 01:18:15 +04:00
doryan 18e857b40c refactor: move parse field algorithm to a separate file 2024-07-29 01:17:52 +04:00
doryan 0d676820c6 feat(main): add any asynchronous timer that closes infobar automaticaly after 5 second 2024-07-29 01:15:22 +04:00
doryan 0aab9e9ebe feat(main): main function is async now 2024-07-29 01:10:34 +04:00
doryan b7b890ecb3 feat(tokio): update tokio 2024-07-29 01:10:06 +04:00
doryan 01f65376d0 feat(infobar): add a timer after which the infobar will be closed 2024-07-27 23:28:35 +04:00
doryan 33226ecae2 feat(infobar): add implementation of infobar for use instead deprecated built-in infobar 2024-07-27 22:42:10 +04:00
doryan bd394b9bf4 feat(infobar): add infobar as 'unique' instance instead manual implementation of infobar via box, label, revealer and button; 2024-07-27 22:22:51 +04:00
doryan cb2a52cc7b refactor: remove redundant argument; feat(infobar): add infobar for testing 2024-07-27 22:20:21 +04:00
doryan 5972d589fe refactor: remove redundant argument 2024-07-27 21:59:49 +04:00
doryan 1be7125ecf refactor: add spacebar lol 2024-07-27 21:38:39 +04:00
doryan f3ece276f1 feat(style): add style for button inner infobar 2024-07-27 21:37:50 +04:00
doryan 561f6fc065 feat(import): add infobar module to export 2024-07-27 20:46:43 +04:00
doryan a8e43df99e feat(libc): update libc 2024-07-27 20:08:11 +04:00
doryan 4b5589392d feat(tokio feature): add 'sync' feature 2024-07-27 20:07:37 +04:00
doryan acf1d9f30b feat(style): add styles for info bar 2024-07-22 16:43:47 +04:00
doryan fd2f605978 fix(func signature): Replaced EventHandler<T, C> -> Self 2024-07-22 16:43:03 +04:00