Blame view

QChatClient/chatwindow.cpp 371 Bytes
1
2
3
#include "chatwindow.h"
#include "ui_chatwindow.h"
4
5
using namespace std;
6
7
8
9
10
ChatWindow::ChatWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::ChatWindow)
{
    ui->setupUi(this);
11
12
13
14
    QList<int> sizes;
    sizes.push_front(ui->chatText->height());
    sizes.push_front(100);
    ui->splitter->setSizes(sizes);
15
16
17
18
19
20
}

ChatWindow::~ChatWindow()
{
    delete ui;
}