DynuIPRefresher/inc/gui/MainWindow.h

63 lines
988 B
C
Raw Normal View History

/**
* Main GUI controller - User IO handlings
*
* @author Lukas Heiligenbrunner
* @date 09.05.2020
*/
2020-05-09 21:08:23 +00:00
#pragma once
#include <QtWidgets/QMainWindow>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow {
2020-05-09 21:08:23 +00:00
Q_OBJECT
public:
/**
* constructor with basic initializations
*/
explicit MainWindow();
/**
* destruct all gui elements
*/
2020-05-09 21:08:23 +00:00
~MainWindow();
private:
Ui::MainWindow *ui;
/**
* all static initializations of custom gui elements
*/
void initGui();
2020-05-09 21:08:23 +00:00
private slots:
/**
* executed click handler for config button
*/
void checkConfigBtn();
/**
* executed click handler for refresh btn
*/
void refreshIPBtn();
/**
* executed click handler for save config btn
*/
void saveConfigBtn();
2020-05-09 21:08:23 +00:00
signals:
/**
* append a String line to the Log field
*
* @param QString string to be appended
*/
2020-05-09 21:08:23 +00:00
void appendLogField(QString);
};