diff --git a/src/chatmodel.cpp b/src/chatmodel.cpp index 65d5c3e..98bb0f8 100644 --- a/src/chatmodel.cpp +++ b/src/chatmodel.cpp @@ -105,9 +105,9 @@ void ChatModel::renderChatBox(Ui::MainWindow* ui, QListView *view) }); QStandardItemModel* chat = new QStandardItemModel(); - ui->lcdNumber->setStyleSheet("background-color: red"); - ui->lcdNumber->setPalette(Qt::red); - ui->lcdNumber->display("1"); + // ui->lcdNumber->setStyleSheet("background-color: red"); + // ui->lcdNumber->setPalette(Qt::red); + // ui->lcdNumber->display("1"); for (auto &c : this->chatItems) for (auto &p : AddressBook::getInstance()->getAllAddressLabels()) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index ed4bb95..694178f 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1022,9 +1022,9 @@ void MainWindow::setupchatTab() { QIcon addContactIcon(addContact); ui->safeContactRequest->setIcon(addContactIcon); - /*QPixmap rahmen(":/icons/res/rahmen-message.png"); - QIcon addRahmenIcon(rahmen); - ui->lcdNumber->setIcon(addRahmenIcon);*/ + QPixmap newAddr(":/icons/res/add_contact.png"); + QIcon addnewAddrIcon(newAddr); + ui->givemeZaddr->setIcon(addnewAddrIcon); QPixmap sendContact(":/icons/res/upload.png"); QIcon addSendContactIcon(sendContact); @@ -1042,9 +1042,9 @@ void MainWindow::setupchatTab() { QIcon addContactIcon(addContact); ui->safeContactRequest->setIcon(addContact); - /*QPixmap rahmen(":/icons/res/message-icon.svg"); - QIcon addRahmenIcon(rahmen); - ui->lcdNumber->setIcon(addRahmenIcon);*/ + QPixmap newAddr(":/icons/res/add_contact.svg"); + QIcon addnewAddrIcon(newAddr); + ui->givemeZaddr->setIcon(addnewAddrIcon); QPixmap sendContact(":/icons/res/upload.svg"); QIcon addSendContactIcon(sendContact); diff --git a/src/mainwindow.ui b/src/mainwindow.ui index 2c1adc6..08e1d4d 100644 --- a/src/mainwindow.ui +++ b/src/mainwindow.ui @@ -1332,9 +1332,9 @@ 0 - 90 + 120 341 - 551 + 521 @@ -1354,7 +1354,7 @@ 0 - 60 + 100 341 20 @@ -1379,12 +1379,18 @@ - 450 + 460 20 161 20 + + + 75 + true + + <html><head/><body><p align="center"><br/></p></body></html> @@ -1543,28 +1549,6 @@ true - - - - 30 - 20 - 31 - 21 - - - - QFrame::NoFrame - - - 1 - - - QLCDNumber::Flat - - - 0.000000000000000 - - @@ -1601,41 +1585,252 @@ - 80 - 10 - 211 + 60 + 30 + 111 41 - New HushChat Address + New Addr - :/icons/res/message-icon.svg:/icons/res/message-icon.svg + :/icons/res/add_contact.png:/icons/res/add_contact.png 33 - 29 + 35 true - lcdNumber - listContactWidget - label_39 - memoTxtChat - contactNameMemo - sendChatButton - contactNameMemo_3 - listChat - safeContactRequest - pushContact - sendContact - givemeZaddr + + + + 40 + 20 + 21 + 16 + + + + + + + + + 204 + 0 + 0 + + + + + + + 204 + 0 + 0 + + + + + + + 239 + 41 + 41 + + + + + + + 204 + 0 + 0 + + + + + + + 204 + 0 + 0 + + + + + + + 204 + 0 + 0 + + + + + + + 204 + 0 + 0 + + + + + + + + + 204 + 0 + 0 + + + + + + + 204 + 0 + 0 + + + + + + + 239 + 41 + 41 + + + + + + + 204 + 0 + 0 + + + + + + + 204 + 0 + 0 + + + + + + + 204 + 0 + 0 + + + + + + + 204 + 0 + 0 + + + + + + + + + 190 + 190 + 190 + + + + + + + 190 + 190 + 190 + + + + + + + 239 + 41 + 41 + + + + + + + 190 + 190 + 190 + + + + + + + 204 + 0 + 0 + + + + + + + 204 + 0 + 0 + + + + + + + 0 + 0 + 0 + + + + + + + + + 12 + + + + Qt::LeftToRight + + + 1 + + + Qt::AutoText + +