new Button Design, only for darkmode atm
This commit is contained in:
@@ -1013,12 +1013,12 @@ void MainWindow::setupchatTab() {
|
||||
// if (ui->request->isChecked()) {
|
||||
|
||||
|
||||
QObject::connect(ui->sendChatButton, &QPushButton::clicked, this, &MainWindow::ContactRequest);
|
||||
// QObject::connect(ui->sendChatButton, &QPushButton::clicked, this, &MainWindow::ContactRequest);
|
||||
|
||||
// qDebug() <<ui->request->isChecked()->text();
|
||||
// }else{
|
||||
|
||||
// QObject::connect(ui->sendChatButton, &QPushButton::clicked, this, &MainWindow::sendChatButton);
|
||||
QObject::connect(ui->sendChatButton, &QPushButton::clicked, this, &MainWindow::sendChatButton);
|
||||
|
||||
// }
|
||||
|
||||
@@ -1048,20 +1048,6 @@ void MainWindow::setupchatTab() {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
void MainWindow::setChatItem(ChatItem * item)
|
||||
{
|
||||
this->currentChatItem = item;
|
||||
}
|
||||
|
||||
ChatItem* MainWindow::getChatItem()
|
||||
{
|
||||
return this->currentChatItem;
|
||||
}*/
|
||||
|
||||
|
||||
ChatMemoEdit::ChatMemoEdit(QWidget* parent) : QPlainTextEdit(parent) {
|
||||
QObject::connect(this, &QPlainTextEdit::textChanged, this, &ChatMemoEdit::updateDisplay);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user