mirror of
https://github.com/Quill-OS/quill.git
synced 2024-12-28 08:37:22 -08:00
Fixes for VNC and virtual keyboard
This commit is contained in:
parent
87e133b8d6
commit
b0b5f9cdaa
2 changed files with 15 additions and 1 deletions
|
@ -161,6 +161,11 @@ void generalDialog::on_cancelBtn_clicked()
|
||||||
global::keyboard::keyboardDialog = false;
|
global::keyboard::keyboardDialog = false;
|
||||||
global::keyboard::keyboardText = "";
|
global::keyboard::keyboardText = "";
|
||||||
}
|
}
|
||||||
|
else if(global::keyboard::vncDialog == true) {
|
||||||
|
global::keyboard::vncDialog = false;
|
||||||
|
global::keyboard::keyboardDialog = false;
|
||||||
|
global::keyboard::keyboardText = "";
|
||||||
|
}
|
||||||
generalDialog::close();
|
generalDialog::close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -348,6 +353,6 @@ void generalDialog::startVNC(QString server, QString password, QString port) {
|
||||||
string_writeconfig("/external_root/tmp/app_vnc_server", server_str);
|
string_writeconfig("/external_root/tmp/app_vnc_server", server_str);
|
||||||
string_writeconfig("/external_root/tmp/app_vnc_password", password_str);
|
string_writeconfig("/external_root/tmp/app_vnc_password", password_str);
|
||||||
string_writeconfig("/external_root/tmp/app_vnc_port", port_str);
|
string_writeconfig("/external_root/tmp/app_vnc_port", port_str);
|
||||||
string_writeconfig("/opt/ibxd", "app_start_vnc");
|
string_writeconfig("/opt/ibxd", "app_start_vnc\n");
|
||||||
qApp->quit();
|
qApp->quit();
|
||||||
}
|
}
|
||||||
|
|
|
@ -99,6 +99,15 @@ virtualkeyboard::virtualkeyboard(QWidget *parent) :
|
||||||
ui->spaceBtn->setStyleSheet("font-weight: bold; font-size: 9pt; padding: 10px; border: 1px solid black");
|
ui->spaceBtn->setStyleSheet("font-weight: bold; font-size: 9pt; padding: 10px; border: 1px solid black");
|
||||||
|
|
||||||
ui->lineEdit->setStyleSheet("border: 3px solid black");
|
ui->lineEdit->setStyleSheet("border: 3px solid black");
|
||||||
|
if(global::keyboard::vncDialog == true) {
|
||||||
|
ui->lineEdit->setFont(QFont("Noto Mono"));
|
||||||
|
}
|
||||||
|
else if(global::keyboard::searchDialog == true){
|
||||||
|
ui->lineEdit->setFont(QFont("Source Serif Pro"));
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
ui->lineEdit->setFont(QFont("Roboto"));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
virtualkeyboard::~virtualkeyboard()
|
virtualkeyboard::~virtualkeyboard()
|
||||||
|
|
Loading…
Reference in a new issue