Rev | Line | |
---|
[4] | 1 | #include <QApplication> |
---|
| 2 | #include "gui/QClientWindow.h" |
---|
| 3 | |
---|
| 4 | using namespace projection; |
---|
| 5 | |
---|
| 6 | QClientWindow::QClientWindow(QWidget* pParent, Qt::WFlags flags) |
---|
| 7 | : QMainWindow(pParent, flags) |
---|
| 8 | { |
---|
| 9 | ui.setupUi(this); |
---|
| 10 | |
---|
| 11 | statusBar(); |
---|
| 12 | } |
---|
| 13 | |
---|
| 14 | QClientWindow::~QClientWindow() |
---|
| 15 | { |
---|
| 16 | } |
---|
| 17 | |
---|
| 18 | void QClientWindow::appendLog(const QString& line) |
---|
| 19 | { |
---|
| 20 | ui.logEdit->append(line.trimmed()); |
---|
| 21 | } |
---|
| 22 | |
---|
| 23 | void QClientWindow::on_actionFileExit_triggered() |
---|
| 24 | { |
---|
| 25 | qApp->closeAllWindows(); |
---|
| 26 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.