summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorAlbert Thuswaldner <albert.thuswaldner@gmail.com>2013-04-08 17:25:17 +0200
committerCaolán McNamara <caolanm@redhat.com>2013-04-10 14:17:13 +0100
commit88cf2853462b7eb14bfef77b5ad9f3e22397c36b (patch)
tree39cacf46089ba0dcfdab25427497bc945f3a819a /sc
parent9b7a69d6e65572f04cfb47797c749e944544da0e (diff)
Convert scalc delete contents dialog to .ui
Change-Id: I1c84fe3c57fdd72880b16a2d69aa44cda0fc4f4f
Diffstat (limited to 'sc')
-rw-r--r--sc/UI_scalc.mk1
-rw-r--r--sc/source/ui/inc/delcodlg.hxx23
-rw-r--r--sc/source/ui/inc/miscdlgs.hrc11
-rw-r--r--sc/source/ui/miscdlgs/delcodlg.cxx104
-rw-r--r--sc/source/ui/src/miscdlgs.src101
-rw-r--r--sc/uiconfig/scalc/ui/deletecontents.ui279
6 files changed, 337 insertions, 182 deletions
diff --git a/sc/UI_scalc.mk b/sc/UI_scalc.mk
index 7dcec5872d34..f7c13f09f7dd 100644
--- a/sc/UI_scalc.mk
+++ b/sc/UI_scalc.mk
@@ -12,6 +12,7 @@ $(eval $(call gb_UI_UI,modules/scalc))
$(eval $(call gb_UI_add_uifiles,modules/scalc,\
sc/uiconfig/scalc/ui/cellprotectionpage \
sc/uiconfig/scalc/ui/definename \
+ sc/uiconfig/scalc/ui/deletecontents \
sc/uiconfig/scalc/ui/formatcellsdialog \
sc/uiconfig/scalc/ui/insertname \
sc/uiconfig/scalc/ui/insertsheet \
diff --git a/sc/source/ui/inc/delcodlg.hxx b/sc/source/ui/inc/delcodlg.hxx
index 2034ec946a82..1cb48823b8bc 100644
--- a/sc/source/ui/inc/delcodlg.hxx
+++ b/sc/source/ui/inc/delcodlg.hxx
@@ -21,7 +21,6 @@
#define SC_DELCODLG_HXX
#include <vcl/dialog.hxx>
-#include <vcl/fixed.hxx>
#include <vcl/button.hxx>
#include "global.hxx"
@@ -30,18 +29,15 @@
class ScDeleteContentsDlg : public ModalDialog
{
private:
- FixedLine aFlFrame;
- CheckBox aBtnDelAll;
- CheckBox aBtnDelStrings;
- CheckBox aBtnDelNumbers;
- CheckBox aBtnDelDateTime;
- CheckBox aBtnDelFormulas;
- CheckBox aBtnDelNotes;
- CheckBox aBtnDelAttrs;
- CheckBox aBtnDelObjects;
- OKButton aBtnOk;
- CancelButton aBtnCancel;
- HelpButton aBtnHelp;
+ CheckBox* aBtnDelAll;
+ CheckBox* aBtnDelStrings;
+ CheckBox* aBtnDelNumbers;
+ CheckBox* aBtnDelDateTime;
+ CheckBox* aBtnDelFormulas;
+ CheckBox* aBtnDelNotes;
+ CheckBox* aBtnDelAttrs;
+ CheckBox* aBtnDelObjects;
+ OKButton* aBtnOk;
sal_Bool bObjectsDisabled;
@@ -63,5 +59,4 @@ public:
#endif // SC_DELCODLG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/miscdlgs.hrc b/sc/source/ui/inc/miscdlgs.hrc
index b11a51738da0..e98582fd66b4 100644
--- a/sc/source/ui/inc/miscdlgs.hrc
+++ b/sc/source/ui/inc/miscdlgs.hrc
@@ -19,7 +19,6 @@
#include "sc.hrc" // -> RID_SCDLG_DELCELL
// -> RID_SCDLG_INSCELL
- // -> RID_SCDLG_DELCONT
// -> RID_SCDLG_INSCONT
// -> RID_SCDLG_MOVETAB
// -> RID_SCDLG_STRINPUT
@@ -49,15 +48,7 @@
#define BTN_INSROWS 16
#define BTN_INSCOLS 17
-// Insert/Delete Contents Dialog
-#define BTN_DELALL 10
-#define BTN_DELSTRINGS 11
-#define BTN_DELNUMBERS 12
-#define BTN_DELDATETIME 13
-#define BTN_DELFORMULAS 14
-#define BTN_DELATTRS 15
-#define BTN_DELNOTES 16
-#define BTN_DELOBJECTS 17
+// Insert Contents Dialog
#define BTN_INSALL 20
#define BTN_INSSTRINGS 21
#define BTN_INSNUMBERS 22
diff --git a/sc/source/ui/miscdlgs/delcodlg.cxx b/sc/source/ui/miscdlgs/delcodlg.cxx
index 6f65d502aed2..5a4673ce6687 100644
--- a/sc/source/ui/miscdlgs/delcodlg.cxx
+++ b/sc/source/ui/miscdlgs/delcodlg.cxx
@@ -17,11 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#undef SC_DLLIMPLEMENTATION
-
-
//------------------------------------------------------------------
#include "delcodlg.hxx"
@@ -40,50 +37,45 @@ sal_uInt16 ScDeleteContentsDlg::nPreviousChecks = (IDF_DATETIME | IDF_STRING
ScDeleteContentsDlg::ScDeleteContentsDlg( Window* pParent,
sal_uInt16 nCheckDefaults ) :
- ModalDialog ( pParent, ScResId( RID_SCDLG_DELCONT ) ),
+ ModalDialog ( pParent, "DeleteContentsDialog", "modules/scalc/ui/deletecontents.ui" ),
//
- aFlFrame ( this, ScResId( FL_FRAME ) ),
- aBtnDelAll ( this, ScResId( BTN_DELALL ) ),
- aBtnDelStrings ( this, ScResId( BTN_DELSTRINGS ) ),
- aBtnDelNumbers ( this, ScResId( BTN_DELNUMBERS ) ),
- aBtnDelDateTime ( this, ScResId( BTN_DELDATETIME ) ),
- aBtnDelFormulas ( this, ScResId( BTN_DELFORMULAS ) ),
- aBtnDelNotes ( this, ScResId( BTN_DELNOTES ) ),
- aBtnDelAttrs ( this, ScResId( BTN_DELATTRS ) ),
- aBtnDelObjects ( this, ScResId( BTN_DELOBJECTS ) ),
- aBtnOk ( this, ScResId( BTN_OK ) ),
- aBtnCancel ( this, ScResId( BTN_CANCEL ) ),
- aBtnHelp ( this, ScResId( BTN_HELP ) ),
bObjectsDisabled( false )
{
+ get( aBtnDelAll, "deleteall" );
+ get( aBtnDelStrings, "text" );
+ get( aBtnDelNumbers, "numbers" );
+ get( aBtnDelDateTime, "datetime" );
+ get( aBtnDelFormulas, "formulas" );
+ get( aBtnDelNotes, "comments" );
+ get( aBtnDelAttrs, "formats" );
+ get( aBtnDelObjects, "objects" );
+ get( aBtnOk, "ok" );
+
if ( nCheckDefaults != 0 )
{
ScDeleteContentsDlg::nPreviousChecks = nCheckDefaults;
ScDeleteContentsDlg::bPreviousAllCheck = false;
}
- aBtnDelAll.Check ( ScDeleteContentsDlg::bPreviousAllCheck );
- aBtnDelStrings.Check ( IS_SET( IDF_STRING,
+ aBtnDelAll->Check ( ScDeleteContentsDlg::bPreviousAllCheck );
+ aBtnDelStrings->Check ( IS_SET( IDF_STRING,
ScDeleteContentsDlg::nPreviousChecks ) );
- aBtnDelNumbers.Check ( IS_SET( IDF_VALUE,
+ aBtnDelNumbers->Check ( IS_SET( IDF_VALUE,
ScDeleteContentsDlg::nPreviousChecks ) );
- aBtnDelDateTime.Check( IS_SET( IDF_DATETIME,
+ aBtnDelDateTime->Check( IS_SET( IDF_DATETIME,
ScDeleteContentsDlg::nPreviousChecks ) );
- aBtnDelFormulas.Check( IS_SET( IDF_FORMULA,
+ aBtnDelFormulas->Check( IS_SET( IDF_FORMULA,
ScDeleteContentsDlg::nPreviousChecks ) );
- aBtnDelNotes.Check ( IS_SET( IDF_NOTE,
+ aBtnDelNotes->Check ( IS_SET( IDF_NOTE,
ScDeleteContentsDlg::nPreviousChecks ) );
- aBtnDelAttrs.Check ( IS_SET( IDF_ATTRIB,
+ aBtnDelAttrs->Check ( IS_SET( IDF_ATTRIB,
ScDeleteContentsDlg::nPreviousChecks ) );
- aBtnDelObjects.Check ( IS_SET( IDF_OBJECTS,
+ aBtnDelObjects->Check ( IS_SET( IDF_OBJECTS,
ScDeleteContentsDlg::nPreviousChecks ) );
- DisableChecks( aBtnDelAll.IsChecked() );
+ DisableChecks( aBtnDelAll->IsChecked() );
- aBtnDelAll.SetClickHdl( LINK( this, ScDeleteContentsDlg, DelAllHdl ) );
-
- //-------------
- FreeResource();
+ aBtnDelAll->SetClickHdl( LINK( this, ScDeleteContentsDlg, DelAllHdl ) );
}
//------------------------------------------------------------------------
@@ -92,22 +84,22 @@ sal_uInt16 ScDeleteContentsDlg::GetDelContentsCmdBits() const
{
ScDeleteContentsDlg::nPreviousChecks = 0;
- if ( aBtnDelStrings.IsChecked() )
+ if ( aBtnDelStrings->IsChecked() )
ScDeleteContentsDlg::nPreviousChecks = IDF_STRING;
- if ( aBtnDelNumbers.IsChecked() )
+ if ( aBtnDelNumbers->IsChecked() )
ScDeleteContentsDlg::nPreviousChecks |= IDF_VALUE;
- if ( aBtnDelDateTime.IsChecked())
+ if ( aBtnDelDateTime->IsChecked())
ScDeleteContentsDlg::nPreviousChecks |= IDF_DATETIME;
- if ( aBtnDelFormulas.IsChecked())
+ if ( aBtnDelFormulas->IsChecked())
ScDeleteContentsDlg::nPreviousChecks |= IDF_FORMULA;
- if ( aBtnDelNotes.IsChecked() )
+ if ( aBtnDelNotes->IsChecked() )
ScDeleteContentsDlg::nPreviousChecks |= IDF_NOTE;
- if ( aBtnDelAttrs.IsChecked() )
+ if ( aBtnDelAttrs->IsChecked() )
ScDeleteContentsDlg::nPreviousChecks |= IDF_ATTRIB;
- if ( aBtnDelObjects.IsChecked() )
+ if ( aBtnDelObjects->IsChecked() )
ScDeleteContentsDlg::nPreviousChecks |= IDF_OBJECTS;
- ScDeleteContentsDlg::bPreviousAllCheck = aBtnDelAll.IsChecked();
+ ScDeleteContentsDlg::bPreviousAllCheck = aBtnDelAll->IsChecked();
return ( (ScDeleteContentsDlg::bPreviousAllCheck)
? IDF_ALL
@@ -120,26 +112,26 @@ void ScDeleteContentsDlg::DisableChecks( sal_Bool bDelAllChecked )
{
if ( bDelAllChecked )
{
- aBtnDelStrings.Disable();
- aBtnDelNumbers.Disable();
- aBtnDelDateTime.Disable();
- aBtnDelFormulas.Disable();
- aBtnDelNotes.Disable();
- aBtnDelAttrs.Disable();
- aBtnDelObjects.Disable();
+ aBtnDelStrings->Disable();
+ aBtnDelNumbers->Disable();
+ aBtnDelDateTime->Disable();
+ aBtnDelFormulas->Disable();
+ aBtnDelNotes->Disable();
+ aBtnDelAttrs->Disable();
+ aBtnDelObjects->Disable();
}
else
{
- aBtnDelStrings.Enable();
- aBtnDelNumbers.Enable();
- aBtnDelDateTime.Enable();
- aBtnDelFormulas.Enable();
- aBtnDelNotes.Enable();
- aBtnDelAttrs.Enable();
+ aBtnDelStrings->Enable();
+ aBtnDelNumbers->Enable();
+ aBtnDelDateTime->Enable();
+ aBtnDelFormulas->Enable();
+ aBtnDelNotes->Enable();
+ aBtnDelAttrs->Enable();
if (bObjectsDisabled)
- aBtnDelObjects.Disable();
+ aBtnDelObjects->Disable();
else
- aBtnDelObjects.Enable();
+ aBtnDelObjects->Enable();
}
}
@@ -148,15 +140,15 @@ void ScDeleteContentsDlg::DisableChecks( sal_Bool bDelAllChecked )
void ScDeleteContentsDlg::DisableObjects()
{
bObjectsDisabled = sal_True;
- aBtnDelObjects.Check(false);
- aBtnDelObjects.Disable();
+ aBtnDelObjects->Check(false);
+ aBtnDelObjects->Disable();
}
//------------------------------------------------------------------------
IMPL_LINK_NOARG_INLINE_START(ScDeleteContentsDlg, DelAllHdl)
{
- DisableChecks( aBtnDelAll.IsChecked() );
+ DisableChecks( aBtnDelAll->IsChecked() );
return 0;
}
@@ -166,6 +158,4 @@ ScDeleteContentsDlg::~ScDeleteContentsDlg()
{
}
-
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/src/miscdlgs.src b/sc/source/ui/src/miscdlgs.src
index e3ab40603e44..8dcf44a558b3 100644
--- a/sc/source/ui/src/miscdlgs.src
+++ b/sc/source/ui/src/miscdlgs.src
@@ -155,107 +155,6 @@ ModalDialog RID_SCDLG_INSCELL
};
};
-ModalDialog RID_SCDLG_DELCONT
-{
- OutputSize = TRUE ;
- HelpId = CMD_SID_DELETE ;
- SVLook = TRUE ;
- Size = MAP_APPFONT ( 161 , 130 ) ;
- Text [ en-US ] = "Delete Contents" ;
- Moveable = TRUE ;
- Closeable = FALSE ;
- OKButton BTN_OK
- {
- Pos = MAP_APPFONT ( 105 , 6 ) ;
- Size = MAP_APPFONT ( 50 , 14 ) ;
- TabStop = TRUE ;
- DefButton = TRUE ;
- };
- CancelButton BTN_CANCEL
- {
- Pos = MAP_APPFONT ( 105 , 23 ) ;
- Size = MAP_APPFONT ( 50 , 14 ) ;
- TabStop = TRUE ;
- };
- HelpButton BTN_HELP
- {
- Pos = MAP_APPFONT ( 105 , 43 ) ;
- Size = MAP_APPFONT ( 50 , 14 ) ;
- TabStop = TRUE ;
- };
- CheckBox BTN_DELALL
- {
- HelpID = "sc:CheckBox:RID_SCDLG_DELCONT:BTN_DELALL";
- Pos = MAP_APPFONT ( 12 , 14 ) ;
- Size = MAP_APPFONT ( 83 , 10 ) ;
- Text [ en-US ] = "Delete ~all" ;
- TabStop = TRUE ;
- };
- CheckBox BTN_DELSTRINGS
- {
- HelpID = "sc:CheckBox:RID_SCDLG_DELCONT:BTN_DELSTRINGS";
- Pos = MAP_APPFONT ( 12 , 30 ) ;
- Size = MAP_APPFONT ( 83 , 10 ) ;
- Text [ en-US ] = "~Text" ;
- TabStop = TRUE ;
- };
- CheckBox BTN_DELNUMBERS
- {
- HelpID = "sc:CheckBox:RID_SCDLG_DELCONT:BTN_DELNUMBERS";
- Pos = MAP_APPFONT ( 12 , 44 ) ;
- Size = MAP_APPFONT ( 83 , 10 ) ;
- Text [ en-US ] = "~Numbers" ;
- TabStop = TRUE ;
- };
- CheckBox BTN_DELDATETIME
- {
- HelpID = "sc:CheckBox:RID_SCDLG_DELCONT:BTN_DELDATETIME";
- Pos = MAP_APPFONT ( 12 , 58 ) ;
- Size = MAP_APPFONT ( 83 , 10 ) ;
- Text [ en-US ] = "~Date & time" ;
- TabStop = TRUE ;
- };
- CheckBox BTN_DELFORMULAS
- {
- HelpID = "sc:CheckBox:RID_SCDLG_DELCONT:BTN_DELFORMULAS";
- Pos = MAP_APPFONT ( 12 , 72 ) ;
- Size = MAP_APPFONT ( 83 , 10 ) ;
- Text [ en-US ] = "~Formulas" ;
- TabStop = TRUE ;
- };
- CheckBox BTN_DELATTRS
- {
- HelpID = "sc:CheckBox:RID_SCDLG_DELCONT:BTN_DELATTRS";
- Pos = MAP_APPFONT ( 12 , 100 ) ;
- Size = MAP_APPFONT ( 83 , 10 ) ;
- Text [ en-US ] = "For~mats" ;
- TabStop = TRUE ;
- };
- CheckBox BTN_DELNOTES
- {
- HelpID = "sc:CheckBox:RID_SCDLG_DELCONT:BTN_DELNOTES";
- Pos = MAP_APPFONT ( 12 , 86 ) ;
- Size = MAP_APPFONT ( 83 , 10 ) ;
- Text [ en-US ] = "~Comments" ;
- TabStop = TRUE ;
- };
- CheckBox BTN_DELOBJECTS
- {
- HelpID = "sc:CheckBox:RID_SCDLG_DELCONT:BTN_DELOBJECTS";
- Pos = MAP_APPFONT ( 12 , 114 ) ;
- Size = MAP_APPFONT ( 83 , 10 ) ;
- Text [ en-US ] = "~Objects" ;
- TabStop = TRUE ;
- };
- FixedLine FL_FRAME
- {
- Pos = MAP_APPFONT ( 6 , 3 ) ;
- Size = MAP_APPFONT ( 93 , 8 ) ;
- Text [ en-US ] = "Selection" ;
- };
-};
-
-
ModalDialog RID_SCDLG_INSCONT
{
OutputSize = TRUE ;
diff --git a/sc/uiconfig/scalc/ui/deletecontents.ui b/sc/uiconfig/scalc/ui/deletecontents.ui
new file mode 100644
index 000000000000..fd8f4e6cd23d
--- /dev/null
+++ b/sc/uiconfig/scalc/ui/deletecontents.ui
@@ -0,0 +1,279 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <!-- interface-requires gtk+ 3.0 -->
+ <object class="GtkDialog" id="DeleteContentsDialog">
+ <property name="can_focus">False</property>
+ <property name="border_width">6</property>
+ <property name="title" translatable="yes">Import Options</property>
+ <property name="type_hint">dialog</property>
+ <child internal-child="vbox">
+ <object class="GtkBox" id="dialog-vbox1">
+ <property name="can_focus">False</property>
+ <property name="spacing">2</property>
+ <child internal-child="action_area">
+ <object class="GtkButtonBox" id="dialog-action_area1">
+ <property name="can_focus">False</property>
+ <property name="orientation">vertical</property>
+ <property name="layout_style">start</property>
+ <child>
+ <object class="GtkButton" id="ok">
+ <property name="label">gtk-ok</property>
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="can_default">True</property>
+ <property name="has_default">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_stock">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="cancel">
+ <property name="label">gtk-cancel</property>
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_stock">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="help">
+ <property name="label">gtk-help</property>
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_stock">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="pack_type">end</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkBox" id="box1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="orientation">vertical</property>
+ <property name="spacing">2</property>
+ <child>
+ <object class="GtkFrame" id="frame2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">none</property>
+ <child>
+ <object class="GtkAlignment" id="alignment1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="top_padding">6</property>
+ <property name="left_padding">12</property>
+ <child>
+ <object class="GtkBox" id="box2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="orientation">vertical</property>
+ <child>
+ <object class="GtkCheckButton" id="deleteall">
+ <property name="label" translatable="yes">Delete _all</property>
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="xalign">0</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="text">
+ <property name="label" translatable="yes">_Text</property>
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="xalign">0</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="numbers">
+ <property name="label" translatable="yes">_Numbers</property>
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="xalign">0</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">3</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="datetime">
+ <property name="label" translatable="yes">_Date &amp; time</property>
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="xalign">0</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">4</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="formulas">
+ <property name="label" translatable="yes">_Formulas</property>
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="xalign">0</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">5</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="comments">
+ <property name="label" translatable="yes">_Comments</property>
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="xalign">0</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">6</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="formats">
+ <property name="label" translatable="yes">For_mats</property>
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="xalign">0</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">7</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="objects">
+ <property name="label" translatable="yes">_Objects</property>
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="xalign">0</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">8</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child type="label">
+ <object class="GtkLabel" id="label2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Selection</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ <action-widgets>
+ <action-widget response="0">ok</action-widget>
+ <action-widget response="0">cancel</action-widget>
+ <action-widget response="0">help</action-widget>
+ </action-widgets>
+ </object>
+</interface>