source: projectionDesigner/trunk/projdesigner/src/gui/QClientWindow.cpp @ 149

Last change on this file since 149 was 4, checked in by Torben Dannhauer, 15 years ago
File size: 445 bytes
Line 
1#include <QApplication>
2#include "gui/QClientWindow.h"
3
4using namespace projection;
5
6QClientWindow::QClientWindow(QWidget* pParent, Qt::WFlags flags)
7    : QMainWindow(pParent, flags)
8{
9    ui.setupUi(this);
10
11    statusBar();
12}
13
14QClientWindow::~QClientWindow()
15{
16}
17
18void QClientWindow::appendLog(const QString& line)
19{
20    ui.logEdit->append(line.trimmed());
21}
22
23void QClientWindow::on_actionFileExit_triggered()
24{
25    qApp->closeAllWindows();
26}
Note: See TracBrowser for help on using the repository browser.