| 1 |
/******************************************************************************** |
| 2 |
** Form generated from reading UI file 'bookmarkdialog.ui' |
| 3 |
** |
| 4 |
** Created by: Qt User Interface Compiler version 5.12.0 |
| 5 |
** |
| 6 |
** WARNING! All changes made in this file will be lost when recompiling UI file! |
| 7 |
********************************************************************************/ |
| 8 |
|
| 9 |
#ifndef BOOKMARKDIALOG_H |
| 10 |
#define BOOKMARKDIALOG_H |
| 11 |
|
| 12 |
#include <QtCore/QVariant> |
| 13 |
#include <QtWidgets/QApplication> |
| 14 |
#include <QtWidgets/QComboBox> |
| 15 |
#include <QtWidgets/QDialog> |
| 16 |
#include <QtWidgets/QDialogButtonBox> |
| 17 |
#include <QtWidgets/QFrame> |
| 18 |
#include <QtWidgets/QHBoxLayout> |
| 19 |
#include <QtWidgets/QHeaderView> |
| 20 |
#include <QtWidgets/QLabel> |
| 21 |
#include <QtWidgets/QLineEdit> |
| 22 |
#include <QtWidgets/QPushButton> |
| 23 |
#include <QtWidgets/QToolButton> |
| 24 |
#include <QtWidgets/QVBoxLayout> |
| 25 |
#include "bookmarkwidget.h" |
| 26 |
|
| 27 |
QT_BEGIN_NAMESPACE |
| 28 |
|
| 29 |
class Ui_BookmarkDialog |
| 30 |
{ |
| 31 |
public: |
| 32 |
QVBoxLayout *verticalLayout_3; |
| 33 |
QHBoxLayout *horizontalLayout; |
| 34 |
QVBoxLayout *verticalLayout_2; |
| 35 |
QLabel *label; |
| 36 |
QLabel *label_2; |
| 37 |
QVBoxLayout *verticalLayout; |
| 38 |
QLineEdit *bookmarkEdit; |
| 39 |
QComboBox *bookmarkFolders; |
| 40 |
QHBoxLayout *horizontalLayout_3; |
| 41 |
QToolButton *toolButton; |
| 42 |
QFrame *line; |
| 43 |
BookmarkWidget *bookmarkWidget; |
| 44 |
QHBoxLayout *horizontalLayout_4; |
| 45 |
QPushButton *newFolderButton; |
| 46 |
QDialogButtonBox *buttonBox; |
| 47 |
|
| 48 |
void setupUi(QDialog *BookmarkDialog) |
| 49 |
{ |
| 50 |
if (BookmarkDialog->objectName().isEmpty()) |
| 51 |
BookmarkDialog->setObjectName(QString::fromUtf8("BookmarkDialog")); |
| 52 |
BookmarkDialog->resize(450, 135); |
| 53 |
QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred); |
| 54 |
sizePolicy.setHorizontalStretch(0); |
| 55 |
sizePolicy.setVerticalStretch(0); |
| 56 |
sizePolicy.setHeightForWidth(BookmarkDialog->sizePolicy().hasHeightForWidth()); |
| 57 |
BookmarkDialog->setSizePolicy(sizePolicy); |
| 58 |
verticalLayout_3 = new QVBoxLayout(BookmarkDialog); |
| 59 |
verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3")); |
| 60 |
horizontalLayout = new QHBoxLayout(); |
| 61 |
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout")); |
| 62 |
verticalLayout_2 = new QVBoxLayout(); |
| 63 |
verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2")); |
| 64 |
label = new QLabel(BookmarkDialog); |
| 65 |
label->setObjectName(QString::fromUtf8("label")); |
| 66 |
|
| 67 |
verticalLayout_2->addWidget(label); |
| 68 |
|
| 69 |
label_2 = new QLabel(BookmarkDialog); |
| 70 |
label_2->setObjectName(QString::fromUtf8("label_2")); |
| 71 |
|
| 72 |
verticalLayout_2->addWidget(label_2); |
| 73 |
|
| 74 |
|
| 75 |
horizontalLayout->addLayout(verticalLayout_2); |
| 76 |
|
| 77 |
verticalLayout = new QVBoxLayout(); |
| 78 |
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); |
| 79 |
bookmarkEdit = new QLineEdit(BookmarkDialog); |
| 80 |
bookmarkEdit->setObjectName(QString::fromUtf8("bookmarkEdit")); |
| 81 |
|
| 82 |
verticalLayout->addWidget(bookmarkEdit); |
| 83 |
|
| 84 |
bookmarkFolders = new QComboBox(BookmarkDialog); |
| 85 |
bookmarkFolders->setObjectName(QString::fromUtf8("bookmarkFolders")); |
| 86 |
|
| 87 |
verticalLayout->addWidget(bookmarkFolders); |
| 88 |
|
| 89 |
|
| 90 |
horizontalLayout->addLayout(verticalLayout); |
| 91 |
|
| 92 |
|
| 93 |
verticalLayout_3->addLayout(horizontalLayout); |
| 94 |
|
| 95 |
horizontalLayout_3 = new QHBoxLayout(); |
| 96 |
horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3")); |
| 97 |
toolButton = new QToolButton(BookmarkDialog); |
| 98 |
toolButton->setObjectName(QString::fromUtf8("toolButton")); |
| 99 |
toolButton->setMinimumSize(QSize(25, 20)); |
| 100 |
|
| 101 |
horizontalLayout_3->addWidget(toolButton); |
| 102 |
|
| 103 |
line = new QFrame(BookmarkDialog); |
| 104 |
line->setObjectName(QString::fromUtf8("line")); |
| 105 |
line->setFrameShape(QFrame::HLine); |
| 106 |
line->setFrameShadow(QFrame::Sunken); |
| 107 |
|
| 108 |
horizontalLayout_3->addWidget(line); |
| 109 |
|
| 110 |
|
| 111 |
verticalLayout_3->addLayout(horizontalLayout_3); |
| 112 |
|
| 113 |
bookmarkWidget = new BookmarkWidget(BookmarkDialog); |
| 114 |
bookmarkWidget->setObjectName(QString::fromUtf8("bookmarkWidget")); |
| 115 |
bookmarkWidget->setEnabled(true); |
| 116 |
QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Ignored); |
| 117 |
sizePolicy1.setHorizontalStretch(0); |
| 118 |
sizePolicy1.setVerticalStretch(0); |
| 119 |
sizePolicy1.setHeightForWidth(bookmarkWidget->sizePolicy().hasHeightForWidth()); |
| 120 |
bookmarkWidget->setSizePolicy(sizePolicy1); |
| 121 |
|
| 122 |
verticalLayout_3->addWidget(bookmarkWidget); |
| 123 |
|
| 124 |
horizontalLayout_4 = new QHBoxLayout(); |
| 125 |
horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4")); |
| 126 |
newFolderButton = new QPushButton(BookmarkDialog); |
| 127 |
newFolderButton->setObjectName(QString::fromUtf8("newFolderButton")); |
| 128 |
|
| 129 |
horizontalLayout_4->addWidget(newFolderButton); |
| 130 |
|
| 131 |
buttonBox = new QDialogButtonBox(BookmarkDialog); |
| 132 |
buttonBox->setObjectName(QString::fromUtf8("buttonBox")); |
| 133 |
buttonBox->setOrientation(Qt::Horizontal); |
| 134 |
buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok); |
| 135 |
|
| 136 |
horizontalLayout_4->addWidget(buttonBox); |
| 137 |
|
| 138 |
|
| 139 |
verticalLayout_3->addLayout(horizontalLayout_4); |
| 140 |
|
| 141 |
|
| 142 |
retranslateUi(BookmarkDialog); |
| 143 |
QObject::connect(buttonBox, SIGNAL(accepted()), BookmarkDialog, SLOT(accept())); |
| 144 |
QObject::connect(buttonBox, SIGNAL(rejected()), BookmarkDialog, SLOT(reject())); |
| 145 |
|
| 146 |
QMetaObject::connectSlotsByName(BookmarkDialog); |
| 147 |
} // setupUi |
| 148 |
|
| 149 |
void retranslateUi(QDialog *BookmarkDialog) |
| 150 |
{ |
| 151 |
BookmarkDialog->setWindowTitle(QCoreApplication::translate("BookmarkDialog", "Add Bookmark", nullptr)); |
| 152 |
label->setText(QCoreApplication::translate("BookmarkDialog", "Bookmark:", nullptr)); |
| 153 |
label_2->setText(QCoreApplication::translate("BookmarkDialog", "Add in Folder:", nullptr)); |
| 154 |
toolButton->setText(QCoreApplication::translate("BookmarkDialog", "+", nullptr)); |
| 155 |
QTreeWidgetItem *___qtreewidgetitem = bookmarkWidget->headerItem(); |
| 156 |
___qtreewidgetitem->setText(0, QCoreApplication::translate("BookmarkDialog", "1", nullptr)); |
| 157 |
newFolderButton->setText(QCoreApplication::translate("BookmarkDialog", "New Folder", nullptr)); |
| 158 |
} // retranslateUi |
| 159 |
|
| 160 |
}; |
| 161 |
|
| 162 |
namespace Ui { |
| 163 |
class BookmarkDialog: public Ui_BookmarkDialog {}; |
| 164 |
} // namespace Ui |
| 165 |
|
| 166 |
QT_END_NAMESPACE |
| 167 |
|
| 168 |
#endif // BOOKMARKDIALOG_H |