| 1 | /******************************************************************************** |
| 2 | ** Form generated from reading UI file 'browserwidget.ui' |
| 3 | ** |
| 4 | ** Created by: Qt User Interface Compiler version 6.0.0 |
| 5 | ** |
| 6 | ** WARNING! All changes made in this file will be lost when recompiling UI file! |
| 7 | ********************************************************************************/ |
| 8 | |
| 9 | #ifndef UI_BROWSERWIDGET_H |
| 10 | #define UI_BROWSERWIDGET_H |
| 11 | |
| 12 | #include <QtCore/QVariant> |
| 13 | #include <QtGui/QAction> |
| 14 | #include <QtWidgets/QApplication> |
| 15 | #include <QtWidgets/QGroupBox> |
| 16 | #include <QtWidgets/QHBoxLayout> |
| 17 | #include <QtWidgets/QHeaderView> |
| 18 | #include <QtWidgets/QPushButton> |
| 19 | #include <QtWidgets/QSpacerItem> |
| 20 | #include <QtWidgets/QSplitter> |
| 21 | #include <QtWidgets/QTableView> |
| 22 | #include <QtWidgets/QTextEdit> |
| 23 | #include <QtWidgets/QVBoxLayout> |
| 24 | #include <QtWidgets/QWidget> |
| 25 | #include "connectionwidget.h" |
| 26 | |
| 27 | QT_BEGIN_NAMESPACE |
| 28 | |
| 29 | class Ui_Browser |
| 30 | { |
| 31 | public: |
| 32 | QAction *insertRowAction; |
| 33 | QAction *deleteRowAction; |
| 34 | QAction *fieldStrategyAction; |
| 35 | QAction *rowStrategyAction; |
| 36 | QAction *manualStrategyAction; |
| 37 | QAction *submitAction; |
| 38 | QAction *revertAction; |
| 39 | QAction *selectAction; |
| 40 | QVBoxLayout *vboxLayout; |
| 41 | QSplitter *splitter_2; |
| 42 | ConnectionWidget *connectionWidget; |
| 43 | QTableView *table; |
| 44 | QGroupBox *groupBox; |
| 45 | QVBoxLayout *vboxLayout1; |
| 46 | QTextEdit *sqlEdit; |
| 47 | QHBoxLayout *hboxLayout; |
| 48 | QSpacerItem *spacerItem; |
| 49 | QPushButton *clearButton; |
| 50 | QPushButton *submitButton; |
| 51 | |
| 52 | void setupUi(QWidget *Browser) |
| 53 | { |
| 54 | if (Browser->objectName().isEmpty()) |
| 55 | Browser->setObjectName(QString::fromUtf8("Browser" )); |
| 56 | Browser->resize(765, 515); |
| 57 | insertRowAction = new QAction(Browser); |
| 58 | insertRowAction->setObjectName(QString::fromUtf8("insertRowAction" )); |
| 59 | insertRowAction->setEnabled(false); |
| 60 | deleteRowAction = new QAction(Browser); |
| 61 | deleteRowAction->setObjectName(QString::fromUtf8("deleteRowAction" )); |
| 62 | deleteRowAction->setEnabled(false); |
| 63 | fieldStrategyAction = new QAction(Browser); |
| 64 | fieldStrategyAction->setObjectName(QString::fromUtf8("fieldStrategyAction" )); |
| 65 | fieldStrategyAction->setCheckable(true); |
| 66 | rowStrategyAction = new QAction(Browser); |
| 67 | rowStrategyAction->setObjectName(QString::fromUtf8("rowStrategyAction" )); |
| 68 | rowStrategyAction->setCheckable(true); |
| 69 | manualStrategyAction = new QAction(Browser); |
| 70 | manualStrategyAction->setObjectName(QString::fromUtf8("manualStrategyAction" )); |
| 71 | manualStrategyAction->setCheckable(true); |
| 72 | submitAction = new QAction(Browser); |
| 73 | submitAction->setObjectName(QString::fromUtf8("submitAction" )); |
| 74 | revertAction = new QAction(Browser); |
| 75 | revertAction->setObjectName(QString::fromUtf8("revertAction" )); |
| 76 | selectAction = new QAction(Browser); |
| 77 | selectAction->setObjectName(QString::fromUtf8("selectAction" )); |
| 78 | vboxLayout = new QVBoxLayout(Browser); |
| 79 | #ifndef Q_OS_MAC |
| 80 | vboxLayout->setSpacing(6); |
| 81 | #endif |
| 82 | vboxLayout->setContentsMargins(8, 8, 8, 8); |
| 83 | vboxLayout->setObjectName(QString::fromUtf8("vboxLayout" )); |
| 84 | splitter_2 = new QSplitter(Browser); |
| 85 | splitter_2->setObjectName(QString::fromUtf8("splitter_2" )); |
| 86 | QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); |
| 87 | sizePolicy.setHorizontalStretch(0); |
| 88 | sizePolicy.setVerticalStretch(0); |
| 89 | sizePolicy.setHeightForWidth(splitter_2->sizePolicy().hasHeightForWidth()); |
| 90 | splitter_2->setSizePolicy(sizePolicy); |
| 91 | splitter_2->setOrientation(Qt::Horizontal); |
| 92 | connectionWidget = new ConnectionWidget(splitter_2); |
| 93 | connectionWidget->setObjectName(QString::fromUtf8("connectionWidget" )); |
| 94 | QSizePolicy sizePolicy1(QSizePolicy::Ignored, QSizePolicy::Expanding); |
| 95 | sizePolicy1.setHorizontalStretch(1); |
| 96 | sizePolicy1.setVerticalStretch(0); |
| 97 | sizePolicy1.setHeightForWidth(connectionWidget->sizePolicy().hasHeightForWidth()); |
| 98 | connectionWidget->setSizePolicy(sizePolicy1); |
| 99 | splitter_2->addWidget(connectionWidget); |
| 100 | table = new QTableView(splitter_2); |
| 101 | table->setObjectName(QString::fromUtf8("table" )); |
| 102 | QSizePolicy sizePolicy2(QSizePolicy::Expanding, QSizePolicy::Expanding); |
| 103 | sizePolicy2.setHorizontalStretch(2); |
| 104 | sizePolicy2.setVerticalStretch(0); |
| 105 | sizePolicy2.setHeightForWidth(table->sizePolicy().hasHeightForWidth()); |
| 106 | table->setSizePolicy(sizePolicy2); |
| 107 | table->setContextMenuPolicy(Qt::ActionsContextMenu); |
| 108 | table->setSelectionBehavior(QAbstractItemView::SelectRows); |
| 109 | splitter_2->addWidget(table); |
| 110 | |
| 111 | vboxLayout->addWidget(splitter_2); |
| 112 | |
| 113 | groupBox = new QGroupBox(Browser); |
| 114 | groupBox->setObjectName(QString::fromUtf8("groupBox" )); |
| 115 | QSizePolicy sizePolicy3(QSizePolicy::Preferred, QSizePolicy::MinimumExpanding); |
| 116 | sizePolicy3.setHorizontalStretch(0); |
| 117 | sizePolicy3.setVerticalStretch(0); |
| 118 | sizePolicy3.setHeightForWidth(groupBox->sizePolicy().hasHeightForWidth()); |
| 119 | groupBox->setSizePolicy(sizePolicy3); |
| 120 | groupBox->setMaximumSize(QSize(16777215, 180)); |
| 121 | vboxLayout1 = new QVBoxLayout(groupBox); |
| 122 | #ifndef Q_OS_MAC |
| 123 | vboxLayout1->setSpacing(6); |
| 124 | #endif |
| 125 | #ifndef Q_OS_MAC |
| 126 | vboxLayout1->setContentsMargins(9, 9, 9, 9); |
| 127 | #endif |
| 128 | vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1" )); |
| 129 | sqlEdit = new QTextEdit(groupBox); |
| 130 | sqlEdit->setObjectName(QString::fromUtf8("sqlEdit" )); |
| 131 | QSizePolicy sizePolicy4(QSizePolicy::Expanding, QSizePolicy::MinimumExpanding); |
| 132 | sizePolicy4.setHorizontalStretch(0); |
| 133 | sizePolicy4.setVerticalStretch(0); |
| 134 | sizePolicy4.setHeightForWidth(sqlEdit->sizePolicy().hasHeightForWidth()); |
| 135 | sqlEdit->setSizePolicy(sizePolicy4); |
| 136 | sqlEdit->setMinimumSize(QSize(0, 18)); |
| 137 | sqlEdit->setBaseSize(QSize(0, 120)); |
| 138 | |
| 139 | vboxLayout1->addWidget(sqlEdit); |
| 140 | |
| 141 | hboxLayout = new QHBoxLayout(); |
| 142 | #ifndef Q_OS_MAC |
| 143 | hboxLayout->setSpacing(6); |
| 144 | #endif |
| 145 | hboxLayout->setContentsMargins(1, 1, 1, 1); |
| 146 | hboxLayout->setObjectName(QString::fromUtf8("hboxLayout" )); |
| 147 | spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
| 148 | |
| 149 | hboxLayout->addItem(spacerItem); |
| 150 | |
| 151 | clearButton = new QPushButton(groupBox); |
| 152 | clearButton->setObjectName(QString::fromUtf8("clearButton" )); |
| 153 | |
| 154 | hboxLayout->addWidget(clearButton); |
| 155 | |
| 156 | submitButton = new QPushButton(groupBox); |
| 157 | submitButton->setObjectName(QString::fromUtf8("submitButton" )); |
| 158 | |
| 159 | hboxLayout->addWidget(submitButton); |
| 160 | |
| 161 | |
| 162 | vboxLayout1->addLayout(hboxLayout); |
| 163 | |
| 164 | |
| 165 | vboxLayout->addWidget(groupBox); |
| 166 | |
| 167 | QWidget::setTabOrder(sqlEdit, clearButton); |
| 168 | QWidget::setTabOrder(clearButton, submitButton); |
| 169 | QWidget::setTabOrder(submitButton, connectionWidget); |
| 170 | QWidget::setTabOrder(connectionWidget, table); |
| 171 | |
| 172 | retranslateUi(Browser); |
| 173 | |
| 174 | QMetaObject::connectSlotsByName(Browser); |
| 175 | } // setupUi |
| 176 | |
| 177 | void retranslateUi(QWidget *Browser) |
| 178 | { |
| 179 | Browser->setWindowTitle(QCoreApplication::translate("Browser" , "Qt SQL Browser" , nullptr)); |
| 180 | insertRowAction->setText(QCoreApplication::translate("Browser" , "&Insert Row" , nullptr)); |
| 181 | #if QT_CONFIG(statustip) |
| 182 | insertRowAction->setStatusTip(QCoreApplication::translate("Browser" , "Inserts a new Row" , nullptr)); |
| 183 | #endif // QT_CONFIG(statustip) |
| 184 | deleteRowAction->setText(QCoreApplication::translate("Browser" , "&Delete Row" , nullptr)); |
| 185 | #if QT_CONFIG(statustip) |
| 186 | deleteRowAction->setStatusTip(QCoreApplication::translate("Browser" , "Deletes the current Row" , nullptr)); |
| 187 | #endif // QT_CONFIG(statustip) |
| 188 | fieldStrategyAction->setText(QCoreApplication::translate("Browser" , "Submit on &Field Change" , nullptr)); |
| 189 | #if QT_CONFIG(tooltip) |
| 190 | fieldStrategyAction->setToolTip(QCoreApplication::translate("Browser" , "Commit on Field Change" , nullptr)); |
| 191 | #endif // QT_CONFIG(tooltip) |
| 192 | rowStrategyAction->setText(QCoreApplication::translate("Browser" , "Submit on &Row Change" , nullptr)); |
| 193 | #if QT_CONFIG(tooltip) |
| 194 | rowStrategyAction->setToolTip(QCoreApplication::translate("Browser" , "Commit on Row Change" , nullptr)); |
| 195 | #endif // QT_CONFIG(tooltip) |
| 196 | manualStrategyAction->setText(QCoreApplication::translate("Browser" , "Submit &Manually" , nullptr)); |
| 197 | #if QT_CONFIG(tooltip) |
| 198 | manualStrategyAction->setToolTip(QCoreApplication::translate("Browser" , "Commit Manually" , nullptr)); |
| 199 | #endif // QT_CONFIG(tooltip) |
| 200 | submitAction->setText(QCoreApplication::translate("Browser" , "&Submit All" , nullptr)); |
| 201 | #if QT_CONFIG(tooltip) |
| 202 | submitAction->setToolTip(QCoreApplication::translate("Browser" , "Submit Changes" , nullptr)); |
| 203 | #endif // QT_CONFIG(tooltip) |
| 204 | revertAction->setText(QCoreApplication::translate("Browser" , "&Revert All" , nullptr)); |
| 205 | #if QT_CONFIG(tooltip) |
| 206 | revertAction->setToolTip(QCoreApplication::translate("Browser" , "Revert" , nullptr)); |
| 207 | #endif // QT_CONFIG(tooltip) |
| 208 | selectAction->setText(QCoreApplication::translate("Browser" , "S&elect" , nullptr)); |
| 209 | #if QT_CONFIG(tooltip) |
| 210 | selectAction->setToolTip(QCoreApplication::translate("Browser" , "Refresh Data from Database" , nullptr)); |
| 211 | #endif // QT_CONFIG(tooltip) |
| 212 | groupBox->setTitle(QCoreApplication::translate("Browser" , "SQL Query" , nullptr)); |
| 213 | clearButton->setText(QCoreApplication::translate("Browser" , "&Clear" , nullptr)); |
| 214 | submitButton->setText(QCoreApplication::translate("Browser" , "&Submit" , nullptr)); |
| 215 | } // retranslateUi |
| 216 | |
| 217 | }; |
| 218 | |
| 219 | namespace Ui { |
| 220 | class Browser: public Ui_Browser {}; |
| 221 | } // namespace Ui |
| 222 | |
| 223 | QT_END_NAMESPACE |
| 224 | |
| 225 | #endif // UI_BROWSERWIDGET_H |
| 226 | |