]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blob - src/ui.rcs/browserwindowui.rc
Add view page source controls. https://redmine.stoutner.com/issues/1022
[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="reload_and_bypass_cache" />
42
43             <Separator />
44
45             <Action name="view_source" />
46             <Action name="view_source_in_new_tab" />
47         </Menu>
48
49         <!-- On-the-fly Settings. -->
50         <Menu name="on_the_fly_settings"> <text>On-The-Fly Settings</text>
51             <Menu name="user_agent">
52                 <Action name="user_agent_privacy_browser" />
53                 <Action name="user_agent_webengine_default" />
54                 <Action name="user_agent_firefox_linux" />
55                 <Action name="user_agent_chromium_linux" />
56                 <Action name="user_agent_firefox_windows" />
57                 <Action name="user_agent_chrome_windows" />
58                 <Action name="user_agent_edge_windows" />
59                 <Action name="user_agent_safari_macos" />
60                 <Action name="user_agent_custom" />
61             </Menu>
62
63             <Action name="zoom_factor" />
64
65             <Separator />
66
67             <Menu name="search_engine">
68                 <Action name="search_engine_mojeek" />
69                 <Action name="search_engine_monocles" />
70                 <Action name="search_engine_metager" />
71                 <Action name="search_engine_google" />
72                 <Action name="search_engine_bing" />
73                 <Action name="search_engine_yahoo" />
74                 <Action name="search_engine_custom" />
75             </Menu>
76         </Menu>
77
78         <!-- Settings. -->
79         <Menu name="settings">
80             <Action name="domain_settings" />
81             <Action name="cookies" />
82         </Menu>
83     </MenuBar>
84
85     <!-- The main toolbar is removed. -->
86     <ToolBar name="mainToolBar" deleted="true" />
87
88     <!-- The navigation toolbar. -->
89     <ToolBar name="navigation_toolbar" iconText="icononly"> <text>Navigation Toolbar</text>
90         <Action name="go_back" />
91         <Action name="go_forward" />
92         <Action name="view_redisplay" />
93         <Action name="go_home" />
94     </ToolBar>
95
96     <!-- The URL toolbar. -->
97     <ToolBar name="url_toolbar" iconText="icononly"> <text>URL Toolbar</text>
98         <Action name="javascript" />
99         <Action name="local_storage" />
100         <Action name="dom_storage" />
101         <Action name="edit_find_next" />
102         <Action name="edit_find_prev" />
103         <Action name="find_case_sensitive" />
104         <Action name="hide_find_actions" />
105     </ToolBar>
106 </gui>