1/********************************************************************************
2** Form generated from reading UI file 'dialog.ui'
3**
4** Created by: Qt User Interface Compiler version 5.15.9
5**
6** WARNING! All changes made in this file will be lost when recompiling UI file!
7********************************************************************************/
8
9#ifndef UI_DIALOG_H
10#define UI_DIALOG_H
11
12#include <QtCore/QVariant>
13#include <QtWidgets/QApplication>
14#include <QtWidgets/QDialog>
15#include <QtWidgets/QGridLayout>
16#include <QtWidgets/QLabel>
17#include <QtWidgets/QPushButton>
18
19QT_BEGIN_NAMESPACE
20
21class Ui_Dialog
22{
23public:
24 QGridLayout *gridLayout;
25 QPushButton *loadFromFileButton;
26 QLabel *label;
27 QPushButton *loadFromSharedMemoryButton;
28
29 void setupUi(QDialog *Dialog)
30 {
31 if (Dialog->objectName().isEmpty())
32 Dialog->setObjectName(QString::fromUtf8(str: "Dialog"));
33 Dialog->resize(w: 451, h: 322);
34 gridLayout = new QGridLayout(Dialog);
35 gridLayout->setObjectName(QString::fromUtf8(str: "gridLayout"));
36 loadFromFileButton = new QPushButton(Dialog);
37 loadFromFileButton->setObjectName(QString::fromUtf8(str: "loadFromFileButton"));
38
39 gridLayout->addWidget(loadFromFileButton, row: 0, column: 0, rowSpan: 1, columnSpan: 1);
40
41 label = new QLabel(Dialog);
42 label->setObjectName(QString::fromUtf8(str: "label"));
43 label->setAlignment(Qt::AlignCenter);
44 label->setWordWrap(true);
45
46 gridLayout->addWidget(label, row: 1, column: 0, rowSpan: 1, columnSpan: 1);
47
48 loadFromSharedMemoryButton = new QPushButton(Dialog);
49 loadFromSharedMemoryButton->setObjectName(QString::fromUtf8(str: "loadFromSharedMemoryButton"));
50
51 gridLayout->addWidget(loadFromSharedMemoryButton, row: 2, column: 0, rowSpan: 1, columnSpan: 1);
52
53
54 retranslateUi(Dialog);
55
56 QMetaObject::connectSlotsByName(o: Dialog);
57 } // setupUi
58
59 void retranslateUi(QDialog *Dialog)
60 {
61 Dialog->setWindowTitle(QCoreApplication::translate(context: "Dialog", key: "Dialog", disambiguation: nullptr));
62 loadFromFileButton->setText(QCoreApplication::translate(context: "Dialog", key: "Load Image From File...", disambiguation: nullptr));
63 label->setText(QCoreApplication::translate(context: "Dialog", key: "Launch two of these dialogs. In the first, press the top button and load an image from a file. In the second, press the bottom button and display the loaded image from shared memory.", disambiguation: nullptr));
64 loadFromSharedMemoryButton->setText(QCoreApplication::translate(context: "Dialog", key: "Display Image From Shared Memory", disambiguation: nullptr));
65 } // retranslateUi
66
67};
68
69namespace Ui {
70 class Dialog: public Ui_Dialog {};
71} // namespace Ui
72
73QT_END_NAMESPACE
74
75#endif // UI_DIALOG_H
76

source code of qtbase/examples/corelib/ipc/sharedmemory/.uic/ui_dialog.h