Commit Graph

105 Commits

Author SHA1 Message Date
doryan 8e8cecd463 feat(fn): remove redundant arguments 2024-08-15 23:15:39 +04:00
doryan cd697b9f5d feat(setter): add PasswordEntryBuilder
Trait TextViewSetters has been removed as there is already an analogue
of this trait in existence
2024-08-14 19:02:25 +04:00
doryan 7116b565de feat(setter): remove old trait
Trait TextViewSetters has been removed as there is already an analogue
of this trait in existence
2024-08-14 19:01:34 +04:00
doryan 7282045c98 feat(method): add get_component() method
This method let get Box whose children are a label and a TextView/Entry
2024-08-14 18:57:14 +04:00
doryan f57aed1fb8 feat(method): remove old build() method 2024-08-14 18:55:00 +04:00
doryan 2e1f4b6a12 feat(frame): remove frame from Input component 2024-08-14 18:54:13 +04:00
doryan d3327a7c36 feat(input): add generic type for other input components 2024-08-14 18:53:27 +04:00
doryan 06439585eb feat(input): add macro for generation build_*() method code 2024-08-14 18:51:44 +04:00
doryan 418e916c0d feat(crate): add external crate gio 2024-08-14 18:49:00 +04:00
doryan 23bfd10e2b feat(css): add style for TextView and generic css
Generic CSS includes styles for text_view.css and info_bar.css
2024-08-14 18:48:36 +04:00
doryan 269b30312d test 2024-08-12 23:49:40 +04:00
doryan 24b60e74a0 feat(crate): add gio external crate 2024-08-12 12:17:27 +04:00
doryan 28c569d547 feat(sorter): add sorter model 2024-08-12 12:16:28 +04:00
doryan 3041e821a7 refactor: improved inputs distribution 2024-08-12 12:15:42 +04:00
doryan 7887afc6af feat(imports): update imports 2024-08-12 12:14:13 +04:00
doryan 2a88eeaf01 fix(on click): ColumnView data update is complete 2024-08-12 12:13:55 +04:00
doryan 0d2987a968 feat(section): add testing section 2024-08-10 01:19:29 +04:00
doryan 01f61e4286 feat(imports): update imports 2024-08-10 01:14:26 +04:00
doryan 78d52388f7 refactor: edit function signatures and rewrite a few code sections 2024-08-10 01:13:00 +04:00
doryan 5a8a4b00ce refactor: rewrite function logic with use custom Error type 2024-08-10 01:10:43 +04:00
doryan cad9823c83 refactor: rewrite fn signature and remove match 2024-08-10 01:09:35 +04:00
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