1/********************************************************************************
2** Form generated from reading UI file 'mainwindowbase.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_MAINWINDOWBASE_H
10#define UI_MAINWINDOWBASE_H
11
12#include <QtCore/QVariant>
13#include <QtWidgets/QAction>
14#include <QtWidgets/QApplication>
15#include <QtWidgets/QDockWidget>
16#include <QtWidgets/QHeaderView>
17#include <QtWidgets/QMainWindow>
18#include <QtWidgets/QMenu>
19#include <QtWidgets/QMenuBar>
20#include <QtWidgets/QStatusBar>
21#include <QtWidgets/QTextEdit>
22#include <QtWidgets/QTreeWidget>
23#include <QtWidgets/QVBoxLayout>
24#include <QtWidgets/QWidget>
25
26QT_BEGIN_NAMESPACE
27
28class Ui_MainWindowBase
29{
30public:
31 QAction *printAction;
32 QAction *quitAction;
33 QAction *markAction;
34 QAction *unmarkAction;
35 QAction *clearAction;
36 QAction *printPreviewAction;
37 QWidget *centralwidget;
38 QVBoxLayout *vboxLayout;
39 QTextEdit *textEdit;
40 QMenuBar *menubar;
41 QMenu *menu_Selection;
42 QMenu *menu_File;
43 QStatusBar *statusbar;
44 QDockWidget *dockWidget;
45 QWidget *dockWidgetContents;
46 QVBoxLayout *vboxLayout1;
47 QTreeWidget *fontTree;
48
49 void setupUi(QMainWindow *MainWindowBase)
50 {
51 if (MainWindowBase->objectName().isEmpty())
52 MainWindowBase->setObjectName(QString::fromUtf8(str: "MainWindowBase"));
53 MainWindowBase->resize(w: 800, h: 345);
54 printAction = new QAction(MainWindowBase);
55 printAction->setObjectName(QString::fromUtf8(str: "printAction"));
56 printAction->setEnabled(false);
57 quitAction = new QAction(MainWindowBase);
58 quitAction->setObjectName(QString::fromUtf8(str: "quitAction"));
59 markAction = new QAction(MainWindowBase);
60 markAction->setObjectName(QString::fromUtf8(str: "markAction"));
61 unmarkAction = new QAction(MainWindowBase);
62 unmarkAction->setObjectName(QString::fromUtf8(str: "unmarkAction"));
63 clearAction = new QAction(MainWindowBase);
64 clearAction->setObjectName(QString::fromUtf8(str: "clearAction"));
65 printPreviewAction = new QAction(MainWindowBase);
66 printPreviewAction->setObjectName(QString::fromUtf8(str: "printPreviewAction"));
67 printPreviewAction->setEnabled(false);
68 centralwidget = new QWidget(MainWindowBase);
69 centralwidget->setObjectName(QString::fromUtf8(str: "centralwidget"));
70 vboxLayout = new QVBoxLayout(centralwidget);
71#ifndef Q_OS_MAC
72 vboxLayout->setSpacing(6);
73#endif
74#ifndef Q_OS_MAC
75 vboxLayout->setContentsMargins(left: 9, top: 9, right: 9, bottom: 9);
76#endif
77 vboxLayout->setObjectName(QString::fromUtf8(str: "vboxLayout"));
78 textEdit = new QTextEdit(centralwidget);
79 textEdit->setObjectName(QString::fromUtf8(str: "textEdit"));
80
81 vboxLayout->addWidget(textEdit);
82
83 MainWindowBase->setCentralWidget(centralwidget);
84 menubar = new QMenuBar(MainWindowBase);
85 menubar->setObjectName(QString::fromUtf8(str: "menubar"));
86 menubar->setGeometry(QRect(0, 0, 800, 18));
87 menu_Selection = new QMenu(menubar);
88 menu_Selection->setObjectName(QString::fromUtf8(str: "menu_Selection"));
89 menu_File = new QMenu(menubar);
90 menu_File->setObjectName(QString::fromUtf8(str: "menu_File"));
91 MainWindowBase->setMenuBar(menubar);
92 statusbar = new QStatusBar(MainWindowBase);
93 statusbar->setObjectName(QString::fromUtf8(str: "statusbar"));
94 MainWindowBase->setStatusBar(statusbar);
95 dockWidget = new QDockWidget(MainWindowBase);
96 dockWidget->setObjectName(QString::fromUtf8(str: "dockWidget"));
97 dockWidget->setFeatures(QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable);
98 dockWidgetContents = new QWidget();
99 dockWidgetContents->setObjectName(QString::fromUtf8(str: "dockWidgetContents"));
100 vboxLayout1 = new QVBoxLayout(dockWidgetContents);
101#ifndef Q_OS_MAC
102 vboxLayout1->setSpacing(6);
103#endif
104#ifndef Q_OS_MAC
105 vboxLayout1->setContentsMargins(left: 9, top: 9, right: 9, bottom: 9);
106#endif
107 vboxLayout1->setObjectName(QString::fromUtf8(str: "vboxLayout1"));
108 fontTree = new QTreeWidget(dockWidgetContents);
109 QTreeWidgetItem *__qtreewidgetitem = new QTreeWidgetItem();
110 __qtreewidgetitem->setText(column: 0, atext: QString::fromUtf8(str: "1"));
111 fontTree->setHeaderItem(__qtreewidgetitem);
112 fontTree->setObjectName(QString::fromUtf8(str: "fontTree"));
113 fontTree->setSelectionMode(QAbstractItemView::ExtendedSelection);
114
115 vboxLayout1->addWidget(fontTree);
116
117 dockWidget->setWidget(dockWidgetContents);
118 MainWindowBase->addDockWidget(area: Qt::LeftDockWidgetArea, dockwidget: dockWidget);
119
120 menubar->addAction(action: menu_File->menuAction());
121 menubar->addAction(action: menu_Selection->menuAction());
122 menu_Selection->addAction(action: markAction);
123 menu_Selection->addAction(action: unmarkAction);
124 menu_Selection->addAction(action: clearAction);
125 menu_File->addAction(action: printPreviewAction);
126 menu_File->addAction(action: printAction);
127 menu_File->addAction(action: quitAction);
128
129 retranslateUi(MainWindowBase);
130
131 QMetaObject::connectSlotsByName(o: MainWindowBase);
132 } // setupUi
133
134 void retranslateUi(QMainWindow *MainWindowBase)
135 {
136 MainWindowBase->setWindowTitle(QCoreApplication::translate(context: "MainWindowBase", key: "Font Sampler", disambiguation: nullptr));
137 printAction->setText(QCoreApplication::translate(context: "MainWindowBase", key: "&Print...", disambiguation: nullptr));
138#if QT_CONFIG(shortcut)
139 printAction->setShortcut(QCoreApplication::translate(context: "MainWindowBase", key: "Ctrl+P", disambiguation: nullptr));
140#endif // QT_CONFIG(shortcut)
141 quitAction->setText(QCoreApplication::translate(context: "MainWindowBase", key: "E&xit", disambiguation: nullptr));
142#if QT_CONFIG(shortcut)
143 quitAction->setShortcut(QCoreApplication::translate(context: "MainWindowBase", key: "Ctrl+Q", disambiguation: nullptr));
144#endif // QT_CONFIG(shortcut)
145 markAction->setText(QCoreApplication::translate(context: "MainWindowBase", key: "&Mark", disambiguation: nullptr));
146#if QT_CONFIG(shortcut)
147 markAction->setShortcut(QCoreApplication::translate(context: "MainWindowBase", key: "Ctrl+M", disambiguation: nullptr));
148#endif // QT_CONFIG(shortcut)
149 unmarkAction->setText(QCoreApplication::translate(context: "MainWindowBase", key: "&Unmark", disambiguation: nullptr));
150#if QT_CONFIG(shortcut)
151 unmarkAction->setShortcut(QCoreApplication::translate(context: "MainWindowBase", key: "Ctrl+U", disambiguation: nullptr));
152#endif // QT_CONFIG(shortcut)
153 clearAction->setText(QCoreApplication::translate(context: "MainWindowBase", key: "&Clear", disambiguation: nullptr));
154 printPreviewAction->setText(QCoreApplication::translate(context: "MainWindowBase", key: "Print Preview...", disambiguation: nullptr));
155 menu_Selection->setTitle(QCoreApplication::translate(context: "MainWindowBase", key: "&Selection", disambiguation: nullptr));
156 menu_File->setTitle(QCoreApplication::translate(context: "MainWindowBase", key: "&File", disambiguation: nullptr));
157 dockWidget->setWindowTitle(QCoreApplication::translate(context: "MainWindowBase", key: "Available Fonts", disambiguation: nullptr));
158 } // retranslateUi
159
160};
161
162namespace Ui {
163 class MainWindowBase: public Ui_MainWindowBase {};
164} // namespace Ui
165
166QT_END_NAMESPACE
167
168#endif // UI_MAINWINDOWBASE_H
169

source code of qtbase/examples/widgets/painting/fontsampler/.uic/ui_mainwindowbase.h