mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 00:14:06 +00:00
feat: clipboard tracking
This commit is contained in:
parent
7eb603a9c5
commit
3d5f3d6616
|
@ -2846,7 +2846,12 @@ between classic and school orthography in cyrillic)</source>
|
|||
<translation>在以下词典中找到:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cc" line="471"/>
|
||||
<location filename="../mainwindow.cc" line="411"/>
|
||||
<source>Tracking Clipboard</source>
|
||||
<translation>剪贴板取词</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cc" line="504"/>
|
||||
<source>Add all tabs to Favorites</source>
|
||||
<translation>将全部标签页添加至收藏</translation>
|
||||
</message>
|
||||
|
|
|
@ -411,6 +411,7 @@ MainWindow::MainWindow( Config::Class & cfg_ ):
|
|||
actTrackingClipboard = trayIconMenu.addAction( tr( "Tracking Clipboard" ) );
|
||||
actTrackingClipboard->setCheckable(true);
|
||||
actTrackingClipboard->setChecked(cfg.preferences.trackClipboardChanges);
|
||||
actTrackingClipboard->setVisible( cfg.preferences.enableScanPopup );
|
||||
connect( actTrackingClipboard , SIGNAL( triggered(bool) ),
|
||||
this, SLOT( trackingClipboard(bool) ) );
|
||||
trayIconMenu.addSeparator();
|
||||
|
|
Loading…
Reference in a new issue