summaryrefslogtreecommitdiff
path: root/sc/uiconfig/scalc/ui/protectsheetdlg.ui
diff options
context:
space:
mode:
Diffstat (limited to 'sc/uiconfig/scalc/ui/protectsheetdlg.ui')
-rw-r--r--sc/uiconfig/scalc/ui/protectsheetdlg.ui95
1 files changed, 79 insertions, 16 deletions
diff --git a/sc/uiconfig/scalc/ui/protectsheetdlg.ui b/sc/uiconfig/scalc/ui/protectsheetdlg.ui
index 1a10eeae2c07..85f021b0d4de 100644
--- a/sc/uiconfig/scalc/ui/protectsheetdlg.ui
+++ b/sc/uiconfig/scalc/ui/protectsheetdlg.ui
@@ -1,13 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.18.3 -->
+<!-- Generated with glade 3.22.1 -->
<interface domain="sc">
<requires lib="gtk+" version="3.18"/>
- <requires lib="LibreOffice" version="1.0"/>
+ <object class="GtkTreeStore" id="liststore1">
+ <columns>
+ <!-- column-name check1 -->
+ <column type="gboolean"/>
+ <!-- column-name text -->
+ <column type="gchararray"/>
+ <!-- column-name id -->
+ <column type="gchararray"/>
+ <!-- column-name checkvis1 -->
+ <column type="gboolean"/>
+ </columns>
+ </object>
<object class="GtkDialog" id="ProtectSheetDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
<property name="title" translatable="yes" context="protectsheetdlg|ProtectSheetDialog">Protect Sheet</property>
+ <property name="modal">True</property>
+ <property name="default_width">0</property>
+ <property name="default_height">0</property>
<property name="type_hint">dialog</property>
+ <child>
+ <placeholder/>
+ </child>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1">
<property name="can_focus">False</property>
@@ -144,7 +161,9 @@
<property name="can_focus">True</property>
<property name="hexpand">True</property>
<property name="visibility">False</property>
+ <property name="activates_default">True</property>
<property name="width_chars">24</property>
+ <property name="input_purpose">password</property>
</object>
<packing>
<property name="left_attach">1</property>
@@ -157,7 +176,9 @@
<property name="can_focus">True</property>
<property name="hexpand">True</property>
<property name="visibility">False</property>
+ <property name="activates_default">True</property>
<property name="width_chars">24</property>
+ <property name="input_purpose">password</property>
</object>
<packing>
<property name="left_attach">1</property>
@@ -192,7 +213,7 @@
<property name="can_focus">False</property>
<property name="label" translatable="yes" context="protectsheetdlg|label4">Allow all users of this sheet to:</property>
<property name="use_underline">True</property>
- <property name="mnemonic_widget">checklist:border</property>
+ <property name="mnemonic_widget">checklist</property>
<property name="xalign">0</property>
</object>
<packing>
@@ -202,13 +223,55 @@
</packing>
</child>
<child>
- <object class="svxcorelo-SvxCheckListBox" id="checklist:border">
+ <object class="GtkScrolledWindow">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
- <child internal-child="selection">
- <object class="GtkTreeSelection" id="Checked Tree List-selection1"/>
+ <property name="hscrollbar_policy">never</property>
+ <property name="vscrollbar_policy">never</property>
+ <property name="shadow_type">in</property>
+ <child>
+ <object class="GtkTreeView" id="checklist">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="hexpand">True</property>
+ <property name="vexpand">True</property>
+ <property name="model">liststore1</property>
+ <property name="headers_visible">False</property>
+ <property name="search_column">0</property>
+ <property name="show_expanders">False</property>
+ <child internal-child="selection">
+ <object class="GtkTreeSelection" id="Macro Library List-selection2"/>
+ </child>
+ <child>
+ <object class="GtkTreeViewColumn" id="treeviewcolumn4">
+ <property name="resizable">True</property>
+ <property name="spacing">6</property>
+ <property name="alignment">0.5</property>
+ <child>
+ <object class="GtkCellRendererToggle" id="cellrenderer5"/>
+ <attributes>
+ <attribute name="visible">3</attribute>
+ <attribute name="active">0</attribute>
+ </attributes>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkTreeViewColumn" id="treeviewcolumn5">
+ <property name="resizable">True</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkCellRendererText" id="cellrenderer4"/>
+ <attributes>
+ <attribute name="text">1</attribute>
+ </attributes>
+ </child>
+ </object>
+ </child>
+ </object>
</child>
</object>
<packing>
@@ -235,10 +298,10 @@
</packing>
</child>
<child>
- <object class="GtkLabel" id="unprotected">
+ <object class="GtkLabel" id="delete-rows">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes" context="protectsheetdlg|unprotected">Select unprotected cells</property>
+ <property name="label" translatable="yes" context="protectsheetdlg|delete-rows">Delete rows</property>
</object>
<packing>
<property name="expand">False</property>
@@ -247,10 +310,10 @@
</packing>
</child>
<child>
- <object class="GtkLabel" id="insert-columns">
+ <object class="GtkLabel" id="insert-rows">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes" context="protectsheetdlg|insert-columns">Insert columns</property>
+ <property name="label" translatable="yes" context="protectsheetdlg|insert-rows">Insert rows</property>
</object>
<packing>
<property name="expand">False</property>
@@ -259,10 +322,10 @@
</packing>
</child>
<child>
- <object class="GtkLabel" id="insert-rows">
+ <object class="GtkLabel" id="unprotected">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes" context="protectsheetdlg|insert-rows">Insert rows</property>
+ <property name="label" translatable="yes" context="protectsheetdlg|unprotected">Select unprotected cells</property>
</object>
<packing>
<property name="expand">False</property>
@@ -271,10 +334,10 @@
</packing>
</child>
<child>
- <object class="GtkLabel" id="delete-columns">
+ <object class="GtkLabel" id="insert-columns">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes" context="protectsheetdlg|delete-columns">Delete columns</property>
+ <property name="label" translatable="yes" context="protectsheetdlg|insert-columns">Insert columns</property>
</object>
<packing>
<property name="expand">False</property>
@@ -283,10 +346,10 @@
</packing>
</child>
<child>
- <object class="GtkLabel" id="delete-rows">
+ <object class="GtkLabel" id="delete-columns">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes" context="protectsheetdlg|delete-rows">Delete rows</property>
+ <property name="label" translatable="yes" context="protectsheetdlg|delete-columns">Delete columns</property>
</object>
<packing>
<property name="expand">False</property>