From eb5bc25a3ce4eb9a650e433a5206f535c54b453c Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Sun, 13 Sep 2015 08:17:15 +0300 Subject: protocol: added "data_required" field to module_download_ui_element_info for download creation ui renamed download_children_menu to download_content_menu as it's more apropriate name server: added "data_required" field to module_download_ui_element_info_s for download creation ui changed "id" field in module_download_menu_element_info_s from string to int implemented helper functions to fill module_info protobuff structure implemented most of module_info structures filling (tested, working) client: basic implementation of "download add widget" "marked_class" template for adding module defined id's to ui elements basic action buttons toolbar in main windows --- client-qt/udm-client-qt/marked_class.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 client-qt/udm-client-qt/marked_class.h (limited to 'client-qt/udm-client-qt/marked_class.h') diff --git a/client-qt/udm-client-qt/marked_class.h b/client-qt/udm-client-qt/marked_class.h new file mode 100644 index 0000000..c12d68d --- /dev/null +++ b/client-qt/udm-client-qt/marked_class.h @@ -0,0 +1,23 @@ +#ifndef MARKED_CLASS +#define MARKED_CLASS + +template +class marked_class : public BASE +{ +public: + + void set_mark(int mark) + { + this->mark = mark; + } + int get_mark() + { + return mark; + } + +private: + int mark = -1; +}; + +#endif // MARKED_CLASS + -- cgit v1.2.3