Commit Graph

147 Commits

Author SHA1 Message Date
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 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 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 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 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
doryan 54a4b44780 fix(fn signature): remove return types from function signatures 2024-07-22 00:24:09 +04:00
doryan 2e543a22c8 fix(cond): remove redundant boolean operations and replace them with their correct analogs 2024-07-22 00:02:16 +04:00
doryan 81a8d9b2c6 fix(const): use PI const from std instead 3.14f32 2024-07-19 23:39:44 +04:00
doryan 74835302ce fix(import + expand): change import and fix expand of box node 2024-07-19 23:38:43 +04:00
doryan 7e30117c84 fix(check): change method of check for an empty array 2024-07-19 23:37:24 +04:00
doryan dbf7dab513 refactor(import + some code): change import and refactor some bad blocks of code 2024-07-19 23:33:50 +04:00
doryan fcfb0d1fa6 fix(modules): sort modules 2024-07-19 23:32:09 +04:00
doryan 731cce4ad8 rename(model): model.rs -> models.rs 2024-07-19 23:31:32 +04:00
doryan 3c2ab67d31 feat(import): sorted and add some modules 2024-07-19 23:26:43 +04:00
doryan b12be95959 fix(imports + signature): change imports and removed return type () from function signature 2024-07-19 23:25:41 +04:00
doryan b3678c43c4 fix(imports): change imports 2024-07-19 23:24:38 +04:00
doryan 61f6777735 fix(imports): change imports 2024-07-19 23:24:10 +04:00
doryan 21ccba9ddb sort(module): module imports 2024-07-19 23:18:50 +04:00
doryan cb5d219319 feat: change function signature (add one parameter) 2024-07-19 23:17:02 +04:00
doryan 2866d26253 BREAKING CHANGE: refactor code and add event handler for button 2024-07-19 23:16:11 +04:00
doryan 682682eb13 feat(info bar): add info bar for warnings 2024-07-19 23:12:42 +04:00
doryan 7264b704d0 feat(stylesheets): add stylesheet for info bar 2024-07-19 23:06:34 +04:00
doryan f88946b507 rename(model): model.rs -> models.rs 2024-07-19 23:05:55 +04:00
doryan b663859eee remove(type): redundant type definition 2024-07-19 23:04:01 +04:00
doryan 7c16964b83 added table and it needed to fix 2024-04-19 12:03:16 +04:00
doryan b6d0eb0508 ADDED: models and controllers for page "signal reducing"\n TODO: done table for page "signal reducing" 2024-04-19 01:30:51 +04:00
doryan 6e315907bc TO DO: will done table in signal reducing page and write controller for that page 2024-04-18 12:23:13 +04:00
doryan 37a8dfb66b FIXED: clearing inputs bug 2024-04-17 00:06:56 +04:00
doryan a58110a3f8 REFACTOR: clean code and some bug fixed 2024-04-16 21:45:31 +04:00
doryan 48057646a8 changed inputs for second section and implemented Clone and Copy traits for Alignment data structure 2024-04-14 20:13:15 +04:00
doryan04 5687d6773a added inputs components and created page for fifth lab 2024-03-17 21:34:12 +04:00
doryan04 5bd783b75b implemented trait-interface for builders 2024-03-17 00:21:20 +04:00
doryan04 1d62f3810c removed unnecessary mutability for pages and tabs 2024-03-12 23:54:20 +04:00
doryan04 a9626cda4d added pages builder, to do universal traits for builders 2024-03-12 23:49:20 +04:00
doryan04 4c230c090d removed unnecessary module definitions 2024-03-10 12:54:32 +04:00
doryan04 54619cd3f9 Fully refactored project architecture, imports and etc. 2024-03-10 12:35:02 +04:00
doryan04 55b2c4ec56 first commit 2024-02-06 23:35:52 +04:00
doryan04 e18b31eece I begin create a Graph structure 2023-09-17 21:21:14 +04:00