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/download_add_widget.h | 28 +++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 client-qt/udm-client-qt/download_add_widget.h (limited to 'client-qt/udm-client-qt/download_add_widget.h') diff --git a/client-qt/udm-client-qt/download_add_widget.h b/client-qt/udm-client-qt/download_add_widget.h new file mode 100644 index 0000000..1b619bb --- /dev/null +++ b/client-qt/udm-client-qt/download_add_widget.h @@ -0,0 +1,28 @@ +#ifndef DOWNLOAD_ADD_WIDGET_H +#define DOWNLOAD_ADD_WIDGET_H + +#include +#include "../../protocol/udm.pb.h" + +class QGridLayout; + + +class download_add_widget : public QWidget +{ + Q_OBJECT +public: + explicit download_add_widget(std::list &modules, QWidget *parent = 0); + +signals: + +public slots: +protected slots: + void combo_modules_currentIndexChanged(QString); + void btn_ok_clicked(); + void btn_cancel_clicked(); +private: + std::list &modules; + QGridLayout *layout_settings; +}; + +#endif // DOWNLOAD_ADD_WIDGET_H -- cgit v1.2.3