加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
ui_msg_dlg.h 6.42 KB
一键复制 编辑 原始数据 按行查看 历史
编号001 提交于 2024-11-03 21:21 . init
/********************************************************************************
** Form generated from reading UI file 'msg_dlg.ui'
**
** Created by: Qt User Interface Compiler version 6.4.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef UI_MSG_DLG_H
#define UI_MSG_DLG_H
#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QDialog>
#include <QtWidgets/QFrame>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QStackedWidget>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include <titlebar.h>
QT_BEGIN_NAMESPACE
class Ui_MsgDlg
{
public:
QVBoxLayout *verticalLayout;
QFrame *container;
QVBoxLayout *verticalLayout_3;
QFrame *header;
QVBoxLayout *verticalLayout_4;
TitleBar *title;
QStackedWidget *content;
QWidget *page_msg;
QVBoxLayout *verticalLayout_2;
QWidget *horizontalWidget;
QHBoxLayout *horizontalLayout_14;
QLabel *icon;
QLabel *lblMsg;
QWidget *horizontalWidget_2;
QHBoxLayout *horizontalLayout_24;
QSpacerItem *horizontalSpacer_5;
QPushButton *yes;
QPushButton *no;
void setupUi(QDialog *MsgDlg)
{
if (MsgDlg->objectName().isEmpty())
MsgDlg->setObjectName("MsgDlg");
MsgDlg->resize(432, 224);
verticalLayout = new QVBoxLayout(MsgDlg);
verticalLayout->setSpacing(0);
verticalLayout->setObjectName("verticalLayout");
verticalLayout->setContentsMargins(8, 8, 8, 8);
container = new QFrame(MsgDlg);
container->setObjectName("container");
container->setFrameShape(QFrame::Shape::StyledPanel);
container->setFrameShadow(QFrame::Shadow::Raised);
verticalLayout_3 = new QVBoxLayout(container);
verticalLayout_3->setSpacing(0);
verticalLayout_3->setObjectName("verticalLayout_3");
verticalLayout_3->setContentsMargins(0, 0, 0, 0);
header = new QFrame(container);
header->setObjectName("header");
header->setMinimumSize(QSize(0, 40));
verticalLayout_4 = new QVBoxLayout(header);
verticalLayout_4->setSpacing(0);
verticalLayout_4->setObjectName("verticalLayout_4");
verticalLayout_4->setContentsMargins(0, 0, 0, 0);
title = new TitleBar(header);
title->setObjectName("title");
verticalLayout_4->addWidget(title);
verticalLayout_3->addWidget(header);
content = new QStackedWidget(container);
content->setObjectName("content");
page_msg = new QWidget();
page_msg->setObjectName("page_msg");
verticalLayout_2 = new QVBoxLayout(page_msg);
verticalLayout_2->setObjectName("verticalLayout_2");
verticalLayout_2->setContentsMargins(0, 0, 0, 0);
horizontalWidget = new QWidget(page_msg);
horizontalWidget->setObjectName("horizontalWidget");
QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Expanding);
sizePolicy.setHorizontalStretch(0);
sizePolicy.setVerticalStretch(0);
sizePolicy.setHeightForWidth(horizontalWidget->sizePolicy().hasHeightForWidth());
horizontalWidget->setSizePolicy(sizePolicy);
horizontalLayout_14 = new QHBoxLayout(horizontalWidget);
horizontalLayout_14->setSpacing(10);
horizontalLayout_14->setObjectName("horizontalLayout_14");
icon = new QLabel(horizontalWidget);
icon->setObjectName("icon");
QSizePolicy sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Fixed);
sizePolicy1.setHorizontalStretch(0);
sizePolicy1.setVerticalStretch(0);
sizePolicy1.setHeightForWidth(icon->sizePolicy().hasHeightForWidth());
icon->setSizePolicy(sizePolicy1);
icon->setMinimumSize(QSize(75, 75));
icon->setMaximumSize(QSize(75, 75));
horizontalLayout_14->addWidget(icon);
lblMsg = new QLabel(horizontalWidget);
lblMsg->setObjectName("lblMsg");
QSizePolicy sizePolicy2(QSizePolicy::Expanding, QSizePolicy::Preferred);
sizePolicy2.setHorizontalStretch(0);
sizePolicy2.setVerticalStretch(0);
sizePolicy2.setHeightForWidth(lblMsg->sizePolicy().hasHeightForWidth());
lblMsg->setSizePolicy(sizePolicy2);
horizontalLayout_14->addWidget(lblMsg);
verticalLayout_2->addWidget(horizontalWidget);
horizontalWidget_2 = new QWidget(page_msg);
horizontalWidget_2->setObjectName("horizontalWidget_2");
horizontalLayout_24 = new QHBoxLayout(horizontalWidget_2);
horizontalLayout_24->setObjectName("horizontalLayout_24");
horizontalLayout_24->setContentsMargins(-1, 0, -1, -1);
horizontalSpacer_5 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout_24->addItem(horizontalSpacer_5);
yes = new QPushButton(horizontalWidget_2);
yes->setObjectName("yes");
QSizePolicy sizePolicy3(QSizePolicy::Fixed, QSizePolicy::Preferred);
sizePolicy3.setHorizontalStretch(0);
sizePolicy3.setVerticalStretch(0);
sizePolicy3.setHeightForWidth(yes->sizePolicy().hasHeightForWidth());
yes->setSizePolicy(sizePolicy3);
yes->setMinimumSize(QSize(100, 0));
horizontalLayout_24->addWidget(yes);
no = new QPushButton(horizontalWidget_2);
no->setObjectName("no");
sizePolicy3.setHeightForWidth(no->sizePolicy().hasHeightForWidth());
no->setSizePolicy(sizePolicy3);
no->setMinimumSize(QSize(100, 0));
horizontalLayout_24->addWidget(no);
verticalLayout_2->addWidget(horizontalWidget_2);
content->addWidget(page_msg);
verticalLayout_3->addWidget(content);
verticalLayout->addWidget(container);
retranslateUi(MsgDlg);
QMetaObject::connectSlotsByName(MsgDlg);
} // setupUi
void retranslateUi(QDialog *MsgDlg)
{
MsgDlg->setWindowTitle(QCoreApplication::translate("MsgDlg", "Dialog", nullptr));
icon->setText(QString());
lblMsg->setText(QString());
yes->setText(QCoreApplication::translate("MsgDlg", "Yes", nullptr));
no->setText(QCoreApplication::translate("MsgDlg", "No", nullptr));
} // retranslateUi
};
namespace Ui {
class MsgDlg: public Ui_MsgDlg {};
} // namespace Ui
QT_END_NAMESPACE
#endif // UI_MSG_DLG_H
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化