20 #include <QtCore/qglobal.h> 22 #if QT_VERSION < QT_VERSION_CHECK(5, 0, 0) 23 #include <QtGui/QLabel> 24 #include <QtGui/QTextEdit> 25 #include <QtGui/QVBoxLayout> 26 #include <QtGui/QListView> 28 #include <QtWidgets/QLabel> 29 #include <QtWidgets/QTextEdit> 30 #include <QtWidgets/QVBoxLayout> 31 #include <QtWidgets/QListView> 34 #include <QtCore/QList> 35 #include <QtCore/QTimer> 36 #include <QtGui/QStandardItem> 37 #include <QtGui/QStandardItemModel> 83 void renewFocus()
override;
86 void keyPressEvent(QKeyEvent *event)
override;
90 void onNetworksInfoUpdated();
100 void onStatusUpdated();
103 void onError(
const QString &message);
106 void onConnectionTimeout();
111 enum class ConnectionState {
132 void setConnectionStatus(ConnectionState state,
const QString &ip,
const QString &ssid);
136 void updateConnectionStatusesInNetworkList();
139 void connectToSelectedNetwork();
144 QLabel mConnectionIconLabel;
146 QLabel mIpValueLabel;
148 QLabel mNameValueLabel;
149 QLabel mAvailableNetworksLabel;
150 QListView mAvailableNetworksView;
151 QStandardItemModel mAvailableNetworksModel;
152 QVBoxLayout mMainLayout;
153 QHBoxLayout mIpAddressLayout;
154 QHBoxLayout mNameLayout;
156 QString mCurrentSsid;
157 QHash<QString, NetworkInfo> mNetworks;
158 ConnectionState mConnectionState;
160 QTimer mConnectionTimeoutTimer;
Base class for all trikGui dialog widgets.
Definition: trikGuiDialog.h:24
DisconnectReason
Enum with possible reasons of "disconnect" message.
Definition: networkStructs.h:35
Class for WiFi management.
Definition: trikWiFi.h:31
Definition: abstractIndicator.h:21
Definition: controller.h:25
Security
Enum with possible network security.
Definition: networkStructs.h:22