10 #ifndef UI_SEARCHBOX_H
11 #define UI_SEARCHBOX_H
13 #include <QtCore/QVariant>
14 #include <QtGui/QAction>
15 #include <QtGui/QApplication>
16 #include <QtGui/QButtonGroup>
17 #include <QtGui/QComboBox>
18 #include <QtGui/QHBoxLayout>
19 #include <QtGui/QHeaderView>
20 #include <QtGui/QLineEdit>
21 #include <QtGui/QPushButton>
22 #include <QtGui/QVBoxLayout>
23 #include <QtGui/QWidget>
30 QWidget *horizontalLayoutWidget;
31 QHBoxLayout *horizontalLayout;
32 QVBoxLayout *verticalLayout;
33 QLineEdit *searchText;
34 QComboBox *searchType;
35 QPushButton *searchButton;
39 if (SearchBox->objectName().isEmpty())
40 SearchBox->setObjectName(QString::fromUtf8(
"SearchBox"));
41 SearchBox->resize(588, 86);
42 horizontalLayoutWidget =
new QWidget(SearchBox);
43 horizontalLayoutWidget->setObjectName(QString::fromUtf8(
"horizontalLayoutWidget"));
44 horizontalLayoutWidget->setGeometry(QRect(0, 0, 496, 61));
45 horizontalLayout =
new QHBoxLayout(horizontalLayoutWidget);
46 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
47 horizontalLayout->setContentsMargins(0, 0, 0, 0);
48 verticalLayout =
new QVBoxLayout();
49 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
50 searchText =
new QLineEdit(horizontalLayoutWidget);
51 searchText->setObjectName(QString::fromUtf8(
"searchText"));
53 verticalLayout->addWidget(searchText);
56 horizontalLayout->addLayout(verticalLayout);
58 searchType =
new QComboBox(horizontalLayoutWidget);
59 searchType->setObjectName(QString::fromUtf8(
"searchType"));
61 horizontalLayout->addWidget(searchType);
63 searchButton =
new QPushButton(horizontalLayoutWidget);
64 searchButton->setObjectName(QString::fromUtf8(
"searchButton"));
66 horizontalLayout->addWidget(searchButton);
69 retranslateUi(SearchBox);
71 QMetaObject::connectSlotsByName(SearchBox);
74 void retranslateUi(QWidget *SearchBox)
76 SearchBox->setWindowTitle(QApplication::translate(
"SearchBox",
"Form", 0, QApplication::UnicodeUTF8));
77 #ifndef QT_NO_WHATSTHIS
78 searchText->setWhatsThis(QApplication::translate(
"SearchBox",
"<html><head/><body><p>Enter the search phrase, only exact match is allowed but autocomplete is provided. If you need regular expression search, use the "Regular Expression" filter in the Filter Menu.</p></body></html>", 0, QApplication::UnicodeUTF8));
79 #endif // QT_NO_WHATSTHIS
81 searchType->insertItems(0, QStringList()
82 << QApplication::translate(
"SearchBox",
"SWU", 0, QApplication::UnicodeUTF8)
83 << QApplication::translate(
"SearchBox",
"Run block", 0, QApplication::UnicodeUTF8)
85 #ifndef QT_NO_WHATSTHIS
86 searchType->setWhatsThis(QApplication::translate(
"SearchBox",
"<html><head/><body><p>Select whether you want to search for SWUs (normal search), showing only the matching SWU and its dependencies/dependents, or Run Blocks (run block filter) showing all SWUs contained in that run block.</p></body></html>", 0, QApplication::UnicodeUTF8));
87 #endif // QT_NO_WHATSTHIS
88 #ifndef QT_NO_WHATSTHIS
89 searchButton->setWhatsThis(QApplication::translate(
"SearchBox",
"<html><head/><body><p>Searches for the selected name and if a matching SWU / Executable is found it focuses the graph around this (using it as the root) and shows all dependencies/dependents for that specific SWU.</p></body></html>", 0, QApplication::UnicodeUTF8));
90 #endif // QT_NO_WHATSTHIS
91 searchButton->setText(QApplication::translate(
"SearchBox",
"Search", 0, QApplication::UnicodeUTF8));
102 #endif // UI_SEARCHBOX_H
Definition: search_box.h:18
Definition: ui_searchbox.h:97
Definition: ui_searchbox.h:27