]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blob - src/ui.rcs/browserwindowui.rc
c0e5a196febaec95eeb999728fe8e947ef196bc7
[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         </Menu>
38
39         <!-- View. -->
40         <Menu name="view">
41             <Action name="zoom_default" append="view_zoom_merge" />
42
43             <Action name="reload_and_bypass_cache" />
44
45             <Separator />
46
47             <Action name="view_source" />
48             <Action name="view_source_in_new_tab" />
49         </Menu>
50
51         <!-- On-the-fly Settings. -->
52         <Menu name="on_the_fly_settings"> <text>On-The-Fly Settings</text>
53             <Action name="javascript" />
54             <Action name="local_storage" />
55             <Action name="dom_storage" />
56
57             <Menu name="user_agent">
58                 <Action name="user_agent_privacy_browser" />
59                 <Action name="user_agent_webengine_default" />
60                 <Action name="user_agent_firefox_linux" />
61                 <Action name="user_agent_chromium_linux" />
62                 <Action name="user_agent_firefox_windows" />
63                 <Action name="user_agent_chrome_windows" />
64                 <Action name="user_agent_edge_windows" />
65                 <Action name="user_agent_safari_macos" />
66                 <Action name="user_agent_custom" />
67             </Menu>
68
69             <Action name="zoom_factor" />
70
71             <Separator />
72
73             <Menu name="search_engine">
74                 <Action name="search_engine_mojeek" />
75                 <Action name="search_engine_monocles" />
76                 <Action name="search_engine_metager" />
77                 <Action name="search_engine_google" />
78                 <Action name="search_engine_bing" />
79                 <Action name="search_engine_yahoo" />
80                 <Action name="search_engine_custom" />
81             </Menu>
82         </Menu>
83
84         <!-- Bookmarks. -->
85         <Menu name="bookmarks">
86             <Action name="view_bookmarks_toolbar" />
87
88             <Separator />
89         </Menu>
90
91         <!-- Settings. -->
92         <Menu name="settings">
93             <Action name="domain_settings" />
94             <Action name="cookies" />
95         </Menu>
96     </MenuBar>
97
98     <!-- The main toolbar is removed. -->
99     <ToolBar name="mainToolBar" deleted="true" />
100
101     <!-- The navigation toolbar. -->
102     <ToolBar name="navigation_toolbar" iconText="icononly"> <text>Navigation Toolbar</text>
103         <Action name="go_back" />
104         <Action name="go_forward" />
105         <Action name="view_redisplay" />
106         <Action name="go_home" />
107     </ToolBar>
108
109     <!-- The URL toolbar. -->
110     <ToolBar name="url_toolbar" iconText="icononly"> <text>URL Toolbar</text>
111         <Action name="javascript" />
112         <Action name="local_storage" />
113         <Action name="dom_storage" />
114         <Action name="edit_find_next" />
115         <Action name="edit_find_prev" />
116         <Action name="find_case_sensitive" />
117         <Action name="hide_find_actions" />
118     </ToolBar>
119
120     <!-- The bookmarks toolbar. -->
121     <ToolBar name="bookmarks_toolbar" iconText="icontextright" newline="true" hidden="true"> <text>Bookmarks Toolbar</text> </ToolBar>
122 </gui>