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:
Darren VanBuren 2017-07-09 15:17:24 -07:00
parent 4d6ff1e9f8
commit 851c2f79e3
6 changed files with 184 additions and 105 deletions

24
ui.h Normal file
View 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