Feat. Quick support, ui (#7267)

* Feat. QS ui

Signed-off-by: fufesou <shuanglongchen@yeah.net>

* Remove 'Quick support'

Signed-off-by: fufesou <shuanglongchen@yeah.net>

* add help card

Signed-off-by: fufesou <shuanglongchen@yeah.net>

* use addPostFrameCallback to get child size

Signed-off-by: fufesou <shuanglongchen@yeah.net>

* Fix. qs, set home window size

Signed-off-by: fufesou <shuanglongchen@yeah.net>

* Qs, set setResizable for settings page

Signed-off-by: fufesou <shuanglongchen@yeah.net>

* Qs, help cards margin bottom

Signed-off-by: fufesou <shuanglongchen@yeah.net>

* Qs, online status, padding

Signed-off-by: fufesou <shuanglongchen@yeah.net>

* Qs, online status, padding

Signed-off-by: fufesou <shuanglongchen@yeah.net>

* Qs, online status, use margin instead of padding

Signed-off-by: fufesou <shuanglongchen@yeah.net>

* Qs, fix, start cm window

Signed-off-by: fufesou <shuanglongchen@yeah.net>

---------

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2024-02-27 17:02:10 +08:00
committed by GitHub
parent 1d9b1781d4
commit e6953c8883
11 changed files with 328 additions and 200 deletions

View File

@@ -62,7 +62,11 @@ pub fn core_main() -> Option<Vec<String>> {
]
.contains(&arg.as_str())
{
_is_flutter_invoke_new_connection = true;
if crate::flutter_ffi::is_qs().0 {
return None;
} else {
_is_flutter_invoke_new_connection = true;
}
}
if arg == "--elevate" {
_is_elevate = true;

View File

@@ -1813,6 +1813,10 @@ pub fn main_support_remove_wallpaper() -> bool {
support_remove_wallpaper()
}
pub fn is_qs() -> SyncReturn<bool> {
SyncReturn(false)
}
/// Send a url scheme throught the ipc.
///
/// * macOS only

View File

@@ -451,8 +451,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Resolution", ""),
("No transfers in progress", ""),
("Set one-time password length", ""),
("install_cert_tip", "Инсталирайте сертификат на RustDesk"),
("confirm_install_cert_tip", "Това е сертификат за тестване на RustDesk, на който може да се вярва. Сертификатът ще се използва за доверие и инсталиране на драйвери на RustDesk, когато е необходимо."),
("RDP Settings", "RDP настройки"),
("Sort by", ""),
("New Connection", "Ново свързване"),