1 | /******************************************************************************** |
2 | ** Form generated from reading UI file 'SearchBar.ui' |
3 | ** |
4 | ** Created by: Qt User Interface Compiler version 5.15.7 |
5 | ** |
6 | ** WARNING! All changes made in this file will be lost when recompiling UI file! |
7 | ********************************************************************************/ |
8 | |
9 | #ifndef UI_SEARCHBAR_H |
10 | #define UI_SEARCHBAR_H |
11 | |
12 | #include <QtCore/QVariant> |
13 | #include <QtGui/QIcon> |
14 | #include <QtWidgets/QApplication> |
15 | #include <QtWidgets/QHBoxLayout> |
16 | #include <QtWidgets/QLabel> |
17 | #include <QtWidgets/QLineEdit> |
18 | #include <QtWidgets/QToolButton> |
19 | #include <QtWidgets/QWidget> |
20 | |
21 | QT_BEGIN_NAMESPACE |
22 | |
23 | class Ui_SearchBar |
24 | { |
25 | public: |
26 | QHBoxLayout *horizontalLayout; |
27 | QToolButton *closeButton; |
28 | QLabel *findLabel; |
29 | QLineEdit *searchTextEdit; |
30 | QToolButton *findPreviousButton; |
31 | QToolButton *findNextButton; |
32 | QToolButton *optionsButton; |
33 | |
34 | void setupUi(QWidget *SearchBar) |
35 | { |
36 | if (SearchBar->objectName().isEmpty()) |
37 | SearchBar->setObjectName(QString::fromUtf8("SearchBar" )); |
38 | SearchBar->resize(399, 40); |
39 | horizontalLayout = new QHBoxLayout(SearchBar); |
40 | horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout" )); |
41 | closeButton = new QToolButton(SearchBar); |
42 | closeButton->setObjectName(QString::fromUtf8("closeButton" )); |
43 | QIcon icon; |
44 | QString iconThemeName = QString::fromUtf8("dialog-close" ); |
45 | if (QIcon::hasThemeIcon(iconThemeName)) { |
46 | icon = QIcon::fromTheme(iconThemeName); |
47 | } else { |
48 | icon.addFile(QString::fromUtf8("" ), QSize(), QIcon::Normal, QIcon::Off); |
49 | } |
50 | closeButton->setIcon(icon); |
51 | |
52 | horizontalLayout->addWidget(closeButton); |
53 | |
54 | findLabel = new QLabel(SearchBar); |
55 | findLabel->setObjectName(QString::fromUtf8("findLabel" )); |
56 | |
57 | horizontalLayout->addWidget(findLabel); |
58 | |
59 | searchTextEdit = new QLineEdit(SearchBar); |
60 | searchTextEdit->setObjectName(QString::fromUtf8("searchTextEdit" )); |
61 | |
62 | horizontalLayout->addWidget(searchTextEdit); |
63 | |
64 | findPreviousButton = new QToolButton(SearchBar); |
65 | findPreviousButton->setObjectName(QString::fromUtf8("findPreviousButton" )); |
66 | QIcon icon1; |
67 | iconThemeName = QString::fromUtf8("go-previous" ); |
68 | if (QIcon::hasThemeIcon(iconThemeName)) { |
69 | icon1 = QIcon::fromTheme(iconThemeName); |
70 | } else { |
71 | icon1.addFile(QString::fromUtf8("" ), QSize(), QIcon::Normal, QIcon::Off); |
72 | } |
73 | findPreviousButton->setIcon(icon1); |
74 | |
75 | horizontalLayout->addWidget(findPreviousButton); |
76 | |
77 | findNextButton = new QToolButton(SearchBar); |
78 | findNextButton->setObjectName(QString::fromUtf8("findNextButton" )); |
79 | QIcon icon2; |
80 | iconThemeName = QString::fromUtf8("go-next" ); |
81 | if (QIcon::hasThemeIcon(iconThemeName)) { |
82 | icon2 = QIcon::fromTheme(iconThemeName); |
83 | } else { |
84 | icon2.addFile(QString::fromUtf8("" ), QSize(), QIcon::Normal, QIcon::Off); |
85 | } |
86 | findNextButton->setIcon(icon2); |
87 | |
88 | horizontalLayout->addWidget(findNextButton); |
89 | |
90 | optionsButton = new QToolButton(SearchBar); |
91 | optionsButton->setObjectName(QString::fromUtf8("optionsButton" )); |
92 | QIcon icon3(QIcon::fromTheme(QString::fromUtf8("preferences-system" ))); |
93 | optionsButton->setIcon(icon3); |
94 | optionsButton->setPopupMode(QToolButton::InstantPopup); |
95 | |
96 | horizontalLayout->addWidget(optionsButton); |
97 | |
98 | |
99 | retranslateUi(SearchBar); |
100 | |
101 | QMetaObject::connectSlotsByName(SearchBar); |
102 | } // setupUi |
103 | |
104 | void retranslateUi(QWidget *SearchBar) |
105 | { |
106 | SearchBar->setWindowTitle(QCoreApplication::translate("SearchBar" , "SearchBar" , nullptr)); |
107 | closeButton->setText(QCoreApplication::translate("SearchBar" , "X" , nullptr)); |
108 | findLabel->setText(QCoreApplication::translate("SearchBar" , "Find:" , nullptr)); |
109 | findPreviousButton->setText(QCoreApplication::translate("SearchBar" , "<" , nullptr)); |
110 | findNextButton->setText(QCoreApplication::translate("SearchBar" , ">" , nullptr)); |
111 | optionsButton->setText(QCoreApplication::translate("SearchBar" , "..." , nullptr)); |
112 | } // retranslateUi |
113 | |
114 | }; |
115 | |
116 | namespace Ui { |
117 | class SearchBar: public Ui_SearchBar {}; |
118 | } // namespace Ui |
119 | |
120 | QT_END_NAMESPACE |
121 | |
122 | #endif // UI_SEARCHBAR_H |
123 | |