Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

Лабы / 3 / 5.tar / 5 / 5 / net_sniff / displaydialog.ui

.h
Скачиваний:
21
Добавлен:
17.04.2013
Размер:
984 б
Скачать
/****************************************************************************
** ui.h extension file, included from the uic-generated form implementation.
**
** If you want to add, delete, or rename functions or slots, use
** Qt Designer to update this file, preserving your code.
**
** You should not define a constructor or destructor in this file.
** Instead, write your code in functions called init() and destroy().
** These will automatically be called by the form's constructor and
** destructor.
*****************************************************************************/


void DisplayDialog::displayText(QString str)
{
    textEdit->setText(str);
    if (!isVisible()) show();
}


void DisplayDialog::self_init()
{
    QHBoxLayout *bl = new QHBoxLayout();
    bl->addStretch(1);
    bl->addWidget(quit_Button);

    QVBoxLayout *mainl = new QVBoxLayout(this);
    mainl->setMargin(5);
    mainl->setSpacing(5);
    mainl->addWidget(textEdit);
    mainl->addLayout(bl);
}
Соседние файлы в папке net_sniff
  • #
    17.04.2013544 б21.cdtproject
  • #
    17.04.20133 Кб21.project
  • #
    17.04.201318 Кб21COPYING
  • #
    17.04.20132 Кб21displaydialog.ui
  • #
    17.04.2013984 б21displaydialog.ui.h
  • #
    17.04.2013324 б21main.cpp
  • #
    17.04.20134 Кб21Makefile
  • #
    17.04.2013221 Кб21net_sniff
  • #
    17.04.2013388 б21net_sniff.pro
  • #
    17.04.201318 Кб21s_form.ui