9 #ifndef UI_GUI_STATIONSEARCHER_H 10 #define UI_GUI_STATIONSEARCHER_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QDialog> 15 #include <QtWidgets/QFrame> 16 #include <QtWidgets/QGridLayout> 17 #include <QtWidgets/QHBoxLayout> 18 #include <QtWidgets/QHeaderView> 19 #include <QtWidgets/QLabel> 20 #include <QtWidgets/QLineEdit> 21 #include <QtWidgets/QProgressBar> 22 #include <QtWidgets/QPushButton> 23 #include <QtWidgets/QSpacerItem> 24 #include <QtWidgets/QSplitter> 25 #include <QtWidgets/QTableWidget> 32 QGridLayout *gridLayout;
33 QHBoxLayout *horizontalLayout;
35 QPushButton *btn_search_prev;
36 QPushButton *btn_search_next;
37 QPushButton *btn_search;
41 QTableWidget *tw_stations;
42 QTableWidget *tw_streams;
43 QHBoxLayout *horizontalLayout_2;
44 QProgressBar *pb_progress;
45 QSpacerItem *horizontalSpacer;
46 QPushButton *btn_close;
47 QPushButton *btn_listen;
48 QHBoxLayout *horizontalLayout_3;
50 QSpacerItem *horizontalSpacer_2;
60 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
61 gridLayout->setVerticalSpacing(6);
62 horizontalLayout =
new QHBoxLayout();
63 horizontalLayout->setSpacing(5);
64 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
65 horizontalLayout->setContentsMargins(-1, 1, -1, 1);
67 le_search->setObjectName(QStringLiteral(
"le_search"));
69 horizontalLayout->addWidget(le_search);
72 btn_search_prev->setObjectName(QStringLiteral(
"btn_search_prev"));
73 btn_search_prev->setText(QStringLiteral(
"Search previous"));
75 horizontalLayout->addWidget(btn_search_prev);
78 btn_search_next->setObjectName(QStringLiteral(
"btn_search_next"));
79 btn_search_next->setText(QStringLiteral(
"Search next"));
81 horizontalLayout->addWidget(btn_search_next);
84 btn_search->setObjectName(QStringLiteral(
"btn_search"));
85 btn_search->setText(QStringLiteral(
"Search"));
87 horizontalLayout->addWidget(btn_search);
90 gridLayout->addLayout(horizontalLayout, 4, 0, 1, 2);
93 line->setObjectName(QStringLiteral(
"line"));
94 line->setFrameShape(QFrame::HLine);
95 line->setFrameShadow(QFrame::Sunken);
97 gridLayout->addWidget(line, 3, 0, 1, 2);
100 lab_from_to->setObjectName(QStringLiteral(
"lab_from_to"));
101 lab_from_to->setText(QStringLiteral(
""));
103 gridLayout->addWidget(lab_from_to, 6, 0, 1, 2);
106 splitter->setObjectName(QStringLiteral(
"splitter"));
107 splitter->setOrientation(Qt::Vertical);
108 tw_stations =
new QTableWidget(splitter);
109 tw_stations->setObjectName(QStringLiteral(
"tw_stations"));
110 tw_stations->setAlternatingRowColors(
true);
111 tw_stations->setSelectionMode(QAbstractItemView::SingleSelection);
112 tw_stations->setSelectionBehavior(QAbstractItemView::SelectRows);
113 tw_stations->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
114 splitter->addWidget(tw_stations);
115 tw_stations->horizontalHeader()->setMinimumSectionSize(30);
116 tw_stations->horizontalHeader()->setStretchLastSection(
true);
117 tw_stations->verticalHeader()->setVisible(
false);
118 tw_streams =
new QTableWidget(splitter);
119 tw_streams->setObjectName(QStringLiteral(
"tw_streams"));
120 tw_streams->setAlternatingRowColors(
true);
121 tw_streams->setSelectionMode(QAbstractItemView::SingleSelection);
122 tw_streams->setSelectionBehavior(QAbstractItemView::SelectRows);
123 tw_streams->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
124 splitter->addWidget(tw_streams);
125 tw_streams->horizontalHeader()->setVisible(
false);
126 tw_streams->horizontalHeader()->setMinimumSectionSize(30);
127 tw_streams->horizontalHeader()->setStretchLastSection(
true);
128 tw_streams->verticalHeader()->setVisible(
false);
130 gridLayout->addWidget(splitter, 8, 0, 1, 2);
132 horizontalLayout_2 =
new QHBoxLayout();
133 horizontalLayout_2->setSpacing(5);
134 horizontalLayout_2->setObjectName(QStringLiteral(
"horizontalLayout_2"));
135 horizontalLayout_2->setContentsMargins(-1, 1, -1, 1);
137 pb_progress->setObjectName(QStringLiteral(
"pb_progress"));
138 pb_progress->setMaximum(0);
139 pb_progress->setValue(-1);
141 horizontalLayout_2->addWidget(pb_progress);
143 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
145 horizontalLayout_2->addItem(horizontalSpacer);
148 btn_close->setObjectName(QStringLiteral(
"btn_close"));
149 btn_close->setText(QStringLiteral(
"Close"));
151 horizontalLayout_2->addWidget(btn_close);
154 btn_listen->setObjectName(QStringLiteral(
"btn_listen"));
155 btn_listen->setText(QStringLiteral(
"Add"));
157 horizontalLayout_2->addWidget(btn_listen);
160 gridLayout->addLayout(horizontalLayout_2, 10, 0, 1, 2);
162 horizontalLayout_3 =
new QHBoxLayout();
163 horizontalLayout_3->setObjectName(QStringLiteral(
"horizontalLayout_3"));
164 horizontalLayout_3->setContentsMargins(-1, 1, -1, 3);
166 label->setObjectName(QStringLiteral(
"label"));
170 label->setFont(font);
171 label->setText(QStringLiteral(
"Search Radio Station"));
173 horizontalLayout_3->addWidget(label);
175 horizontalSpacer_2 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
177 horizontalLayout_3->addItem(horizontalSpacer_2);
180 lab_link->setObjectName(QStringLiteral(
"lab_link"));
181 lab_link->setText(QStringLiteral(
"<a href=\"http://fmstream.org\">fmstream.org</a>"));
183 horizontalLayout_3->addWidget(lab_link);
186 gridLayout->addLayout(horizontalLayout_3, 2, 0, 1, 2);
189 line_2->setObjectName(QStringLiteral(
"line_2"));
190 line_2->setFrameShape(QFrame::HLine);
191 line_2->setFrameShadow(QFrame::Sunken);
193 gridLayout->addWidget(line_2, 5, 0, 1, 2);
203 GUI_StationSearcher->setWindowTitle(QApplication::translate(
"GUI_StationSearcher",
"Search Radio Station",
nullptr));
214 #endif // UI_GUI_STATIONSEARCHER_H Definition: ui_GUI_StationSearcher.h:29
Definition: ui_GUI_SomaFM.h:207
Definition: GUI_StationSearcher.h:32
Definition: ui_GUI_StationSearcher.h:209