Ktam3874/pitx software guide – Kontron KTAM3874-pITX User Manual

Page 207

Advertising
background image

KTD-S0057-I

Page 203 Linux® Programming Examples (DebianTM)


KTAM3874/pITX Software Guide


class Ui_Dialog
{
public:
QGroupBox

*groupBox_2;

QFormLayout

*formLayout;

QFontComboBox

*fontComboBox;

QLCDNumber

*lcdNumber;

QGroupBox

*groupBox;

QCalendarWidget

*calendarWidget;

QDialogButtonBox

*buttonBox;

QLabel

*label;

void setupUi(QDialog *Dialog)

{

if

(Dialog->objectName().isEmpty())

Dialog->setObjectName(QString::fromUtf8("Dialog"));

Dialog->resize(504,

258);

groupBox_2 = new QGroupBox(Dialog);

groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));

groupBox_2->setGeometry(QRect(9, 9, 234, 58));

formLayout = new QFormLayout(groupBox_2);

formLayout->setObjectName(QString::fromUtf8("formLayout"));

fontComboBox = new QFontComboBox(groupBox_2);

fontComboBox->setObjectName(QString::fromUtf8("fontComboBox"));

formLayout->setWidget(0, QFormLayout::LabelRole, fontComboBox);

lcdNumber = new QLCDNumber(Dialog);

lcdNumber->setObjectName(QString::fromUtf8("lcdNumber"));

lcdNumber->setGeometry(QRect(9, 121, 234, 78));

groupBox = new QGroupBox(Dialog);

groupBox->setObjectName(QString::fromUtf8("groupBox"));

groupBox->setGeometry(QRect(249, 9, 246, 191));

calendarWidget = new QCalendarWidget(groupBox);

calendarWidget->setObjectName(QString::fromUtf8("calendarWidget"));

calendarWidget->setGeometry(QRect(11, 26, 224, 155));

buttonBox = new QDialogButtonBox(Dialog);

buttonBox->setObjectName(QString::fromUtf8("buttonBox"));

buttonBox->setGeometry(QRect(336, 219, 160, 27));

buttonBox->setOrientation(Qt::Horizontal);

buttonBox->setStandardButtons(QDialogButtonBox::Cancel);

label = new QLabel(Dialog);

label->setObjectName(QString::fromUtf8("label"));

label->setGeometry(QRect(9, 83, 234, 28));

QFont

font;

font.setPointSize(14);

label->setFont(font);

label->setAlignment(Qt::AlignJustify|Qt::AlignVCenter);

retranslateUi(Dialog);

QObject::connect(buttonBox,

SIGNAL(accepted()), Dialog, SLOT(accept()));

QObject::connect(buttonBox, SIGNAL(rejected()), Dialog, SLOT(reject()));

QMetaObject::connectSlotsByName(Dialog);

} // setupUi

Advertising
This manual is related to the following products: