]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blob - src/ui.rcs/browserwindowui.rc
f16913b6f2927149e10a42ee2f729f9eeb0bb0ca
[PrivacyBrowserPC.git] / src / ui.rcs / browserwindowui.rc
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4   Copyright 2022-2023 Soren Stoutner <soren@stoutner.com>.
5
6   This file is part of Privacy Browser PC <https://www.stoutner.com/privacy-browser-pc>.
7
8   Privacy Browser PC is free software: you can redistribute it and/or modify
9   it under the terms of the GNU General Public License as published by
10   the Free Software Foundation, either version 3 of the License, or
11   (at your option) any later version.
12
13   Privacy Browser PC is distributed in the hope that it will be useful,
14   but WITHOUT ANY WARRANTY; without even the implied warranty of
15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16   GNU General Public License for more details.
17
18   You should have received a copy of the GNU General Public License
19   along with Privacy Browser PC.  If not, see <http://www.gnu.org/licenses/>. -->
20
21 <!-- Documentation at <https://techbase.kde.org/Development/Architecture/KDE4/XMLGUI_Technology>. -->
22 <!-- Better documentation at <https://invent.kde.org/frameworks/kxmlgui/-/blob/master/src/kxmlgui.xsd>. -->
23 <!-- This file interacts with the default template located at /etc/xdg/ui/ui_standards.rc, which is part of the libkf5xmlgui-data package. -->
24 <gui
25     name="privacybrowser"
26     version="1"
27     xmlns="http://www.kde.org/standards/kxmlgui/1.0"
28     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
29     xsi:schemaLocation="http://www.kde.org/standards/kxmlgui/1.0 http://www.kde.org/standards/kxmlgui/1.0/kxmlgui.xsd" >
30
31     <!-- The menu bar. -->
32     <MenuBar>
33         <!-- File. -->
34         <Menu name="file">
35             <Action name="new_tab" append="new_merge" />
36             <Action name="new_window" append="new_merge" />
37
38             <Action name="save_archive" append="save_merge" />
39         </Menu>
40
41         <!-- View. -->
42         <Menu name="view">
43             <Action name="zoom_default" append="view_zoom_merge" />
44
45             <Action name="reload_and_bypass_cache" />
46
47             <Separator />
48
49             <Action name="view_source" />
50             <Action name="view_source_in_new_tab" />
51             <Action name="developer_tools" />
52         </Menu>
53
54         <!-- On-the-fly Settings. -->
55         <Menu name="on_the_fly_settings"> <text>On-The-Fly Settings</text>
56             <Action name="javascript" />
57             <Action name="local_storage" />
58             <Action name="dom_storage" />
59
60             <Menu name="user_agent">
61                 <Action name="user_agent_privacy_browser" />
62                 <Action name="user_agent_webengine_default" />
63                 <Action name="user_agent_firefox_linux" />
64                 <Action name="user_agent_chromium_linux" />
65                 <Action name="user_agent_firefox_windows" />
66                 <Action name="user_agent_chrome_windows" />
67                 <Action name="user_agent_edge_windows" />
68                 <Action name="user_agent_safari_macos" />
69                 <Action name="user_agent_custom" />
70             </Menu>
71
72             <Action name="zoom_factor" />
73
74             <Separator />
75
76             <Menu name="search_engine">
77                 <Action name="search_engine_mojeek" />
78                 <Action name="search_engine_monocles" />
79                 <Action name="search_engine_metager" />
80                 <Action name="search_engine_google" />
81                 <Action name="search_engine_bing" />
82                 <Action name="search_engine_yahoo" />
83                 <Action name="search_engine_custom" />
84             </Menu>
85         </Menu>
86
87         <!-- Bookmarks. -->
88         <Menu name="bookmarks">
89             <Action name="view_bookmarks_toolbar" />
90
91             <Separator />
92         </Menu>
93
94         <!-- Settings. -->
95         <Menu name="settings">
96             <Action name="domain_settings" />
97             <Action name="cookies" />
98         </Menu>
99     </MenuBar>
100
101     <!-- The main toolbar is removed. -->
102     <ToolBar name="mainToolBar" deleted="true" />
103
104     <!-- The navigation toolbar. -->
105     <ToolBar name="navigation_toolbar" iconText="icononly"> <text>Navigation Toolbar</text>
106         <Action name="go_back" />
107         <Action name="go_forward" />
108         <Action name="view_redisplay" />
109         <Action name="go_home" />
110     </ToolBar>
111
112     <!-- The URL toolbar. -->
113     <ToolBar name="url_toolbar" iconText="icononly"> <text>URL Toolbar</text>
114         <Action name="javascript" />
115         <Action name="local_storage" />
116         <Action name="dom_storage" />
117         <Action name="edit_find_next" />
118         <Action name="edit_find_prev" />
119         <Action name="find_case_sensitive" />
120         <Action name="hide_find_actions" />
121     </ToolBar>
122
123     <!-- The bookmarks toolbar. The newline aspect of this doesn't currently work. -->
124     <ToolBar name="bookmarks_toolbar" iconText="icontextright" newline="true" hidden="true"> <text>Bookmarks Toolbar</text> </ToolBar>
125 </gui>