diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2015-09-13 08:17:15 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2015-09-13 08:17:15 +0300 |
commit | eb5bc25a3ce4eb9a650e433a5206f535c54b453c (patch) | |
tree | 913aaa9450937ebe6553195d853ed69b7a47bddc /client-qt/udm-client-qt/download_add_widget.h | |
parent | 53ecb7e48ede8dbfde85b6452d3fdbd7c56ae01e (diff) |
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
Diffstat (limited to 'client-qt/udm-client-qt/download_add_widget.h')
-rw-r--r-- | client-qt/udm-client-qt/download_add_widget.h | 28 |
1 files changed, 28 insertions, 0 deletions
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 <QWidget> +#include "../../protocol/udm.pb.h" + +class QGridLayout; + + +class download_add_widget : public QWidget +{ + Q_OBJECT +public: + explicit download_add_widget(std::list<module_info> &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<module_info> &modules; + QGridLayout *layout_settings; +}; + +#endif // DOWNLOAD_ADD_WIDGET_H |