diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index b36de2b..f840392 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -132,6 +132,9 @@ MainWindow::MainWindow(QWidget *parent) : createWebsocket(wormholecode); } + //TODO: allow user to set this + ui->textEdit->setTextColor( QColor("red") ); + QItemSelectionModel* qsm = ui->chatView->selectionModel(); QObject::connect(qsm, SIGNAL(selectionChanged(const QItemSelection&, const QItemSelection&)),this, SLOT(itemselectionChanged())); @@ -1171,6 +1174,8 @@ void MainWindow::setupChatTab() { ui->contactsView->setModel(chatModel); ui->chatView->setModel( conversationModel ); + ui->chatGridLayout->setColumnStretch(1,1); + ui->chatGridLayout->setRowStretch(1,2); } void MainWindow::setupMarketTab() { diff --git a/src/mainwindow.ui b/src/mainwindow.ui index 96237ed..01269d2 100644 --- a/src/mainwindow.ui +++ b/src/mainwindow.ui @@ -1018,26 +1018,59 @@ Chat - + - - + + + - + + + + + + + Hush Contacts + + - + + + XXX and YYY metadata about this HushChat + + - - - - Send - + + + - + + + + + + + + + 50 + 20 + + + + Send Memo! + + + + + + + + + New HushChat