-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui_imagewidget.h
104 lines (84 loc) · 3.49 KB
/
ui_imagewidget.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
/********************************************************************************
** Form generated from reading UI file 'imagewidget.ui'
**
** Created by: Qt User Interface Compiler version 6.7.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef UI_IMAGEWIDGET_H
#define UI_IMAGEWIDGET_H
#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QScrollArea>
#include <QtWidgets/QSlider>
#include <QtWidgets/QStackedWidget>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include <mygraphicsview.h>
QT_BEGIN_NAMESPACE
class Ui_ImageWidget
{
public:
QWidget *page;
QVBoxLayout *verticalLayout;
QHBoxLayout *horizontalLayout;
QScrollArea *scrollArea;
QWidget *scrollAreaWidgetContents;
QVBoxLayout *verticalLayout_2;
MyGraphicsView *graphics_view;
QSlider *slider;
void setupUi(QStackedWidget *ImageWidget)
{
if (ImageWidget->objectName().isEmpty())
ImageWidget->setObjectName("ImageWidget");
ImageWidget->resize(736, 439);
page = new QWidget();
page->setObjectName("page");
verticalLayout = new QVBoxLayout(page);
verticalLayout->setObjectName("verticalLayout");
horizontalLayout = new QHBoxLayout();
horizontalLayout->setSpacing(0);
horizontalLayout->setObjectName("horizontalLayout");
verticalLayout->addLayout(horizontalLayout);
scrollArea = new QScrollArea(page);
scrollArea->setObjectName("scrollArea");
scrollArea->setWidgetResizable(true);
scrollArea->setAlignment(Qt::AlignmentFlag::AlignCenter);
scrollAreaWidgetContents = new QWidget();
scrollAreaWidgetContents->setObjectName("scrollAreaWidgetContents");
scrollAreaWidgetContents->setGeometry(QRect(0, 0, 716, 390));
QSizePolicy sizePolicy(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Preferred);
sizePolicy.setHorizontalStretch(0);
sizePolicy.setVerticalStretch(0);
sizePolicy.setHeightForWidth(scrollAreaWidgetContents->sizePolicy().hasHeightForWidth());
scrollAreaWidgetContents->setSizePolicy(sizePolicy);
verticalLayout_2 = new QVBoxLayout(scrollAreaWidgetContents);
verticalLayout_2->setSpacing(0);
verticalLayout_2->setObjectName("verticalLayout_2");
verticalLayout_2->setContentsMargins(0, 0, 0, 0);
graphics_view = new MyGraphicsView(scrollAreaWidgetContents);
graphics_view->setObjectName("graphics_view");
verticalLayout_2->addWidget(graphics_view);
scrollArea->setWidget(scrollAreaWidgetContents);
verticalLayout->addWidget(scrollArea);
slider = new QSlider(page);
slider->setObjectName("slider");
slider->setMaximum(1000);
slider->setOrientation(Qt::Orientation::Horizontal);
slider->setTickPosition(QSlider::TickPosition::NoTicks);
verticalLayout->addWidget(slider);
ImageWidget->addWidget(page);
retranslateUi(ImageWidget);
QMetaObject::connectSlotsByName(ImageWidget);
} // setupUi
void retranslateUi(QStackedWidget *ImageWidget)
{
ImageWidget->setWindowTitle(QCoreApplication::translate("ImageWidget", "StackedWidget", nullptr));
} // retranslateUi
};
namespace Ui {
class ImageWidget: public Ui_ImageWidget {};
} // namespace Ui
QT_END_NAMESPACE
#endif // UI_IMAGEWIDGET_H