about->keys dialog added

master
Denes Matetelki 14 years ago
parent 3cade9b1c1
commit 565c45ce6a

@ -63,7 +63,7 @@ void GraphWidget::readContentFromXmlFile(const QString &fileName)
if (!doc.setContent(&file))
{
m_parent->statusBarMsg(tr("Couldn't parse XML file"));
m_parent->statusBarMsg(tr("Couldn't parse XML file."));
file.close();
return;
}
@ -217,12 +217,12 @@ void GraphWidget::keyPressEvent(QKeyEvent *event)
if (m_edgeAdding)
{
m_edgeAdding = false;
m_parent->statusBarMsg(tr("Edge adding cancelled"));
m_parent->statusBarMsg(tr("Edge adding cancelled."));
}
else if (m_edgeDeleting)
{
m_edgeDeleting = false;
m_parent->statusBarMsg(tr("Edge deleting cancelled"));
m_parent->statusBarMsg(tr("Edge deleting cancelled."));
}
else if(m_showingNodeNumbers)
{

@ -23,13 +23,17 @@ MainWindow::MainWindow(QWidget *parent) :
this, SLOT(saveFileAs()));
connect(m_ui->actionClose, SIGNAL(activated()),
this, SLOT(closeFile()));
connect(m_ui->actionExport, SIGNAL(activated()),
this, SLOT(exportScene()));
connect(m_ui->actionQuit, SIGNAL(activated()),
QApplication::instance(), SLOT(quit()));
connect(m_ui->actionAbout_QtMindMap, SIGNAL(activated()),
this, SLOT(about()));
connect(m_ui->actionKeys, SIGNAL(activated()),
this, SLOT(keys()));
setCentralWidget(m_graphicsView);
m_graphicsView->hide();
@ -89,7 +93,7 @@ void MainWindow::openFile(const QString &fileName)
QFileDialog dialog(this,
tr("Open MindMap"),
QDir::homePath(),
tr("QtMindMap (*.qmm)"));
QString("QtMindMap (*.qmm)"));
dialog.setAcceptMode(QFileDialog::AcceptOpen);
dialog.setDefaultSuffix("qmm");
@ -127,7 +131,7 @@ bool MainWindow::saveFileAs()
QFileDialog dialog(this,
tr("Save MindMap as"),
QDir::homePath(),
tr("QtMindMap (*.qmm)"));
QString("QtMindMap (*.qmm)"));
dialog.setAcceptMode(QFileDialog::AcceptSave);
dialog.setDefaultSuffix("qmm");
@ -205,15 +209,81 @@ void MainWindow::exportScene()
}
}
void MainWindow::keys()
{
QMessageBox msgBox(this);
msgBox.setWindowTitle(tr("Keys of QtMindMap"));
msgBox.setText(tr("Usage of keys & mouse buttons"));
msgBox.setInformativeText(
QString("<table><tr><td><b>").
append(tr("Keys")).
append("</b></td><td></td></tr><tr><td>+,-</td><td>").
append(tr("zoom in/out of the view")).
append("</td></tr></tr><tr><td>").
append(tr("cursors")).
append("</td><td>").
append(tr("move view scrollbars")).
append("</td></tr></tr><tr><td>").
append(tr("ctrl + cursors")).
append("</td><td>").
append(tr("move active node")).
append("</td></tr></tr><tr><td>Delete</td><td>").
append(tr("remove active node")).
append("</td></tr></tr><tr><td>Insert</td><td>").
append(tr("add new node to active node")).
append("</td></tr></tr><tr><td>f</td><td>").
append(tr("enter/leave hint mode (vimperator style select)")).
append("</td></tr></tr><tr><td>").
append(tr("numbers, backspace, enter")).
append("</td><td>").
append(tr("select numbers in hint mode")).
append("</td></tr></tr><tr><td>F2</td><td>").
append(tr("edit active node")).
append("</td></tr></tr><tr><td>Esc</td><td>").
append(tr("leaving node editing/adding/deleting mode")).
append("</td></tr></tr><tr><td>").
append(tr("editing mode: ctrl+cursors")).
append("</td><td>").
append(tr("jump to beginning of next/prev word")).
append("</td></tr></tr><tr><td>a</td><td>").
append(tr("add new edge to active node (select the destination)")).
append("</td></tr></tr><tr><td>d</td><td>").
append(tr("delete edge of active node (select other end)")).
append("</td></tr><tr><td><b>").
append(tr("Mouse")).
append("</b></td><td></td></tr><tr><td>").
append(tr("scroll")).
append("</td><td>").
append(tr("zoom in/out of the view")).
append("</td></tr><tr><td>").
append(tr("click")).
append("</td><td>").
append(tr("select node")).
append("</td></tr><tr><td>").
append(tr("double clikk")).
append("</td><td>").
append(tr("set node editable")).
append("</td></tr><tr><td>").
append(tr("drag")).
append("</td><td>").
append(tr("move node")).
append("</td></tr></table>"));
msgBox.exec();
}
void MainWindow::about()
{
QMessageBox msgBox(this);
msgBox.setWindowTitle(tr("About QtMindMap"));
msgBox.setText(tr("MindMap software written in Qt."));
msgBox.setInformativeText(tr("Homepage: ").
append("https://gitorious.org/qtmindmap\n\n").
append(tr("Report bugs to: ")).
append("denes.matetelki@gmail.com"));
msgBox.setTextFormat(Qt::RichText);
msgBox.setInformativeText(tr("Homepage:").
append(" <a href=\"https://gitorious.org/qtmindmap\">https://gitorious.org/qtmindmap</a><br><br>").
append(tr("Report bugs to:")).
append(" <a href=\"mailto:denes.matetelki@gmail.com\">denes.matetelki@gmail.com</a>"));
QPixmap pixMap(":/qtmindmap.svg");
msgBox.setIconPixmap(pixMap.scaled(50,50));
msgBox.exec();

@ -29,8 +29,9 @@ public slots:
void saveFile();
bool saveFileAs();
bool closeFile();
void exportScene();
void keys();
void about();
private:

@ -45,6 +45,7 @@
<property name="title">
<string>&amp;Help</string>
</property>
<addaction name="actionKeys"/>
<addaction name="actionAbout_QtMindMap"/>
</widget>
<addaction name="menuFile"/>
@ -138,6 +139,11 @@
<string>Ctrl+A</string>
</property>
</action>
<action name="actionKeys">
<property name="text">
<string>&amp;Keys</string>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources>

@ -2,102 +2,146 @@
<!DOCTYPE TS>
<TS version="2.0" language="hu_HU">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="aboutdialog.ui" line="23"/>
<source>About QtMindMap</source>
<translation type="unfinished">A QtMindMap-rol</translation>
</message>
<message>
<location filename="aboutdialog.ui" line="54"/>
<source>QtMindMap 0.1</source>
<translation type="unfinished">QtMindMap 0.1</translation>
</message>
<message>
<location filename="aboutdialog.ui" line="67"/>
<source>Mindmap software in QT</source>
<translation type="unfinished">Agyterkep szoftver Qt-ben irva</translation>
</message>
<message>
<location filename="aboutdialog.ui" line="80"/>
<source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Sans Serif&apos;; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Denes Matetelki &lt;a href=&quot;mailto:denes.matetelki@gmail.com&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#508ed8;&quot;&gt;denes.matetelki@gmail.com&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ArgumentParser</name>
<message>
<location filename="argumentparser.cpp" line="24"/>
<location filename="argumentparser.cpp" line="20"/>
<source>Usage: </source>
<translation type="unfinished">Hasznalat: </translation>
<translation>Használat: </translation>
</message>
<message>
<location filename="argumentparser.cpp" line="25"/>
<location filename="argumentparser.cpp" line="22"/>
<source>Mindmap program in QT</source>
<translation type="unfinished">Agyterkep program QT-ben irva</translation>
<translation>Agytérkép program QT-ben írva</translation>
</message>
<message>
<location filename="argumentparser.cpp" line="27"/>
<location filename="argumentparser.cpp" line="24"/>
<source>Options:</source>
<translation type="unfinished">Opciok:</translation>
<translation>Opciók:</translation>
</message>
<message>
<location filename="argumentparser.cpp" line="28"/>
<location filename="argumentparser.cpp" line="25"/>
<source>Prints this help.</source>
<translation type="unfinished">Kiirja ezt a szoveget.</translation>
<translation>Kiírja ezt a szöveget.</translation>
</message>
<message>
<location filename="argumentparser.cpp" line="29"/>
<location filename="argumentparser.cpp" line="28"/>
<source>Starts application in system tray.</source>
<translation type="unfinished">A programot blablabla-ban inditja.</translation>
<translation>A programot a tálcán is elinditja.</translation>
</message>
<message>
<location filename="argumentparser.cpp" line="30"/>
<location filename="argumentparser.cpp" line="31"/>
<source>Hide main window, just show systray icon.</source>
<translation type="unfinished">Nem mutatja a foablakot, csak a balbalba-t.</translation>
<translation>Nem mutatja a főablakot, csak a tálcán indítja el.</translation>
</message>
<message>
<location filename="argumentparser.cpp" line="32"/>
<location filename="argumentparser.cpp" line="33"/>
<source>Report bugs to: </source>
<translation type="unfinished">Ide jelentsd a bugokat: </translation>
<translation>Ide jelentsd a hibákat: </translation>
</message>
<message>
<location filename="argumentparser.cpp" line="65"/>
<location filename="argumentparser.cpp" line="70"/>
<source>Unkown options: </source>
<translation type="unfinished">Ismeretlen opciok:</translation>
<translation>Ismeretlen opciók:</translation>
</message>
<message>
<location filename="argumentparser.cpp" line="84"/>
<location filename="argumentparser.cpp" line="90"/>
<location filename="argumentparser.cpp" line="96"/>
<location filename="argumentparser.cpp" line="102"/>
<location filename="argumentparser.cpp" line="98"/>
<location filename="argumentparser.cpp" line="106"/>
<location filename="argumentparser.cpp" line="114"/>
<source>File: </source>
<translation type="unfinished">Fajl: </translation>
<translation>Fájl: </translation>
</message>
<message>
<location filename="argumentparser.cpp" line="84"/>
<location filename="argumentparser.cpp" line="92"/>
<source> does not exists.</source>
<translation type="unfinished"> nem letezik.</translation>
<translation> nem létezik.</translation>
</message>
<message>
<location filename="argumentparser.cpp" line="90"/>
<location filename="argumentparser.cpp" line="100"/>
<source> is not a file.</source>
<translation type="unfinished"> nem egy fajl.</translation>
<translation> nem egy fájl.</translation>
</message>
<message>
<location filename="argumentparser.cpp" line="96"/>
<location filename="argumentparser.cpp" line="108"/>
<source> is not readable.</source>
<translation type="unfinished"> nem olvashato.</translation>
<translation> nem olvasható.</translation>
</message>
<message>
<location filename="argumentparser.cpp" line="102"/>
<location filename="argumentparser.cpp" line="116"/>
<source> is not writeable.</source>
<translation type="unfinished"> nem irhato.</translation>
<translation> nem írható.</translation>
</message>
</context>
<context>
<name>GraphWidget</name>
<message>
<location filename="graphwidget.cpp" line="60"/>
<source>Couldn&apos;t read file.</source>
<translation>Nem lehet olvasni a fájlt.</translation>
</message>
<message>
<location filename="graphwidget.cpp" line="66"/>
<source>Couldn&apos;t parse XML file.</source>
<oldsource>Couldn&apos;t parse XML file</oldsource>
<translation>Nem lehetett elemezni az XML dokumentumot.</translation>
</message>
<message>
<location filename="graphwidget.cpp" line="146"/>
<source>Couldn&apos;t open file to write.</source>
<translation>Nem lehetett a fájlt megnyitni írásra.</translation>
</message>
<message>
<location filename="graphwidget.cpp" line="154"/>
<source>Saved.</source>
<translation>Elmentve.</translation>
</message>
<message>
<location filename="graphwidget.cpp" line="174"/>
<source>MindMap exported as </source>
<translation>Az agytérkép exportálva lett, mint</translation>
</message>
<message>
<location filename="graphwidget.cpp" line="208"/>
<source>No active node.</source>
<translation>Nincs aktív csúcs.</translation>
</message>
<message>
<location filename="graphwidget.cpp" line="220"/>
<source>Edge adding cancelled.</source>
<oldsource>Edge adding cancelled</oldsource>
<translation>Él hozzáadása megszakítva.</translation>
</message>
<message>
<location filename="graphwidget.cpp" line="225"/>
<source>Edge deleting cancelled.</source>
<oldsource>Edge deleting cancelled</oldsource>
<translation>Él törlés megszakítva.</translation>
</message>
<message>
<location filename="graphwidget.cpp" line="333"/>
<source>Last node cannot be deleted.</source>
<translation>Az utolsó csúcs nem törölhető.</translation>
</message>
<message>
<location filename="graphwidget.cpp" line="352"/>
<source>Add edge: select destination node.</source>
<translation>Él hozzáadásához válassz ki cél csúcsot.</translation>
</message>
<message>
<location filename="graphwidget.cpp" line="358"/>
<source>Delete edge: select other end-node.</source>
<translation>Él törléséhez válaszd ki a másik csúcsot.</translation>
</message>
<message>
<location filename="graphwidget.cpp" line="504"/>
<source>There is already an edge between these two nodes.</source>
<translation>Már létezik él e két csúcs között.</translation>
</message>
<message>
<location filename="graphwidget.cpp" line="517"/>
<source>There no edge between these two nodes.</source>
<translation>Nincs él e között a két csúcs között.</translation>
</message>
</context>
<context>
@ -105,108 +149,288 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="mainwindow.ui" line="14"/>
<source>QtMindMap</source>
<translation type="unfinished">QtMindMap</translation>
<translation>QtMindMap</translation>
</message>
<message>
<location filename="mainwindow.ui" line="28"/>
<location filename="mainwindow.ui" line="32"/>
<source>&amp;File</source>
<translation type="unfinished">Fajl</translation>
<translation>&amp;Fájl</translation>
</message>
<message>
<location filename="mainwindow.ui" line="41"/>
<location filename="mainwindow.ui" line="46"/>
<source>&amp;Help</source>
<translation type="unfinished">Segitseg</translation>
<translation>&amp;Segítség</translation>
</message>
<message>
<location filename="mainwindow.ui" line="59"/>
<location filename="mainwindow.ui" line="68"/>
<source>&amp;New</source>
<translation type="unfinished">Uj</translation>
<translation>&amp;Új</translation>
</message>
<message>
<location filename="mainwindow.ui" line="67"/>
<location filename="mainwindow.ui" line="79"/>
<source>&amp;Open</source>
<translation type="unfinished">Megnyitas</translation>
<translation>Meg&amp;nyitás</translation>
</message>
<message>
<location filename="mainwindow.ui" line="75"/>
<location filename="mainwindow.ui" line="90"/>
<source>&amp;Save</source>
<translation type="unfinished">Mentes</translation>
<translation>&amp;Mentés</translation>
</message>
<message>
<location filename="mainwindow.ui" line="83"/>
<location filename="mainwindow.ui" line="98"/>
<source>&amp;Quit</source>
<translation type="unfinished">Kilepes</translation>
<translation>&amp;Kilépés</translation>
</message>
<message>
<location filename="mainwindow.ui" line="91"/>
<location filename="mainwindow.ui" line="106"/>
<source>&amp;About QtMindMap</source>
<translation type="unfinished">A QtMindMap-rol</translation>
<translation>A QtMindMap-ről</translation>
</message>
<message>
<location filename="mainwindow.ui" line="96"/>
<location filename="mainwindow.ui" line="114"/>
<source>&amp;Close</source>
<translation type="unfinished">Bezaras</translation>
<translation>&amp;Bezárás</translation>
</message>
<message>
<location filename="mainwindow.ui" line="104"/>
<location filename="mainwindow.ui" line="122"/>
<source>E&amp;xport</source>
<translation type="unfinished">E&amp;xportalas</translation>
<translation>E&amp;xportálás</translation>
</message>
<message>
<location filename="mainwindow.ui" line="107"/>
<location filename="mainwindow.ui" line="125"/>
<source>Export</source>
<translation type="unfinished">Exportalas</translation>
<translation>Exportálás</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="71"/>
<location filename="mainwindow.ui" line="136"/>
<source>Save&amp;As</source>
<translation>Mentés min&amp;t</translation>
</message>
<message>
<location filename="mainwindow.ui" line="139"/>
<source>Ctrl+A</source>
<translation>Ctrl+A</translation>
</message>
<message>
<location filename="mainwindow.ui" line="144"/>
<source>&amp;Keys</source>
<translation type="unfinished">&amp;Billentyűk</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="94"/>
<source>Open MindMap</source>
<translation>Agytérkép megynyitása</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="132"/>
<source>Save MindMap as</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="200"/>
<source>Export MindMap to image</source>
<translation type="unfinished">Az agyterkep kepkent exportalasa</translation>
<translation>Az agytérkép képként exportálása</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="73"/>
<location filename="mainwindow.cpp" line="202"/>
<source>PNG image file (*.png)</source>
<translation type="unfinished">PNG kep file (*.png)</translation>
<translation>PNG kép fájl (*.png)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="215"/>
<source>Keys of QtMindMap</source>
<translation>A QtMindMap billentyűkiosztása</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="216"/>
<source>Usage of keys &amp; mouse buttons</source>
<translation>A billentyűk és az egér használata</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="221"/>
<source>Keys</source>
<translation>Billentyúk</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="223"/>
<location filename="mainwindow.cpp" line="259"/>
<source>zoom in/out of the view</source>
<translation>A nézeten ki/be nagyítás</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="225"/>
<source>cursors</source>
<translation>Kurzor gombok</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="227"/>
<source>move view scrollbars</source>
<translation>A nézet gördítősávjának mozgatása</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="229"/>
<source>ctrl + cursors</source>
<translation>ctrl + korzor gombok</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="231"/>
<source>move active node</source>
<translation>Az aktív csúcs mozgatása</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="233"/>
<source>remove active node</source>
<translation>Az aktív csúcs törlése</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="235"/>
<source>add new node to active node</source>
<translation>Új csúcs hozzáadása az aktív csúcshoz</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="237"/>
<source>enter/leave hint mode (vimperator style select)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="239"/>
<source>numbers, backspace, enter</source>
<translation>számok, törlés, enter</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="241"/>
<source>select numbers in hint mode</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="243"/>
<source>edit active node</source>
<translation>Az aktív csúcs szerkesztése.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="245"/>
<source>leaving node editing/adding/deleting mode</source>
<translation>A szerkesztés/éltörlés/élhozzáadás mód elhagyása.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="247"/>
<source>editing mode: ctrl+cursors</source>
<translation>Szerkesző mód: ctrl + kurzorok</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="249"/>
<source>jump to beginning of next/prev word</source>
<translation>A következő/előző szó elejére ugrás.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="251"/>
<source>add new edge to active node (select the destination)</source>
<translation>Az aktív csúcshoz új él hozzáadása (válaszd ki az él másik végpontját)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="253"/>
<source>delete edge of active node (select other end)</source>
<translation>Az aktív csúcsról él törlése (válaszd ki az él másik csúcspontját)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="255"/>
<source>Mouse</source>
<translation>Egér</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="257"/>
<source>scroll</source>
<translation>görgetés</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="261"/>
<source>click</source>
<translation>klikk</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="263"/>
<source>select node</source>
<translation>csúcs kiválasztása</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="265"/>
<source>double clikk</source>
<translation>duplakatt</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="267"/>
<source>set node editable</source>
<translation>a csúcs szerkeszthetővé tétele.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="269"/>
<source>drag</source>
<translation>megragadás</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="271"/>
<source>move node</source>
<translation>A csúcs mozgatása.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="280"/>
<source>About QtMindMap</source>
<translation>A QtMindMap-ről</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="281"/>
<source>MindMap software written in Qt.</source>
<translation>Agytérkép program Qt-ben írva.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="283"/>
<source>Homepage:</source>
<translation>Honlap:</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="285"/>
<source>Report bugs to:</source>
<translation>Ide jelentsd a hibákat:</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="99"/>
<source>MindMap exported as </source>
<translation type="unfinished">Az agyterkep exportalva lett, mint</translation>
<translation type="obsolete">Az agyterkep exportalva lett, mint</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="main.cpp" line="51"/>
<location filename="main.cpp" line="48"/>
<source>QtMindMap Error</source>
<translation type="unfinished">QtMindMap hiba</translation>
<translation>QtMindMap hiba</translation>
</message>
<message>
<location filename="main.cpp" line="52"/>
<location filename="main.cpp" line="49"/>
<source>I couldn&apos;t detect any system tray on this system.</source>
<translation type="unfinished">Nem talalhato talca a jelenlegi rendszerben.</translation>
<translation>Nem található tálca a jelenlegi rendszerben.</translation>
</message>
</context>
<context>
<name>SystemTray</name>
<message>
<location filename="systemtray.cpp" line="13"/>
<location filename="systemtray.cpp" line="9"/>
<source>Mi&amp;nimize</source>
<translation type="unfinished">&amp;Talcara</translation>
<translation>&amp;Tálcára</translation>
</message>
<message>
<location filename="systemtray.cpp" line="16"/>
<location filename="systemtray.cpp" line="13"/>
<source>Ma&amp;ximize</source>
<translation type="unfinished">Teljes &amp;meret</translation>
<translation>Teljes &amp;méret</translation>
</message>
<message>
<location filename="systemtray.cpp" line="19"/>
<location filename="systemtray.cpp" line="17"/>
<source>&amp;Restore</source>
<translation type="unfinished">&amp;Visszaallita</translation>
<translation>&amp;Visszaállítás</translation>
</message>
<message>
<location filename="systemtray.cpp" line="22"/>
<location filename="systemtray.cpp" line="21"/>
<source>&amp;Quit</source>
<translation type="unfinished">&amp;Kilepes</translation>
<translation>&amp;Kilépés</translation>
</message>
</context>
</TS>

@ -31,8 +31,8 @@ void SystemTray::setup()
m_systemTrayIcon->setContextMenu(m_trayIconMenu);
m_icon = new QIcon(":/heart.svg");
m_systemTrayIcon->setIcon(QIcon(":/heart.svg"));
m_icon = new QIcon(":/qtmindmap.svg");
m_systemTrayIcon->setIcon(QIcon(":/qtmindmap.svg"));
}
SystemTray::SystemTray(MainWindow *mainWindow, QWidget *parent) :

Loading…
Cancel
Save