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

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

.ui.h
Скачиваний:
19
Добавлен:
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 б19.cdtproject
  • #
    17.04.20133.37 Кб19.project
  • #
    17.04.201318.01 Кб19COPYING
  • #
    17.04.20132.25 Кб19displaydialog.ui
  • #
    17.04.2013984 б19displaydialog.ui.h
  • #
    17.04.2013324 б19main.cpp
  • #
    17.04.20134.07 Кб19Makefile
  • #
    17.04.2013221.3 Кб19net_sniff
  • #
    17.04.2013388 б19net_sniff.pro
  • #
    17.04.20139.75 Кб19sniff.cpp