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 *btnSearchPrev;
36 QPushButton *btnSearchNext;
37 QPushButton *btnSearch;
41 QTableWidget *twStations;
42 QTableWidget *twStreams;
43 QHBoxLayout *horizontalLayout_2;
44 QProgressBar *pbProgress;
45 QSpacerItem *horizontalSpacer;
46 QPushButton *btnClose;
47 QPushButton *btnListen;
48 QHBoxLayout *horizontalLayout_3;
50 QSpacerItem *horizontalSpacer_2;
60 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
61 gridLayout->setVerticalSpacing(6);
62 horizontalLayout =
new QHBoxLayout();
63 horizontalLayout->setSpacing(5);
64 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
65 horizontalLayout->setContentsMargins(-1, 1, -1, 1);
67 leSearch->setObjectName(QString::fromUtf8(
"leSearch"));
69 horizontalLayout->addWidget(leSearch);
72 btnSearchPrev->setObjectName(QString::fromUtf8(
"btnSearchPrev"));
73 btnSearchPrev->setText(QString::fromUtf8(
"Search previous"));
75 horizontalLayout->addWidget(btnSearchPrev);
78 btnSearchNext->setObjectName(QString::fromUtf8(
"btnSearchNext"));
79 btnSearchNext->setText(QString::fromUtf8(
"Search next"));
81 horizontalLayout->addWidget(btnSearchNext);
84 btnSearch->setObjectName(QString::fromUtf8(
"btnSearch"));
85 btnSearch->setText(QString::fromUtf8(
"Search"));
87 horizontalLayout->addWidget(btnSearch);
90 gridLayout->addLayout(horizontalLayout, 4, 0, 1, 2);
93 line->setObjectName(QString::fromUtf8(
"line"));
94 line->setFrameShape(QFrame::HLine);
95 line->setFrameShadow(QFrame::Sunken);
97 gridLayout->addWidget(line, 3, 0, 1, 2);
100 labFromTo->setObjectName(QString::fromUtf8(
"labFromTo"));
101 labFromTo->setText(QString::fromUtf8(
""));
103 gridLayout->addWidget(labFromTo, 6, 0, 1, 2);
106 splitter->setObjectName(QString::fromUtf8(
"splitter"));
107 splitter->setOrientation(Qt::Vertical);
108 twStations =
new QTableWidget(splitter);
109 twStations->setObjectName(QString::fromUtf8(
"twStations"));
110 twStations->setAlternatingRowColors(
true);
111 twStations->setSelectionMode(QAbstractItemView::SingleSelection);
112 twStations->setSelectionBehavior(QAbstractItemView::SelectRows);
113 twStations->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
114 splitter->addWidget(twStations);
115 twStations->horizontalHeader()->setMinimumSectionSize(30);
116 twStations->horizontalHeader()->setStretchLastSection(
true);
117 twStations->verticalHeader()->setVisible(
false);
118 twStreams =
new QTableWidget(splitter);
119 twStreams->setObjectName(QString::fromUtf8(
"twStreams"));
120 twStreams->setAlternatingRowColors(
true);
121 twStreams->setSelectionMode(QAbstractItemView::SingleSelection);
122 twStreams->setSelectionBehavior(QAbstractItemView::SelectRows);
123 twStreams->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
124 splitter->addWidget(twStreams);
125 twStreams->horizontalHeader()->setVisible(
false);
126 twStreams->horizontalHeader()->setMinimumSectionSize(30);
127 twStreams->horizontalHeader()->setStretchLastSection(
true);
128 twStreams->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(QString::fromUtf8(
"horizontalLayout_2"));
135 horizontalLayout_2->setContentsMargins(-1, 1, -1, 1);
137 pbProgress->setObjectName(QString::fromUtf8(
"pbProgress"));
138 pbProgress->setMaximum(0);
139 pbProgress->setValue(-1);
141 horizontalLayout_2->addWidget(pbProgress);
143 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
145 horizontalLayout_2->addItem(horizontalSpacer);
148 btnClose->setObjectName(QString::fromUtf8(
"btnClose"));
149 btnClose->setText(QString::fromUtf8(
"Close"));
151 horizontalLayout_2->addWidget(btnClose);
154 btnListen->setObjectName(QString::fromUtf8(
"btnListen"));
155 btnListen->setText(QString::fromUtf8(
"Add"));
157 horizontalLayout_2->addWidget(btnListen);
160 gridLayout->addLayout(horizontalLayout_2, 10, 0, 1, 2);
162 horizontalLayout_3 =
new QHBoxLayout();
163 horizontalLayout_3->setObjectName(QString::fromUtf8(
"horizontalLayout_3"));
164 horizontalLayout_3->setContentsMargins(-1, 1, -1, 3);
166 label->setObjectName(QString::fromUtf8(
"label"));
170 label->setFont(font);
171 label->setText(QString::fromUtf8(
"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 labLink->setObjectName(QString::fromUtf8(
"labLink"));
181 labLink->setText(QString::fromUtf8(
"<a href=\"http://fmstream.org\">fmstream.org</a>"));
183 horizontalLayout_3->addWidget(labLink);
186 gridLayout->addLayout(horizontalLayout_3, 2, 0, 1, 2);
189 line_2->setObjectName(QString::fromUtf8(
"line_2"));
190 line_2->setFrameShape(QFrame::HLine);
191 line_2->setFrameShadow(QFrame::Sunken);
193 gridLayout->addWidget(line_2, 5, 0, 1, 2);
195 QWidget::setTabOrder(leSearch, btnSearchPrev);
196 QWidget::setTabOrder(btnSearchPrev, btnSearchNext);
197 QWidget::setTabOrder(btnSearchNext, btnSearch);
198 QWidget::setTabOrder(btnSearch, twStations);
199 QWidget::setTabOrder(twStations, twStreams);
200 QWidget::setTabOrder(twStreams, btnClose);
201 QWidget::setTabOrder(btnClose, btnListen);
210 GUI_StationSearcher->setWindowTitle(QApplication::translate(
"GUI_StationSearcher",
"Search Radio Station",
nullptr));
221 #endif // UI_GUI_STATIONSEARCHER_H Definition: ui_GUI_StationSearcher.h:29
Definition: GUI_StationSearcher.h:32
Definition: ui_GUI_StationSearcher.h:216