source: trunk/form_input_ui.h @ 236

Revision 236, 1.5 KB checked in by antonbatenev.ya.ru, 3 years ago (diff)

fix #41 - Дозагрузка тем/сообщений по URL; Исправление ошибки с получением поломанных веток из хранилища

  • Property svn:eol-style set to native
  • Property svn:keywords set to Date Author Revision Url Id
Line 
1/*!
2 * \file
3 * \brief GUI формы запроса ввода пользователя (аналог InputBox)
4 *
5 * $Date$
6 * $Author$
7 * $Revision$
8 * $URL$
9 */
10
11#ifndef _avalon_form_input_ui_h_
12#define _avalon_form_input_ui_h_
13
14#include "sysheaders.h"
15
16/*!
17 * \brief GUI формы запроса ввода пользователя (аналог InputBox)
18 */
19class FormInputUI : public QDialog
20{
21        Q_OBJECT
22
23        public:
24
25                /*!
26                 * \brief Конструктор
27                 * \param parent Родительский виджет (форма)
28                 * \param header Заголовок окна
29                 * \param message Текст приглашения
30                 * \param text Текст ввода
31                 */
32                FormInputUI  (QWidget* parent, const QString& header = QString(), const QString& message = QString(), const QString& text = QString());
33                ~FormInputUI ();
34
35        protected:
36
37                QHBoxLayout*       m_layout;        /*!< \brief Основной layout           */
38                   QVBoxLayout*    m_form_layout;   /*!< \brief Layout формы              */
39                      QLabel*      m_label;         /*!< \brief Надпись                   */
40                      QLineEdit*   m_text;          /*!< \brief Текст                     */
41                   QVBoxLayout*    m_button_layout; /*!< \brief Layout кнопок             */
42                      QPushButton* m_button_ok;     /*!< \brief OK                        */
43                      QPushButton* m_button_cancel; /*!< \brief Отмена                    */
44                      QSpacerItem* m_spacer_button; /*!< \brief Выравнивание кнопок вверх */
45};
46
47#endif
Note: See TracBrowser for help on using the repository browser.