app:退出全屏按钮改成支持多语言切换
This commit is contained in:
parent
07037f60ab
commit
c2ab5c4416
|
@ -66,7 +66,6 @@
|
||||||
<file>image_rsc/example/example_fillcolor_default.png</file>
|
<file>image_rsc/example/example_fillcolor_default.png</file>
|
||||||
<file>image_rsc/fullscreen/btnNext.png</file>
|
<file>image_rsc/fullscreen/btnNext.png</file>
|
||||||
<file>image_rsc/fullscreen/btnPrevious.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/auge_logo.ico</file>
|
||||||
<file>image_rsc/logo/Hanvon_logo1.ico</file>
|
<file>image_rsc/logo/Hanvon_logo1.ico</file>
|
||||||
<file>image_rsc/logo/Hanvon_logo2.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
|
@ -20,6 +20,14 @@ Dialog_FullScreen::Dialog_FullScreen(class MainWindow *mainWidget, const QString
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
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(&m_timer_hide, SIGNAL(timeout()), this, SLOT(on_hide()));
|
||||||
connect(ui->view, SIGNAL(escape()), this, SLOT(on_escape()));
|
connect(ui->view, SIGNAL(escape()), this, SLOT(on_escape()));
|
||||||
connect(ui->view, SIGNAL(mousePos(int, int)), this, SLOT(on_mousePos(int, int)));
|
connect(ui->view, SIGNAL(mousePos(int, int)), this, SLOT(on_mousePos(int, int)));
|
||||||
|
|
|
@ -52,16 +52,6 @@
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string/>
|
<string/>
|
||||||
</property>
|
</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>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 2.7 KiB |
|
@ -547,6 +547,10 @@ Page range will be "Chosen Pages".
|
||||||
<source>Ctrl+Left</source>
|
<source>Ctrl+Left</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Exit fullscreen</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>Dialog_ImageEditor</name>
|
<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>
|
<source>The language switch is successful and takes effect the next time the software is started!</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>MicrotekScan</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>Phonon::</name>
|
<name>Phonon::</name>
|
||||||
|
|
Loading…
Reference in New Issue