Separate UI to new file, still not quite complete.
Also fixed code style in files, and settings used by CLion.
This commit is contained in:
parent
4d6ff1e9f8
commit
851c2f79e3
6 changed files with 184 additions and 105 deletions
24
ui.h
Normal file
24
ui.h
Normal file
|
@ -0,0 +1,24 @@
|
|||
#ifndef OKSIRC_UI_H
|
||||
#define OKSIRC_UI_H
|
||||
|
||||
#include <QtWidgets>
|
||||
|
||||
class ui : public QObject {
|
||||
public:
|
||||
ui(int, char **);
|
||||
|
||||
int exec();
|
||||
void sendButtonClicked(bool);
|
||||
|
||||
|
||||
QPlainTextEdit *mainLog;
|
||||
|
||||
private:
|
||||
QApplication *app;
|
||||
QWidget *mainWindow;
|
||||
QLineEdit *textEntry;
|
||||
|
||||
};
|
||||
|
||||
|
||||
#endif //OKSIRC_UI_H
|
Loading…
Add table
Add a link
Reference in a new issue