Changeset View
Changeset View
Standalone View
Standalone View
src/widgets/dialogs/showimagewidget.cpp
Show All 38 Lines | 34 | { | |||
---|---|---|---|---|---|
39 | auto *scrollArea = new QScrollArea(this); | 39 | auto *scrollArea = new QScrollArea(this); | ||
40 | scrollArea->setObjectName(QStringLiteral("scrollArea")); | 40 | scrollArea->setObjectName(QStringLiteral("scrollArea")); | ||
41 | scrollArea->setWidgetResizable(true); | 41 | scrollArea->setWidgetResizable(true); | ||
42 | mainLayout->addWidget(scrollArea); | 42 | mainLayout->addWidget(scrollArea); | ||
43 | 43 | | |||
44 | mLabel = new QLabel(this); | 44 | mLabel = new QLabel(this); | ||
45 | mLabel->setObjectName(QStringLiteral("mLabel")); | 45 | mLabel->setObjectName(QStringLiteral("mLabel")); | ||
46 | mLabel->setBackgroundRole(QPalette::Base); | 46 | mLabel->setBackgroundRole(QPalette::Base); | ||
47 | mLabel->setAlignment(Qt::AlignCenter); | ||||
47 | 48 | | |||
48 | scrollArea->setWidget(mLabel); | 49 | scrollArea->setWidget(mLabel); | ||
49 | 50 | | |||
50 | mZoomControls = new QWidget(this); | 51 | mZoomControls = new QWidget(this); | ||
51 | mZoomControls->setObjectName(QStringLiteral("zoomControls")); | 52 | mZoomControls->setObjectName(QStringLiteral("zoomControls")); | ||
52 | auto *zoomLayout = new QHBoxLayout; | 53 | auto *zoomLayout = new QHBoxLayout; | ||
53 | zoomLayout->setObjectName(QStringLiteral("zoomLayout")); | 54 | zoomLayout->setObjectName(QStringLiteral("zoomLayout")); | ||
54 | mZoomControls->setLayout(zoomLayout); | 55 | mZoomControls->setLayout(zoomLayout); | ||
▲ Show 20 Lines • Show All 111 Lines • Show Last 20 Lines |