rename button
This commit is contained in:
@@ -2617,7 +2617,7 @@ void MainWindow::on_givemeZaddr_clicked()
|
||||
});
|
||||
}
|
||||
|
||||
void MainWindow::on_pushButton_clicked()
|
||||
void MainWindow::emojiButton_clicked()
|
||||
{
|
||||
|
||||
QDialog emojiDialog(this);
|
||||
@@ -2671,12 +2671,3 @@ QObject::connect(emoji.partying_face, &QPushButton::clicked, [&] () {
|
||||
emojiDialog.exec();
|
||||
}
|
||||
|
||||
void MainWindow::on_comboBox_currentIndexChanged(const QString &arg1)
|
||||
{
|
||||
|
||||
Qt::Key key = Qt::Key_1;
|
||||
QKeyEvent pressEvent = QKeyEvent(QEvent::KeyPress, key, Qt::NoModifier, QKeySequence(key).toString());
|
||||
QKeyEvent releaseEvent = QKeyEvent(QEvent::KeyRelease, key, Qt::NoModifier);
|
||||
QCoreApplication::sendEvent(ui->memoTxtChat, &pressEvent);
|
||||
QCoreApplication::sendEvent(ui->memoTxtChat, &releaseEvent);
|
||||
}
|
||||
|
||||
@@ -113,10 +113,7 @@ private slots:
|
||||
|
||||
// void on_pushButton_clicked();
|
||||
|
||||
void on_pushButton_clicked();
|
||||
|
||||
void on_comboBox_currentIndexChanged(const QString &arg1);
|
||||
|
||||
void emojiButton_clicked();
|
||||
private:
|
||||
|
||||
bool fileExists(QString path);
|
||||
|
||||
Reference in New Issue
Block a user