mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-11-24 04:20:46 +08:00
75 lines
2.4 KiB
C
75 lines
2.4 KiB
C
|
/********************************************************************************
|
||
|
** Form generated from reading UI file 'bug18156QTreeWidget.ui'
|
||
|
**
|
||
|
** Created by: Qt User Interface Compiler version 6.0.0
|
||
|
**
|
||
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||
|
********************************************************************************/
|
||
|
|
||
|
#ifndef BUG18156QTREEWIDGET_H
|
||
|
#define BUG18156QTREEWIDGET_H
|
||
|
|
||
|
#include <QtCore/QVariant>
|
||
|
#include <QtWidgets/QAbstractButton>
|
||
|
#include <QtWidgets/QApplication>
|
||
|
#include <QtWidgets/QDialog>
|
||
|
#include <QtWidgets/QDialogButtonBox>
|
||
|
#include <QtWidgets/QGridLayout>
|
||
|
#include <QtWidgets/QHeaderView>
|
||
|
#include <QtWidgets/QTreeWidget>
|
||
|
|
||
|
QT_BEGIN_NAMESPACE
|
||
|
|
||
|
class Ui_Dialog
|
||
|
{
|
||
|
public:
|
||
|
QGridLayout *gridLayout;
|
||
|
QTreeWidget *treeWidget;
|
||
|
QDialogButtonBox *buttonBox;
|
||
|
|
||
|
void setupUi(QDialog *Dialog)
|
||
|
{
|
||
|
if (Dialog->objectName().isEmpty())
|
||
|
Dialog->setObjectName("Dialog");
|
||
|
Dialog->resize(400, 300);
|
||
|
gridLayout = new QGridLayout(Dialog);
|
||
|
gridLayout->setObjectName("gridLayout");
|
||
|
treeWidget = new QTreeWidget(Dialog);
|
||
|
treeWidget->headerItem()->setText(0, QString());
|
||
|
treeWidget->headerItem()->setText(2, QString());
|
||
|
treeWidget->setObjectName("treeWidget");
|
||
|
|
||
|
gridLayout->addWidget(treeWidget, 0, 0, 1, 1);
|
||
|
|
||
|
buttonBox = new QDialogButtonBox(Dialog);
|
||
|
buttonBox->setObjectName("buttonBox");
|
||
|
buttonBox->setOrientation(Qt::Horizontal);
|
||
|
buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
|
||
|
|
||
|
gridLayout->addWidget(buttonBox, 1, 0, 1, 1);
|
||
|
|
||
|
|
||
|
retranslateUi(Dialog);
|
||
|
QObject::connect(buttonBox, &QDialogButtonBox::accepted, Dialog, qOverload<>(&QDialog::accept));
|
||
|
QObject::connect(buttonBox, &QDialogButtonBox::rejected, Dialog, qOverload<>(&QDialog::reject));
|
||
|
|
||
|
QMetaObject::connectSlotsByName(Dialog);
|
||
|
} // setupUi
|
||
|
|
||
|
void retranslateUi(QDialog *Dialog)
|
||
|
{
|
||
|
Dialog->setWindowTitle(QCoreApplication::translate("Dialog", "Dialog", nullptr));
|
||
|
QTreeWidgetItem *___qtreewidgetitem = treeWidget->headerItem();
|
||
|
___qtreewidgetitem->setText(1, QCoreApplication::translate("Dialog", "4", nullptr));
|
||
|
} // retranslateUi
|
||
|
|
||
|
};
|
||
|
|
||
|
namespace Ui {
|
||
|
class Dialog: public Ui_Dialog {};
|
||
|
} // namespace Ui
|
||
|
|
||
|
QT_END_NAMESPACE
|
||
|
|
||
|
#endif // BUG18156QTREEWIDGET_H
|