Добавил tooltip к кнопкам

pull/40/head
Igor Belitskiy 3 years ago
parent 21e16d5f05
commit 6e5498ee6f

@ -222,6 +222,8 @@ void MainWindow::localization() {
lblwebHeaderName->set_label(name_app_1); lblwebHeaderName->set_label(name_app_1);
lblHeadeWndWeb->set_label(define_name_app); lblHeadeWndWeb->set_label(define_name_app);
lblwebHeaderName->set_label(define_name_app); lblwebHeaderName->set_label(define_name_app);
btnFilemaneg->set_tooltip_text(str_tooltip_filemanager);
btnListApp->set_tooltip_text(str_tooltip_list_app);
} }
void MainWindow::event() { void MainWindow::event() {

@ -24,6 +24,8 @@
#include <webkit2/webkit2.h> #include <webkit2/webkit2.h>
#endif #endif
#define str_tooltip_filemanager _("Program view")
#define str_tooltip_list_app _("File view")
#define copyright _("Copyright © UBSoft LLC, 2022 - ") #define copyright _("Copyright © UBSoft LLC, 2022 - ")
#define define_name_app _("Run as...") #define define_name_app _("Run as...")
#define name_app_1 _("ublexec") #define name_app_1 _("ublexec")

@ -17,6 +17,12 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
msgid "File view"
msgstr ""
msgid "Program view"
msgstr ""
#: source/ublexec.h:32 source/ublexec.cc:181 source/ublexec.cc:182 #: source/ublexec.h:32 source/ublexec.cc:181 source/ublexec.cc:182
#: source/ublexec.cc:180 source/ublexec.cc:163 #: source/ublexec.cc:180 source/ublexec.cc:163
msgid " Run as..." msgid " Run as..."

@ -17,6 +17,12 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
msgid "File view"
msgstr "Обзор файлов"
msgid "Program view"
msgstr "Обзор программ"
#: source/ublexec.h:32 source/ublexec.cc:181 source/ublexec.cc:182 #: source/ublexec.h:32 source/ublexec.cc:181 source/ublexec.cc:182
#: source/ublexec.cc:180 source/ublexec.cc:163 #: source/ublexec.cc:180 source/ublexec.cc:163
msgid " Run as..." msgid " Run as..."

Loading…
Cancel
Save