summaryrefslogtreecommitdiffstats
path: root/kspread/dialogs/protection_cell_format.ui
blob: c9c3eb7aff40ca8f7d39e9a0d62eaa2f419f8334 (plain)
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
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>ProtectionTab</class>
<widget class="TQWidget">
    <property name="name">
        <cstring>ProtectionTab</cstring>
    </property>
    <property name="geometry">
        <rect>
            <x>0</x>
            <y>0</y>
            <width>250</width>
            <height>187</height>
        </rect>
    </property>
    <property name="whatsThis" stdset="0">
        <string>This tab enables you to set Cell Protection. All cells are protected by default (that means cell content cannot be changed) and for the cell protection to be active you also need to protect the sheet using the Tools -&gt; Protect Document -&gt; Protect Sheet... menu and to provide a password.
You can also hide the cell formula in order to protect the way you calculate the formula. This also needs to enable shet protection to work.
You can hide the cell content with Hide all and again this needs sheet protection.
You can learn more about all these settings in the User Manual in the Advanced KSpread chapter.</string>
    </property>
    <grid>
        <property name="name">
            <cstring>unnamed</cstring>
        </property>
        <widget class="TQGroupBox" row="1" column="0">
            <property name="name">
                <cstring>groupBox2</cstring>
            </property>
            <property name="title">
                <string>Printing</string>
            </property>
            <grid>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <widget class="TQCheckBox" row="0" column="0">
                    <property name="name">
                        <cstring>m_bDontPrint</cstring>
                    </property>
                    <property name="text">
                        <string>&amp;Do not print text</string>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>If checked, the content of the cell will not be printed. If this is not checked (default), the cell content will be printed.
Note that you can print it even if the cell is protected</string>
                    </property>
                </widget>
            </grid>
        </widget>
        <widget class="TQGroupBox" row="0" column="0">
            <property name="name">
                <cstring>groupBox1</cstring>
            </property>
            <property name="title">
                <string>Protection</string>
            </property>
            <grid>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <widget class="TQLayoutWidget" row="0" column="0">
                    <property name="name">
                        <cstring>layout12</cstring>
                    </property>
                    <vbox>
                        <property name="name">
                            <cstring>unnamed</cstring>
                        </property>
                        <widget class="TQCheckBox">
                            <property name="name">
                                <cstring>m_bHideAll</cstring>
                            </property>
                            <property name="text">
                                <string>Hide &amp;all</string>
                            </property>
                            <property name="whatsThis" stdset="0">
                                <string>This hides the cell content and works only when the sheet is protected. Whether the cell itself is protected or not does not matter.</string>
                            </property>
                        </widget>
                        <widget class="TQLayoutWidget">
                            <property name="name">
                                <cstring>layout11</cstring>
                            </property>
                            <hbox>
                                <property name="name">
                                    <cstring>unnamed</cstring>
                                </property>
                                <spacer>
                                    <property name="name">
                                        <cstring>spacer3</cstring>
                                    </property>
                                    <property name="orientation">
                                        <enum>Horizontal</enum>
                                    </property>
                                    <property name="sizeType">
                                        <enum>Fixed</enum>
                                    </property>
                                    <property name="sizeHint">
                                        <size>
                                            <width>30</width>
                                            <height>21</height>
                                        </size>
                                    </property>
                                </spacer>
                                <widget class="TQCheckBox">
                                    <property name="name">
                                        <cstring>m_bIsProtected</cstring>
                                    </property>
                                    <property name="text">
                                        <string>&amp;Protected</string>
                                    </property>
                                    <property name="checked">
                                        <bool>true</bool>
                                    </property>
                                    <property name="whatsThis" stdset="0">
                                        <string>If checked, the cell content will be protected. This is the default behaviour. You need to protect the whole sheet using theTools-&gt;Protect document-&gt;Protect Sheet... menu for this individual cell protection to work. See the manual for more details in the Advanced KSpread chapter. When a cell is protected, its content cannot be changed.</string>
                                    </property>
                                </widget>
                            </hbox>
                        </widget>
                        <widget class="TQLayoutWidget">
                            <property name="name">
                                <cstring>layout10</cstring>
                            </property>
                            <hbox>
                                <property name="name">
                                    <cstring>unnamed</cstring>
                                </property>
                                <spacer>
                                    <property name="name">
                                        <cstring>spacer4</cstring>
                                    </property>
                                    <property name="orientation">
                                        <enum>Horizontal</enum>
                                    </property>
                                    <property name="sizeType">
                                        <enum>Fixed</enum>
                                    </property>
                                    <property name="sizeHint">
                                        <size>
                                            <width>30</width>
                                            <height>20</height>
                                        </size>
                                    </property>
                                </spacer>
                                <widget class="TQCheckBox">
                                    <property name="name">
                                        <cstring>m_bHideFormula</cstring>
                                    </property>
                                    <property name="text">
                                        <string>&amp;Hide formula</string>
                                    </property>
                                    <property name="whatsThis" stdset="0">
                                        <string>When this is checked, the cell is still visible. However, its contents do not appear in the Formula bar. Hiding formula is only working for cells that contain formulae so the user cannot view the formula. And the sheet must be protected for this to work.</string>
                                    </property>
                                </widget>
                            </hbox>
                        </widget>
                    </vbox>
                </widget>
            </grid>
        </widget>
    </grid>
</widget>
<connections>
  <connection>
    <sender>m_bHideAll</sender>
    <signal>toggled(bool)</signal>
    <receiver>m_bIsProtected</receiver>
    <slot>setDisabled(bool)</slot>
  </connection>
  <connection>
    <sender>m_bHideAll</sender>
    <signal>toggled(bool)</signal>
    <receiver>m_bHideFormula</receiver>
    <slot>setDisabled(bool)</slot>
  </connection>
</connections>
<layoutdefaults spacing="6" margin="11"/>
</UI>