Открыть боковую панель
MOS
Исходные коды
mos-vkm
Коммиты
d297f552
Коммит
d297f552
создал
Янв 18, 2024
по автору
Коул Милена Ричардовна
Просмотр файлов
change icon and app names
владелец
54ea0759
Изменения
6
Скрыть пробелы
Построчно
Рядом
main.cpp
Просмотр файла @
d297f552
...
...
@@ -14,7 +14,7 @@ const QString vkm_link = "https://web.vk.me/";
int
main
(
int
argc
,
char
*
argv
[])
{
QApplication
a
(
argc
,
argv
);
a
.
setWindowIcon
(
QIcon
(
QStringLiteral
(
":/VKChat.svg"
)));
a
.
setWindowIcon
(
QIcon
(
QStringLiteral
(
":/
M
VKChat.svg"
)));
QCoreApplication
::
setAttribute
(
Qt
::
AA_EnableHighDpiScaling
);
QCoreApplication
::
setAttribute
(
Qt
::
AA_UseHighDpiPixmaps
);
...
...
@@ -27,7 +27,6 @@ int main(int argc, char *argv[])
break
;
}
}
QWebEngineSettings
::
defaultSettings
()
->
setAttribute
(
QWebEngineSettings
::
PluginsEnabled
,
true
);
#if QT_VERSION >= QT_VERSION_CHECK(5, 13, 0)
QWebEngineSettings
::
defaultSettings
()
->
setAttribute
(
QWebEngineSettings
::
DnsPrefetchEnabled
,
true
);
...
...
mos-vkm_ru_RU.ts
Просмотр файла @
d297f552
...
...
@@ -4,32 +4,37 @@
<
context
>
<
name
>
BrowserWindow
<
/name
>
<
message
>
<
location
filename
=
"
webEngineWidgets/browserwindow.cpp
"
line
=
"
8
6
"
/>
<
source
>
Open
VKM
<
/source
>
<
translation
>
Открыть
VK
Мессенджер
<
/translation
>
<
location
filename
=
"
webEngineWidgets/browserwindow.cpp
"
line
=
"
8
3
"
/>
<
source
>
M
VKM
<
/source
>
<
translation
>
МВКМ
<
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
webEngineWidgets/browserwindow.cpp
"
line
=
"
92
"
/>
<
source
>
Quit
VK
Messenger
<
/source
>
<
translation
>
За
крыть
VK
Мессенджер
<
/translation
>
<
location
filename
=
"
webEngineWidgets/browserwindow.cpp
"
line
=
"
88
"
/>
<
source
>
Open
MVKM
<
/source
>
<
translation
>
От
крыть
M
VK
Мессенджер
<
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
webEngineWidgets/browserwindow.cpp
"
line
=
"
104
"
/>
<
location
filename
=
"
webEngineWidgets/browserwindow.cpp
"
line
=
"
94
"
/>
<
source
>
Quit
MVK
Messenger
<
/source
>
<
translation
>
Закрыть
MVK
Мессенджер
<
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
webEngineWidgets/browserwindow.cpp
"
line
=
"
106
"
/>
<
source
>
App
<
/source
>
<
translation
>
Приложение
<
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
webEngineWidgets/browserwindow.cpp
"
line
=
"
10
5
"
/>
<
location
filename
=
"
webEngineWidgets/browserwindow.cpp
"
line
=
"
10
7
"
/>
<
source
>
Reload
<
/source
>
<
translation
>
Перезагрузить
<
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
webEngineWidgets/browserwindow.cpp
"
line
=
"
10
8
"
/>
<
location
filename
=
"
webEngineWidgets/browserwindow.cpp
"
line
=
"
1
1
0
"
/>
<
source
>
Return
home
page
<
/source
>
<
translation
>
Перезапустить
мессенджер
<
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
webEngineWidgets/browserwindow.cpp
"
line
=
"
11
1
"
/>
<
location
filename
=
"
webEngineWidgets/browserwindow.cpp
"
line
=
"
11
3
"
/>
<
source
>
Close
application
<
/source
>
<
translation
>
Закрыть
приложение
<
/translation
>
<
/message
>
...
...
resources/VKChat.png
→
resources/
M
VKChat.png
Просмотр файла @
d297f552
Файл перемещен
resources/VKChat.svg
→
resources/
M
VKChat.svg
Просмотр файла @
d297f552
...
...
@@ -6,9 +6,9 @@
fill=
"none"
version=
"1.1"
id=
"svg28"
sodipodi:docname=
"VKChat.svg"
sodipodi:docname=
"
M
VKChat.svg"
inkscape:version=
"1.2.2 (unknown)"
inkscape:export-filename=
"VKChat.png"
inkscape:export-filename=
"
M
VKChat.png"
inkscape:export-xdpi=
"96"
inkscape:export-ydpi=
"96"
xmlns:inkscape=
"http://www.inkscape.org/namespaces/inkscape"
...
...
@@ -33,8 +33,8 @@
inkscape:deskcolor=
"#d1d1d1"
showgrid=
"false"
inkscape:zoom=
"4.0117188"
inkscape:cx=
"
99.084712
"
inkscape:cy=
"7
4.65627
9"
inkscape:cx=
"
74.40701
"
inkscape:cy=
"7
5.15481
9"
inkscape:window-width=
"1920"
inkscape:window-height=
"1008"
inkscape:window-x=
"0"
...
...
resources/mos-vkm.qrc
Просмотр файла @
d297f552
...
...
@@ -3,7 +3,7 @@
<file>libs/jQuery/jquery.js</file>
<file>libs/jQuery/jquery.min.js</file>
<file>libs/jQuery/jquery.min.map</file>
<file>VKChat.svg</file>
<file>VKChat.png</file>
<file>
M
VKChat.svg</file>
<file>
M
VKChat.png</file>
</qresource>
</RCC>
webEngineWidgets/browserwindow.cpp
Просмотр файла @
d297f552
...
...
@@ -80,16 +80,18 @@ BrowserWindow::BrowserWindow(Browser *browser, QWebEngineProfile *profile, QStr
{
setFocusPolicy
(
Qt
::
ClickFocus
);
setWindowTitle
(
tr
(
"MVKM"
));
/////////////SetTrayMenu/////////////
m_appTrayIcon
=
new
QSystemTrayIcon
(
this
);
m_appTrayIcon
->
setToolTip
(
tr
(
"Open VKM"
));
m_appTrayIcon
->
setIcon
(
QIcon
(
":/VKChat.png"
));
m_appTrayIcon
->
setToolTip
(
tr
(
"Open
M
VKM"
));
m_appTrayIcon
->
setIcon
(
QIcon
(
":/
M
VKChat.png"
));
// Set Tray Icon Context Menu
QMenu
*
tray_menu
=
new
QMenu
(
this
);
QAction
*
closeAppAction
=
new
QAction
(
tr
(
"Quit VK Messenger"
),
this
);
QAction
*
closeAppAction
=
new
QAction
(
tr
(
"Quit
M
VK Messenger"
),
this
);
connect
(
closeAppAction
,
SIGNAL
(
triggered
()),
this
,
SLOT
(
close
()));
tray_menu
->
addAction
(
closeAppAction
);
...
...
Редактирование
Предварительный просмотр
Поддерживает Markdown
0%
Попробовать снова
или
прикрепить новый файл
.
Отмена
You are about to add
0
people
to the discussion. Proceed with caution.
Сначала завершите редактирование этого сообщения!
Отмена
Пожалуйста,
зарегистрируйтесь
или
войдите
чтобы прокомментировать