DynuIPRefresher/src/gui/MainWindow.h

50 lines
798 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;
private slots:
/**
* executed click handler for config button
*/
void checkConfigBtn();
/**
* executed click handler for refresh btn
*/
void refreshIPBtn();
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);
};