Update translation, added corner widget.
This commit is contained in:
parent
2f949604c1
commit
a80270560d
@ -188,6 +188,7 @@ set(APP_SOURCES
|
||||
src/gui/tabwidget.cpp
|
||||
src/gui/tabbar.cpp
|
||||
src/gui/tabcontent.cpp
|
||||
src/gui/cornerbutton.cpp
|
||||
|
||||
# CORE sources.
|
||||
src/core/debugging.cpp
|
||||
@ -230,6 +231,7 @@ set(APP_HEADERS
|
||||
src/gui/tabwidget.h
|
||||
src/gui/tabbar.h
|
||||
src/gui/tabcontent.h
|
||||
src/gui/cornerbutton.h
|
||||
|
||||
# CORE headers.
|
||||
src/core/settings.h
|
||||
@ -306,7 +308,7 @@ include_directories (
|
||||
${CMAKE_CURRENT_BINARY_DIR}/src
|
||||
)
|
||||
|
||||
# Setup compilation.
|
||||
# Setup compilation for Qt 5.
|
||||
if(${USE_QT_5})
|
||||
if(WIN32)
|
||||
add_executable(${EXE_NAME} WIN32
|
||||
@ -335,6 +337,7 @@ if(${USE_QT_5})
|
||||
WebKit
|
||||
WebKitWidgets
|
||||
)
|
||||
# Setup compilation for Qt 4.
|
||||
else(${USE_QT_5})
|
||||
add_executable(${EXE_NAME} WIN32
|
||||
${APP_SOURCES}
|
||||
@ -415,13 +418,13 @@ add_custom_target(dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source)
|
||||
if(${USE_QT_5})
|
||||
add_custom_target(lupdate
|
||||
${Qt5Core_QMAKE_EXECUTABLE} -project -o ${CMAKE_CURRENT_BINARY_DIR}/${APP_LOW_NAME}.pro
|
||||
COMMAND ${Qt5_LUPDATE_EXECUTABLE} -ts ${APP_TRANSLATIONS_WO_QT} -pro ${CMAKE_CURRENT_BINARY_DIR}/${APP_LOW_NAME}.pro
|
||||
COMMAND ${Qt5_LUPDATE_EXECUTABLE} -no-obsolete -ts ${APP_TRANSLATIONS_WO_QT} -pro ${CMAKE_CURRENT_BINARY_DIR}/${APP_LOW_NAME}.pro
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||
)
|
||||
else(${USE_QT_5})
|
||||
add_custom_target(lupdate
|
||||
${QT_QMAKE_EXECUTABLE} -project -o ${CMAKE_CURRENT_BINARY_DIR}/${APP_LOW_NAME}.pro
|
||||
COMMAND ${QT_LUPDATE_EXECUTABLE} -ts ${APP_TRANSLATIONS_WO_QT} -pro ${CMAKE_CURRENT_BINARY_DIR}/${APP_LOW_NAME}.pro
|
||||
COMMAND ${QT_LUPDATE_EXECUTABLE} -no-obsolete -ts ${APP_TRANSLATIONS_WO_QT} -pro ${CMAKE_CURRENT_BINARY_DIR}/${APP_LOW_NAME}.pro
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||
)
|
||||
endif(${USE_QT_5})
|
||||
|
@ -43,6 +43,34 @@
|
||||
<source>Image</source>
|
||||
<translation>Obrázek</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open link in new tab</source>
|
||||
<translation>Otevřít odkaz v novém panelu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open this hyperlink in new tab</source>
|
||||
<translation>Otevřít tento odkaz v novém panelu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Follow link</source>
|
||||
<translation>Přejít</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open the hyperlink in this tab</source>
|
||||
<translation>Otevřít tento odkaz v tomto panelu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open image in new tab</source>
|
||||
<translation>Otevřít obrázek v novém panelu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open this image in this tab</source>
|
||||
<translation>Otevřít tento obrázek v novém panelu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Hyperlink</source>
|
||||
<translation>Hypertextový odkaz</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>FormAbout</name>
|
||||
@ -99,12 +127,16 @@
|
||||
<translation><b>%8</b><br><b>Verze:</b> %1 (OS při sestavování %2 verze CMake %3)<br><b>Revize:</b> %4<br><b>Datum sestavení:</b> %5<br><b>Qt:</b> %6 (při kompilaci %7)<br></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><body>Authors and contributors:<ul><li>Martin Rotter (<a href="mailto://rotter.martinos@gmail.com">rotter.martinos@gmail.com</a>) (author of RSS Guard)</li><li>snakebite & tiheum (authors of KFaenza/Faenza icon theme)</li><li>Digia Plc (author of QtSingleApplication component)</li><li>Artem Galichkin (<a href="mailto://doomer3d@gmail.com">doomer3d@gmail.com</a>) (author of original QKeySequenceWidget component)</li></ul></body></source>
|
||||
<translation type="unfinished"></translation>
|
||||
<source>Thanks to page is available only in English language.</source>
|
||||
<translation>Poděkování je k dispozici pouze v anglickém jazyce.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><body>RSS Guard is a (very) tiny feed reader.<br><br>This software is distributed under the terms of GNU General Public License, version 3.<br><br>Contacts:<ul><li><a href="mailto://rotter.martinos@gmail.com">rotter.martinos@gmail</a> ~email</li><li><a href="http://www.rssguard.sf.net">www.rssguard.sf.net</a> ~website</li></ul>You can obtain source code for RSS Guard from its website.<br><br><br>Copyright © 2011-%1 Martin Rotter</body></source>
|
||||
<translation><body>RSS Guard je (velmi) jednoduchá čtečka kanálů.<br><br>Tento software je šířen pod licencí GNU General Public, verze 3.<br><br>Kontakty:<ul><li><a href="mailto://rotter.martinos@gmail.com">rotter.martinos@gmail</a> ~email</li><li><a href="http://www.rssguard.sf.net">www.rssguard.sf.net</a> ~webová stránka</li></ul>Zdrojové kódy aplikace RSS Guard lze získat na její webové stránce.<br><br><br>Copyright © 2011-%1 Martin Rotter</body></translation>
|
||||
<source>Authors information not found.</source>
|
||||
<translation>Informace o autorech nebyly nalezeny.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><body>RSS Guard is a (very) tiny feed reader.<br><br>This software is distributed under the terms of GNU General Public License, version 3.<br><br>Contacts:<ul><li><a href="mailto://rotter.martinos@gmail.com">rotter.martinos@gmail</a> ~email</li><li><a href="http://www.rssguard.sf.net">www.rssguard.sf.net</a> ~website</li></ul>You can obtain source code for RSS Guard from its website.<br><br><br>Copyright © 2011-%1 Martin Rotter</body></source>
|
||||
<translation><body>RSS Guard je (velmi) jednoduchá čtečka kanálů.<br><br>Tento software je šířen pod podmínkami licence GNU General Public License, verze 3.<br><br>Kontakty:<ul><li><a href="mailto://rotter.martinos@gmail.com">rotter.martinos@gmail</a> ~email</li><li><a href="http://www.rssguard.sf.net">www.rssguard.sf.net</a> ~web</li></ul>Zdrojový kód pro RSS Guard lze získat z jeho webu.<br><br><br>Copyright © 2011-%1 Martin Rotter</body></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
@ -149,18 +181,6 @@
|
||||
<source>&Fullscreen mode</source>
|
||||
<translation>&Režime celé obrazovky</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Feeds</source>
|
||||
<translation type="unfinished">Kanály</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Browser your feeds and messages</source>
|
||||
<translation type="unfinished">Procházej své kanály a zprávy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Web browser</source>
|
||||
<translation>Webový prohlížeč</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>FormSettings</name>
|
||||
@ -312,102 +332,112 @@
|
||||
<source>Http</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Language of Qonverter was changed. Note that changes will take effect on next Qonverter start.</source>
|
||||
<translation type="obsolete">Jazyk</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Do you want to restart now?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Chcete restartovat nyní?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Language changed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Jazyk změněn</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Problem with RSS Guard restart</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Problém s restartem</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source> (not supported on this platform)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation> (na této platformě nepodporováno)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Tray area && notifications</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Notifikační oblast</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Disable</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Zakázat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enable</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Povolit</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Tabs</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Panely</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Close tabs with</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Zavírat panely pomocí</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left mouse button double-click</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Levého tlačítka myši</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Middle mouse button single-click</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Prostředního tlačítka myši</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open new tabs with left mouse button double-click on tab bar</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Otevírat nové panely poklepáním na panelový pruh</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enable mouse gestures</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Povolit gesta myši</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Mouse gestures work with right mouse button. Possible gestures are:
|
||||
<source>Web browser & proxy</source>
|
||||
<translation>Webový prohlížeč & proxy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Language of RSS Guard was changed. Note that changes will take effect on next Qonverter start.</source>
|
||||
<translation>Jazyk RSS Guardu byl změnen. Změn se projeví až po restartu aplikace.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>RSS Guard couldn't be restarted, please restart it manually for changes to take effect.</source>
|
||||
<translation>RSS Guard nemohl být restartován, prosím restartuje jej ručně.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Disable (Tray icon is not available.)</source>
|
||||
<translation>Zakázat (Notifikační ikona není k dispozici.)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Mouse gestures work with middle mouse button. Possible gestures are:
|
||||
<ul>
|
||||
<li>previous web page (drag mouse left)</li>
|
||||
<li>next web page (drag mouse right)</li>
|
||||
<li>reload current web page (drag mouse up)</li>
|
||||
<li>open new web browser tab (drag mouse down)</li>
|
||||
</ul></source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Gesta myši funguji s prostředním tlačítkem myši. Gesta jsou:
|
||||
<ul>
|
||||
<li>zpět (táhnout myší vlevo)</li>
|
||||
<li>vpřed (táhnout myší vpravo)</li>
|
||||
<li>obnovit (táhnout myší nahoru)</li>
|
||||
<li>otevřít nový panel (táhnout myší dolů)</li>
|
||||
</ul></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Web browser & proxy</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<source>Queue new tabs (with hyperlinks) after the active tab</source>
|
||||
<translation>Zařadit nově otevíraný panel za ten aktuální</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Language of RSS Guard was changed. Note that changes will take effect on next Qonverter start.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>RSS Guard couldn't be restarted, please restart it manually for changes to take effect.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Disable (Tray icon is not available.)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<source>no icon theme</source>
|
||||
<translation>žádné téma ikon</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>FormWelcome</name>
|
||||
<message>
|
||||
<source>Welcome</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Vítejte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Welcome to RSS Guard</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Vítá Vás RSS Guard</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><html><head/><body><p>RSS Guard is a (very) easy feed reader. It supports all major feed formats, including RSS, ATOM and RDF.</p><p>Make sure you explore all available features. If you find a bug or if you want to propose new feature, then create new <a href="https://sourceforge.net/p/rssguard/tickets"><span style=" text-decoration: underline; color:#0000ff;">issue report</span></a>.</p><p>RSS Guard can be translated to any language. Contact its <a href="mailto:rotter.martinos@gmail.com"><span style=" text-decoration: underline; color:#0000ff;">author</span></a> in case of your interest.</p><p><br/></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
<source><html><head/><body><p>RSS Guard is a (very) easy-to-use feed reader. It supports all major feed formats, including RSS, ATOM and RDF.</p><p>Make sure you explore all available features. If you find a bug or if you want to propose new feature, then create new <a href="https://sourceforge.net/p/rssguard/tickets"><span style=" text-decoration: underline; color:#0000ff;">issue report</span></a>.</p><p>RSS Guard can be translated to any language. Contact its <a href="mailto:rotter.martinos@gmail.com"><span style=" text-decoration: underline; color:#0000ff;">author</span></a> in case of your interest.</p><p><br/></p></body></html></source>
|
||||
<translation><html><head/><body><p>RSS Guard je (velmi) jednoduchá čtečka kanálů. Podporuje všechny rozšířené formáty, včetně RSS, ATOM a RDF.</p><p>Ujistěte se, že projdete všechny funkce této aplikace. Pokud chcete nahlásit chybu nebo chcete v programu mít novou vlastnost, pak vyplňte <a href="https://sourceforge.net/p/rssguard/tickets"><span style=" text-decoration: underline; color:#0000ff;">hlášení o chybě</span></a>.</p><p>RSS Guard může být přeložen do libovolného jazyka. Kontaktujte <a href="mailto:rotter.martinos@gmail.com"><span style=" text-decoration: underline; color:#0000ff;">autora</span></a> v případě zájmu o překlad.</p><p><br/></p></body></html></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
@ -438,22 +468,37 @@
|
||||
<translation>rotter.martinos@gmail.com</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TabWidget</name>
|
||||
<message>
|
||||
<source>Feeds</source>
|
||||
<translation>Kanály</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Browse your feeds and messages</source>
|
||||
<translation>Procházet kanály a zprávy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Web browser</source>
|
||||
<translation>Webový prohlížeč</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TrayIconMenu</name>
|
||||
<message>
|
||||
<source>Close opened modal dialogs first.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Nejdříve ukončete otevřené modální dialogy.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>WebBrowser</name>
|
||||
<message>
|
||||
<source>Navigation panel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Navigační panel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Back</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Zpět</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Go back</source>
|
||||
@ -461,7 +506,7 @@
|
||||
</message>
|
||||
<message>
|
||||
<source>Forward</source>
|
||||
<translation>Zpět</translation>
|
||||
<translation>Vpřed</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Go forward</source>
|
||||
@ -477,11 +522,11 @@
|
||||
</message>
|
||||
<message>
|
||||
<source>Stop</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Zastavit</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Stop web page loading</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Zastavit načítání aktuální webové stránky</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
@ -43,6 +43,34 @@
|
||||
<source>Image</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open link in new tab</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open this hyperlink in new tab</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Follow link</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open the hyperlink in this tab</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open image in new tab</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open this image in this tab</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Hyperlink</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>FormAbout</name>
|
||||
@ -99,11 +127,15 @@
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><body>Authors and contributors:<ul><li>Martin Rotter (<a href="mailto://rotter.martinos@gmail.com">rotter.martinos@gmail.com</a>) (author of RSS Guard)</li><li>snakebite & tiheum (authors of KFaenza/Faenza icon theme)</li><li>Digia Plc (author of QtSingleApplication component)</li><li>Artem Galichkin (<a href="mailto://doomer3d@gmail.com">doomer3d@gmail.com</a>) (author of original QKeySequenceWidget component)</li></ul></body></source>
|
||||
<source>Thanks to page is available only in English language.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><body>RSS Guard is a (very) tiny feed reader.<br><br>This software is distributed under the terms of GNU General Public License, version 3.<br><br>Contacts:<ul><li><a href="mailto://rotter.martinos@gmail.com">rotter.martinos@gmail</a> ~email</li><li><a href="http://www.rssguard.sf.net">www.rssguard.sf.net</a> ~website</li></ul>You can obtain source code for RSS Guard from its website.<br><br><br>Copyright © 2011-%1 Martin Rotter</body></source>
|
||||
<source>Authors information not found.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><body>RSS Guard is a (very) tiny feed reader.<br><br>This software is distributed under the terms of GNU General Public License, version 3.<br><br>Contacts:<ul><li><a href="mailto://rotter.martinos@gmail.com">rotter.martinos@gmail</a> ~email</li><li><a href="http://www.rssguard.sf.net">www.rssguard.sf.net</a> ~website</li></ul>You can obtain source code for RSS Guard from its website.<br><br><br>Copyright © 2011-%1 Martin Rotter</body></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
@ -149,18 +181,6 @@
|
||||
<source>&Fullscreen mode</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Feeds</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Browser your feeds and messages</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Web browser</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>FormSettings</name>
|
||||
@ -364,16 +384,6 @@
|
||||
<source>Enable mouse gestures</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Mouse gestures work with right mouse button. Possible gestures are:
|
||||
<ul>
|
||||
<li>previous web page (drag mouse left)</li>
|
||||
<li>next web page (drag mouse right)</li>
|
||||
<li>reload current web page (drag mouse up)</li>
|
||||
<li>open new web browser tab (drag mouse down)</li>
|
||||
</ul></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Web browser & proxy</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@ -390,6 +400,24 @@
|
||||
<source>Disable (Tray icon is not available.)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Mouse gestures work with middle mouse button. Possible gestures are:
|
||||
<ul>
|
||||
<li>previous web page (drag mouse left)</li>
|
||||
<li>next web page (drag mouse right)</li>
|
||||
<li>reload current web page (drag mouse up)</li>
|
||||
<li>open new web browser tab (drag mouse down)</li>
|
||||
</ul></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Queue new tabs (with hyperlinks) after the active tab</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>no icon theme</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>FormWelcome</name>
|
||||
@ -402,7 +430,7 @@
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><html><head/><body><p>RSS Guard is a (very) easy feed reader. It supports all major feed formats, including RSS, ATOM and RDF.</p><p>Make sure you explore all available features. If you find a bug or if you want to propose new feature, then create new <a href="https://sourceforge.net/p/rssguard/tickets"><span style=" text-decoration: underline; color:#0000ff;">issue report</span></a>.</p><p>RSS Guard can be translated to any language. Contact its <a href="mailto:rotter.martinos@gmail.com"><span style=" text-decoration: underline; color:#0000ff;">author</span></a> in case of your interest.</p><p><br/></p></body></html></source>
|
||||
<source><html><head/><body><p>RSS Guard is a (very) easy-to-use feed reader. It supports all major feed formats, including RSS, ATOM and RDF.</p><p>Make sure you explore all available features. If you find a bug or if you want to propose new feature, then create new <a href="https://sourceforge.net/p/rssguard/tickets"><span style=" text-decoration: underline; color:#0000ff;">issue report</span></a>.</p><p>RSS Guard can be translated to any language. Contact its <a href="mailto:rotter.martinos@gmail.com"><span style=" text-decoration: underline; color:#0000ff;">author</span></a> in case of your interest.</p><p><br/></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
@ -434,6 +462,21 @@
|
||||
<translation>rotter.martinos@gmail.com</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TabWidget</name>
|
||||
<message>
|
||||
<source>Feeds</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Browse your feeds and messages</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Web browser</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TrayIconMenu</name>
|
||||
<message>
|
||||
|
10
src/gui/cornerbutton.cpp
Normal file
10
src/gui/cornerbutton.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
#include "gui/cornerbutton.h"
|
||||
|
||||
|
||||
CornerButton::CornerButton(QWidget *parent) : QPushButton(parent) {
|
||||
setToolTip(tr("Open new tab"));
|
||||
}
|
||||
|
||||
CornerButton::~CornerButton() {
|
||||
qDebug("Destroying CornerButton instance.");
|
||||
}
|
19
src/gui/cornerbutton.h
Normal file
19
src/gui/cornerbutton.h
Normal file
@ -0,0 +1,19 @@
|
||||
#ifndef CORNERBUTTON_H
|
||||
#define CORNERBUTTON_H
|
||||
|
||||
#include <QPushButton>
|
||||
|
||||
|
||||
class CornerButton : public QPushButton {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit CornerButton(QWidget *parent = 0);
|
||||
virtual ~CornerButton();
|
||||
|
||||
signals:
|
||||
|
||||
public slots:
|
||||
};
|
||||
|
||||
#endif // CORNERBUTTON_H
|
@ -80,7 +80,7 @@
|
||||
<item row="1" column="1">
|
||||
<widget class="QLabel" name="m_lblInfo">
|
||||
<property name="text">
|
||||
<string><html><head/><body><p>RSS Guard is a (very) easy feed reader. It supports all major feed formats, including RSS, ATOM and RDF.</p><p>Make sure you explore all available features. If you find a bug or if you want to propose new feature, then create new <a href="https://sourceforge.net/p/rssguard/tickets"><span style=" text-decoration: underline; color:#0000ff;">issue report</span></a>.</p><p>RSS Guard can be translated to any language. Contact its <a href="mailto:rotter.martinos@gmail.com"><span style=" text-decoration: underline; color:#0000ff;">author</span></a> in case of your interest.</p><p><br/></p></body></html></string>
|
||||
<string><html><head/><body><p>RSS Guard is a (very) easy-to-use feed reader. It supports all major feed formats, including RSS, ATOM and RDF.</p><p>Make sure you explore all available features. If you find a bug or if you want to propose new feature, then create new <a href="https://sourceforge.net/p/rssguard/tickets"><span style=" text-decoration: underline; color:#0000ff;">issue report</span></a>.</p><p>RSS Guard can be translated to any language. Contact its <a href="mailto:rotter.martinos@gmail.com"><span style=" text-decoration: underline; color:#0000ff;">author</span></a> in case of your interest.</p><p><br/></p></body></html></string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||||
|
@ -29,8 +29,7 @@ class TabBar : public QTabBar {
|
||||
|
||||
signals:
|
||||
// Emmited if empty space on tab bar is double clicked.
|
||||
void emptySpaceDoubleClicked();
|
||||
|
||||
void emptySpaceDoubleClicked();
|
||||
};
|
||||
|
||||
#endif // TABBAR_H
|
||||
|
@ -1,5 +1,6 @@
|
||||
#include <QUrl>
|
||||
#include <QApplication>
|
||||
#include <QPushButton>
|
||||
|
||||
#include "core/defs.h"
|
||||
#include "core/settings.h"
|
||||
@ -7,10 +8,12 @@
|
||||
#include "gui/tabbar.h"
|
||||
#include "gui/iconthemefactory.h"
|
||||
#include "gui/webbrowser.h"
|
||||
#include "gui/cornerbutton.h"
|
||||
|
||||
|
||||
TabWidget::TabWidget(QWidget *parent) : QTabWidget(parent) {
|
||||
setTabBar(new TabBar(this));
|
||||
setupCornerButton();
|
||||
createConnections();
|
||||
}
|
||||
|
||||
@ -18,7 +21,15 @@ TabWidget::~TabWidget() {
|
||||
qDebug("Destroying TabWidget instance.");
|
||||
}
|
||||
|
||||
void TabWidget::setupCornerButton() {
|
||||
m_cornerButton = new CornerButton(this);
|
||||
m_cornerButton->setFlat(true);
|
||||
m_cornerButton->setIcon(IconThemeFactory::getInstance()->fromTheme("list-add"));
|
||||
setCornerWidget(m_cornerButton);
|
||||
}
|
||||
|
||||
void TabWidget::createConnections() {
|
||||
connect(m_cornerButton, SIGNAL(clicked()), this, SLOT(addEmptyBrowser()));
|
||||
connect(tabBar(), SIGNAL(tabCloseRequested(int)), this, SLOT(closeTab(int)));
|
||||
connect(tabBar(), SIGNAL(emptySpaceDoubleClicked()),
|
||||
this, SLOT(addEmptyBrowser()));
|
||||
@ -60,6 +71,9 @@ void TabWidget::setupIcons() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Setup corner button icon.
|
||||
m_cornerButton->setIcon(IconThemeFactory::getInstance()->fromTheme("list-add"));
|
||||
}
|
||||
|
||||
void TabWidget::closeTab(int index) {
|
||||
|
@ -8,6 +8,8 @@
|
||||
#include "gui/tabcontent.h"
|
||||
|
||||
|
||||
class CornerButton;
|
||||
|
||||
class TabWidget : public QTabWidget {
|
||||
Q_OBJECT
|
||||
|
||||
@ -41,6 +43,9 @@ class TabWidget : public QTabWidget {
|
||||
protected:
|
||||
// Creates necesary connections.
|
||||
void createConnections();
|
||||
|
||||
// Sets up properties of custom corner button.
|
||||
void setupCornerButton();
|
||||
|
||||
public slots:
|
||||
// Closes tab with given index and deletes contained widget.
|
||||
@ -57,6 +62,9 @@ class TabWidget : public QTabWidget {
|
||||
int addBrowser(bool move_after_current,
|
||||
bool make_active,
|
||||
const QUrl &initial_url = QUrl());
|
||||
|
||||
private:
|
||||
CornerButton *m_cornerButton;
|
||||
};
|
||||
|
||||
#endif // TABWIDGET_H
|
||||
|
Loading…
x
Reference in New Issue
Block a user