File: kolourpaintui.rc

package info (click to toggle)
kolourpaint 4:18.04.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 14,544 kB
  • sloc: cpp: 37,589; xml: 327; sh: 10; makefile: 6
file content (228 lines) | stat: -rw-r--r-- 7,619 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
<!--
SYNC: Do not change the number of quotes before the version number
      - it is parsed by the KolourPaint wrapper shell script (in standalone
      backport releases of KolourPaint)
-->
<gui name="kolourpaint" version="75">

<!--
SYNC: Check for duplicate actions in menus caused by some of our actions
      being added to ui_standards.rc.  Makes me wonder why we are using
      merging in the first place.
-->

<MenuBar>
    <Menu name="file">
        <!-- <Action name="file_new_window" append="new_merge" /> -->

        <Action name="file_scan" append="open_merge" />
        <Action name="file_screenshot" append="open_merge" />
        <Separator append="open_merge" />
        <Action name="file_properties" append="open_merge" />

        <Action name="file_export" append="save_merge" />
        <Separator append="save_merge" />
    </Menu>

    <Menu name="edit">
        <Action name="edit_paste_in_new_window" append="edit_paste_merge" />

        <Action name="edit_copy_to_file" />
        <Action name="edit_paste_from_file" />
    </Menu>

    <!-- SRC: ui_standards.rc v10 (KDE 3.3) -->
    <Menu name="view" noMerge="1"><text>&amp;View</text>
        <Action name="view_actual_size"/>
        <Action name="view_fit_to_page"/>
        <Action name="view_fit_to_width"/>
        <Action name="view_fit_to_height"/>

        <Separator />

        <!-- <MergeLocal name="view_zoom_merge"/> -->
        <Action name="view_zoom_out"/>

        <!-- Changed from "view_zoom" to allow custom ordering of zoom
             actions in "mainToolBar" (which has a hardcoded position for
             "view_zoom").
          -->
        <Action name="view_zoom_to"/>

        <Action name="view_zoom_in"/>

        <WeakSeparator/>

        <Action name="view_redisplay"/>

        <Separator/>

        <!-- <MergeLocal/> -->
        <Action name="view_show_grid" />
        <Action name="view_show_thumbnail" />

        <Separator/>

        <Action name="view_zoomed_thumbnail" />
        <Action name="view_show_thumbnail_rectangle" />
    </Menu>

    <Menu name="image"><text>&amp;Image</text>
        <Action name="image_crop" />
        <Action name="image_auto_crop" />
        <Separator />
        <Action name="image_resize_scale" />
        <Action name="image_flip" />
        <Action name="image_mirror" />
        <Separator />
        <Action name="image_rotate_270deg" />
        <Action name="image_rotate_90deg" />
        <Action name="image_rotate" />
        <Separator />
        <Action name="image_skew" />
        <Separator />
        <Action name="image_convert_to_black_and_white" />
        <Action name="image_convert_to_grayscale" />
        <Action name="image_make_confidential" />
        <Action name="image_more_effects" />
        <Separator />
        <Action name="image_invert_colors" />
        <Action name="image_clear" />
        <Separator />
        <!-- Implemented in kpMainWindow_Tools.cpp, not kpImageWindow_Image.cpp
             since they're really setting tool options. -->
        <Action name="image_draw_opaque" />
        <Action name="image_draw_color_similarity" />
    </Menu>

    <Menu name="colors"><text>&amp;Colors</text>
        <Action name="colors_default" />
        <Action name="colors_kde" />
        <Action name="colors_open" />
        <Separator />
        <Action name="colors_save" />
        <Action name="colors_save_as" />
        <Separator />
        <Action name="colors_reload" />
        <Separator />
        <Action name="colors_append_row" />
        <Action name="colors_delete_row" />
    </Menu>

    <Menu name="settings">
        <Action name="settings_show_path" append="show_merge" />
        <Action name="settings_draw_antialiased" append="show_merge" />
    </Menu>

    <!-- HACK: See kpmainwindow.cpp:kpMainWindow::createGUI(). -->
    <Menu name="toolToolBarHiddenMenu">
        <Action name="tool_brush" />
        <Action name="tool_color_eraser" />
        <Action name="tool_color_picker" />
        <Action name="tool_curve" />
        <Action name="tool_ellipse" />
        <Action name="tool_elliptical_selection" />
        <Action name="tool_eraser" />
        <Action name="tool_flood_fill" />
        <Action name="tool_free_form_selection" />
        <Action name="tool_line" />
        <Action name="tool_pen" />
        <Action name="tool_polygon" />
        <Action name="tool_polyline" />
        <Action name="tool_rectangle" />
        <Action name="tool_rect_selection" />
        <Action name="tool_rounded_rectangle" />
        <Action name="tool_spraycan" />
        <Action name="tool_text" />
        <Action name="tool_zoom" />

        <Action name="prev_tool_option_group_1" />
        <Action name="next_tool_option_group_1" />
        <Action name="prev_tool_option_group_2" />
        <Action name="next_tool_option_group_2" />
    </Menu>
</MenuBar>

<ToolBar name="mainToolBar" index="1" noMerge="1"><text>Main Toolbar</text>
    <Action name="file_new" />
    <Action name="file_open" />
    <Action name="file_save" />
    <Separator />

    <Action name="edit_undo" />
    <Action name="edit_redo" />
    <Separator />

    <Action name="view_zoom_out" />
    <Action name="view_zoom_to" />
    <Action name="view_zoom_in" />
</ToolBar>

<ToolBar name="textToolBar" fullWidth="false" position="top" iconText="icononly" hidden="true"><text>Text Toolbar</text>
    <Action name="text_font_family" />
    <Action name="text_font_size" />
    <Separator />
    <Action name="text_bold" />
    <Action name="text_italic" />
    <Action name="text_underline" />
    <Action name="text_strike_thru" />
</ToolBar>

<Menu name="selectionToolRMBMenu"><text>Selection Tool RMB Menu</text>
    <!-- SRC: ui_standards.rc v10 (KDE 3.3) -->
    <!-- <Menu name="edit"><text>&amp;Edit</text> -->

        <!-- <Action name="edit_undo"/>
        <Action name="edit_redo"/>
        <MergeLocal name="edit_undo_merge"/>
        <Separator/> -->
        <Action name="edit_cut"/>
        <Action name="edit_copy"/>
        <Action name="edit_paste"/>
        <!-- CUSTOM -->  <!-- <Action name="edit_paste_in_new_window" /> -->
        <MergeLocal name="edit_paste_merge"/>
        <Action name="edit_clear"/>
        <!-- <Separator/> -->
        <Action name="edit_select_all"/>
        <!-- <Action name="edit_deselect"/>  -->
        <MergeLocal name="edit_select_merge"/>
        <Separator/>
        <Action name="edit_find"/>
        <Action name="edit_find_next"/>
        <Action name="edit_find_last"/>
        <Action name="edit_replace"/>
        <MergeLocal name="edit_find_merge"/>
        <Separator/>
        <!-- CUSTOM -->  <Action name="edit_copy_to_file" />
        <!-- CUSTOM -->  <Action name="edit_paste_from_file" />
        <MergeLocal/>

    <!-- </Menu> -->


    <Separator/>


    <!-- <Menu name="image"><text>&amp;Image</text> -->

        <Action name="image_crop" />
        <!-- <Action name="image_auto_crop" /> -->
        <Separator />
        <Action name="image_resize_scale" />
        <Action name="image_flip" />
        <Action name="image_mirror" />
        <Action name="image_rotate" />
        <Action name="image_skew" />
        <Separator />
        <!-- <Action name="image_convert_to_black_and_white" /> -->
        <!-- <Action name="image_convert_to_grayscale" /> -->
        <!-- <Action name="image_more_effects" />  -->
        <!-- <Separator /> -->
        <Action name="image_invert_colors" />
        <!-- <Action name="image_clear" /> -->

    <!-- </Menu> -->
</Menu>

</gui>