app:退出全屏按钮改成支持多语言切换

This commit is contained in:
luoliangyi 2023-01-31 09:41:27 +08:00
parent 07037f60ab
commit c2ab5c4416
9 changed files with 523 additions and 498 deletions

View File

@ -66,7 +66,6 @@
<file>image_rsc/example/example_fillcolor_default.png</file>
<file>image_rsc/fullscreen/btnNext.png</file>
<file>image_rsc/fullscreen/btnPrevious.png</file>
<file>image_rsc/fullscreen/labQuitHint.png</file>
<file>image_rsc/logo/auge_logo.ico</file>
<file>image_rsc/logo/Hanvon_logo1.ico</file>
<file>image_rsc/logo/Hanvon_logo2.ico</file>

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -20,6 +20,14 @@ Dialog_FullScreen::Dialog_FullScreen(class MainWindow *mainWidget, const QString
{
ui->setupUi(this);
QFont font;
font.setFamily("微软雅黑");
font.setPointSize(20);//文字大小
font.setBold(true);//粗体
ui->btn_exit->setFont(font);
ui->btn_exit->setText(tr("Exit fullscreen"));
ui->btn_exit->setStyleSheet("color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);");
connect(&m_timer_hide, SIGNAL(timeout()), this, SLOT(on_hide()));
connect(ui->view, SIGNAL(escape()), this, SLOT(on_escape()));
connect(ui->view, SIGNAL(mousePos(int, int)), this, SLOT(on_mousePos(int, int)));

View File

@ -52,16 +52,6 @@
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="Scanner_resource.qrc">
<normaloff>:/images/image_rsc/fullscreen/labQuitHint.png</normaloff>:/images/image_rsc/fullscreen/labQuitHint.png</iconset>
</property>
<property name="iconSize">
<size>
<width>200</width>
<height>60</height>
</size>
</property>
</widget>
</item>
<item>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -547,6 +547,10 @@ Page range will be &quot;Chosen Pages&quot;.
<source>Ctrl+Left</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Exit fullscreen</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Dialog_ImageEditor</name>
@ -2162,6 +2166,10 @@ Are you sure to close?</source>
<source>The language switch is successful and takes effect the next time the software is started!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>MicrotekScan</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Phonon::</name>