You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
791 B
C
39 lines
791 B
C
8 months ago
|
#ifndef HOMEPAGEDLG_H
|
||
|
#define HOMEPAGEDLG_H
|
||
|
|
||
|
#include <QWidget>
|
||
7 months ago
|
#include <unordered_map>
|
||
7 months ago
|
#include "Src/HomePage/homepagesetingwidget.h"
|
||
|
|
||
8 months ago
|
namespace Ui {
|
||
|
class HomePageDlg;
|
||
|
}
|
||
|
|
||
|
class HomePageDlg : public QWidget
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit HomePageDlg(QWidget *parent = nullptr);
|
||
|
~HomePageDlg();
|
||
8 months ago
|
QPixmap m_pixmap;
|
||
7 months ago
|
HomePageSetingWidget* settingWidget;
|
||
8 months ago
|
|
||
7 months ago
|
void getUrl(std::unordered_map<QString,QString>& urlMap);
|
||
8 months ago
|
private:
|
||
|
Ui::HomePageDlg *ui;
|
||
7 months ago
|
void initSettingUrl();
|
||
7 months ago
|
void initButton();
|
||
7 months ago
|
|
||
|
QString _lLinkIp;
|
||
|
QString _adHocNetwork;
|
||
|
QString _satelliteComm;
|
||
|
std::unordered_map<QString,QString> _urlMap;
|
||
|
signals:
|
||
|
void sendUrl(std::unordered_map<QString,QString> urlMap);
|
||
|
private slots:
|
||
|
void on_pushButton_clicked();
|
||
8 months ago
|
};
|
||
|
|
||
|
#endif // HOMEPAGEDLG_H
|