equal
deleted
inserted
replaced
32 mainLayout.setSizeConstraint(QLayout::SetMinimumSize); |
32 mainLayout.setSizeConstraint(QLayout::SetMinimumSize); |
33 mainLayout.setColumnStretch(0, 75); |
33 mainLayout.setColumnStretch(0, 75); |
34 mainLayout.setColumnStretch(1, 25); |
34 mainLayout.setColumnStretch(1, 25); |
35 |
35 |
36 chatEditLine = new QLineEdit(this); |
36 chatEditLine = new QLineEdit(this); |
|
37 chatEditLine->setMaxLength(300); |
37 connect(chatEditLine, SIGNAL(returnPressed()), this, SLOT(returnPressed())); |
38 connect(chatEditLine, SIGNAL(returnPressed()), this, SLOT(returnPressed())); |
38 |
39 |
39 mainLayout.addWidget(chatEditLine, 1, 0, 1, 2); |
40 mainLayout.addWidget(chatEditLine, 1, 0, 1, 2); |
40 |
41 |
41 chatText = new QTextBrowser(this); |
42 chatText = new QTextBrowser(this); |