diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-12-24 11:54:49 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-12-24 14:45:55 +0000 |
commit | d27095e5505b9411beea27e6ec7c4fc0f7374537 (patch) | |
tree | e18c3362538ea7a3e466f81ff26fe54ccb471081 /cui | |
parent | 46205b2e4c16938a158cf3b2ae16107e34ff7793 (diff) |
convert Hangul/Hanja Options dialog to .ui
Change-Id: I7e715cb2294de79a8c9453663f0cd0193f5d70fd
Diffstat (limited to 'cui')
-rw-r--r-- | cui/UIConfig_cui.mk | 1 | ||||
-rw-r--r-- | cui/source/dialogs/hangulhanjadlg.cxx | 101 | ||||
-rw-r--r-- | cui/source/dialogs/hangulhanjadlg.src | 93 | ||||
-rw-r--r-- | cui/source/inc/cuires.hrc | 1 | ||||
-rw-r--r-- | cui/source/inc/hangulhanjadlg.hxx | 20 | ||||
-rw-r--r-- | cui/source/inc/helpid.hrc | 2 | ||||
-rw-r--r-- | cui/uiconfig/ui/hangulhanjaoptdialog.ui | 291 |
7 files changed, 349 insertions, 160 deletions
diff --git a/cui/UIConfig_cui.mk b/cui/UIConfig_cui.mk index 8679be2dc1b0..d2bb6c60b723 100644 --- a/cui/UIConfig_cui.mk +++ b/cui/UIConfig_cui.mk @@ -48,6 +48,7 @@ $(eval $(call gb_UIConfig_add_uifiles,cui,\ cui/uiconfig/ui/gallerythemeiddialog \ cui/uiconfig/ui/gallerytitledialog \ cui/uiconfig/ui/hangulhanjaadddialog \ + cui/uiconfig/ui/hangulhanjaoptdialog \ cui/uiconfig/ui/hatchpage \ cui/uiconfig/ui/hyphenate \ cui/uiconfig/ui/insertfloatingframe \ diff --git a/cui/source/dialogs/hangulhanjadlg.cxx b/cui/source/dialogs/hangulhanjadlg.cxx index d6fa7ddf96a9..dd244e0dc3cb 100644 --- a/cui/source/dialogs/hangulhanjadlg.cxx +++ b/cui/source/dialogs/hangulhanjadlg.cxx @@ -934,7 +934,7 @@ namespace svx } m_aDictList.clear(); - m_aDictsLB.Clear(); + m_pDictsLB->Clear(); Reference< XNameContainer > xNameCont = m_xConversionDictionaryList->getDictionaryContainer(); if( xNameCont.is() ) @@ -974,12 +974,12 @@ namespace svx while( nCnt ) { Reference< XConversionDictionary > xDict = m_aDictList[ n ]; - SvTreeListEntry* pEntry = m_aDictsLB.SvTreeListBox::GetEntry( n ); + SvTreeListEntry* pEntry = m_pDictsLB->SvTreeListBox::GetEntry( n ); DBG_ASSERT( xDict.is(), "-HangulHanjaOptionsDialog::OkHdl(): someone is evaporated..." ); DBG_ASSERT( pEntry, "-HangulHanjaOptionsDialog::OkHdl(): no one there in list?" ); - bool bActive = m_aDictsLB.GetCheckButtonState( pEntry ) == SV_BUTTON_CHECKED; + bool bActive = m_pDictsLB->GetCheckButtonState( pEntry ) == SV_BUTTON_CHECKED; xDict->setActive( bActive ); Reference< util::XFlushable > xFlush( xDict, uno::UNO_QUERY ); if( xFlush.is() ) @@ -1002,13 +1002,13 @@ namespace svx aTmp <<= aActiveDics; aLngCfg.SetProperty( UPH_ACTIVE_CONVERSION_DICTIONARIES, aTmp ); - aTmp <<= bool( m_aIgnorepostCB.IsChecked() ); + aTmp <<= bool( m_pIgnorepostCB->IsChecked() ); aLngCfg.SetProperty( UPH_IS_IGNORE_POST_POSITIONAL_WORD, aTmp ); - aTmp <<= bool( m_aShowrecentlyfirstCB.IsChecked() ); + aTmp <<= bool( m_pShowrecentlyfirstCB->IsChecked() ); aLngCfg.SetProperty( UPH_IS_SHOW_ENTRIES_RECENTLY_USED_FIRST, aTmp ); - aTmp <<= bool( m_aAutoreplaceuniqueCB.IsChecked() ); + aTmp <<= bool( m_pAutoreplaceuniqueCB->IsChecked() ); aLngCfg.SetProperty( UPH_IS_AUTO_REPLACE_UNIQUE_ENTRIES, aTmp ); EndDialog( RET_OK ); @@ -1017,10 +1017,10 @@ namespace svx IMPL_LINK_NOARG(HangulHanjaOptionsDialog, DictsLB_SelectHdl) { - bool bSel = m_aDictsLB.FirstSelected() != NULL; + bool bSel = m_pDictsLB->FirstSelected() != NULL; - m_aEditPB.Enable( bSel ); - m_aDeletePB.Enable( bSel ); + m_pEditPB->Enable(bSel); + m_pDeletePB->Enable(bSel); return 0; } @@ -1060,11 +1060,11 @@ namespace svx IMPL_LINK_NOARG(HangulHanjaOptionsDialog, EditDictHdl) { - SvTreeListEntry* pEntry = m_aDictsLB.FirstSelected(); + SvTreeListEntry* pEntry = m_pDictsLB->FirstSelected(); DBG_ASSERT( pEntry, "+HangulHanjaEditDictDialog::EditDictHdl(): call of edit should not be possible with no selection!" ); if( pEntry ) { - HangulHanjaEditDictDialog aEdDlg( this, m_aDictList, m_aDictsLB.GetSelectEntryPos() ); + HangulHanjaEditDictDialog aEdDlg( this, m_aDictList, m_pDictsLB->GetSelectEntryPos() ); aEdDlg.Execute(); } return 0L; @@ -1072,7 +1072,7 @@ namespace svx IMPL_LINK_NOARG(HangulHanjaOptionsDialog, DeleteDictHdl) { - sal_uInt16 nSelPos = m_aDictsLB.GetSelectEntryPos(); + sal_uInt16 nSelPos = m_pDictsLB->GetSelectEntryPos(); if( nSelPos != LISTBOX_ENTRY_NOTFOUND ) { Reference< XConversionDictionary > xDic( m_aDictList[ nSelPos ] ); @@ -1087,7 +1087,7 @@ namespace svx //adapt local caches: m_aDictList.erase(m_aDictList.begin()+nSelPos ); - m_aDictsLB.RemoveEntry(nSelPos); + m_pDictsLB->RemoveEntry(nSelPos); } catch( const ElementExistException& ) { @@ -1102,65 +1102,62 @@ namespace svx return 0L; } - HangulHanjaOptionsDialog::HangulHanjaOptionsDialog( Window* _pParent ) - :ModalDialog ( _pParent, CUI_RES( RID_SVX_MDLG_HANGULHANJA_OPT ) ) - ,m_aUserdefdictFT ( this, CUI_RES( FT_USERDEFDICT ) ) - ,m_aDictsLB ( this, CUI_RES( LB_DICTS ) ) - ,m_aOptionsFL ( this, CUI_RES( FL_OPTIONS ) ) - ,m_aIgnorepostCB ( this, CUI_RES( CB_IGNOREPOST ) ) - ,m_aShowrecentlyfirstCB ( this, CUI_RES( CB_SHOWRECENTLYFIRST ) ) - ,m_aAutoreplaceuniqueCB ( this, CUI_RES( CB_AUTOREPLACEUNIQUE ) ) - ,m_aNewPB ( this, CUI_RES( PB_HHO_NEW ) ) - ,m_aEditPB ( this, CUI_RES( PB_HHO_EDIT ) ) - ,m_aDeletePB ( this, CUI_RES( PB_HHO_DELETE ) ) - ,m_aOkPB ( this, CUI_RES( PB_HHO_OK ) ) - ,m_aCancelPB ( this, CUI_RES( PB_HHO_CANCEL ) ) - ,m_aHelpPB ( this, CUI_RES( PB_HHO_HELP ) ) - - ,m_pCheckButtonData ( NULL ) - ,m_xConversionDictionaryList( NULL ) - { - m_aDictsLB.SetStyle( m_aDictsLB.GetStyle() | WB_CLIPCHILDREN | WB_HSCROLL | WB_FORCE_MAKEVISIBLE ); - m_aDictsLB.SetSelectionMode( SINGLE_SELECTION ); - m_aDictsLB.SetHighlightRange(); - m_aDictsLB.SetSelectHdl( LINK( this, HangulHanjaOptionsDialog, DictsLB_SelectHdl ) ); - m_aDictsLB.SetDeselectHdl( LINK( this, HangulHanjaOptionsDialog, DictsLB_SelectHdl ) ); - - m_aOkPB.SetClickHdl( LINK( this, HangulHanjaOptionsDialog, OkHdl ) ); - m_aNewPB.SetClickHdl( LINK( this, HangulHanjaOptionsDialog, NewDictHdl ) ); - m_aEditPB.SetClickHdl( LINK( this, HangulHanjaOptionsDialog, EditDictHdl ) ); - m_aDeletePB.SetClickHdl( LINK( this, HangulHanjaOptionsDialog, DeleteDictHdl ) ); - - FreeResource(); + HangulHanjaOptionsDialog::HangulHanjaOptionsDialog(Window* _pParent) + : ModalDialog( _pParent, "HangulHanjaOptDialog", + "cui/ui/hangulhanjaoptdialog.ui" ) + , m_pCheckButtonData(NULL) + , m_xConversionDictionaryList(NULL) + { + get(m_pDictsLB, "dicts"); + get(m_pIgnorepostCB, "ignorepost"); + get(m_pShowrecentlyfirstCB, "showrecentfirst"); + get(m_pAutoreplaceuniqueCB, "autoreplaceunique"); + get(m_pNewPB, "new"); + get(m_pEditPB, "edit"); + get(m_pDeletePB, "delete"); + get(m_pOkPB, "ok"); + + m_pDictsLB->set_height_request(m_pDictsLB->GetTextHeight() * 5); + m_pDictsLB->set_width_request(m_pDictsLB->approximate_char_width() * 32); + m_pDictsLB->SetStyle( m_pDictsLB->GetStyle() | WB_CLIPCHILDREN | WB_HSCROLL | WB_FORCE_MAKEVISIBLE ); + m_pDictsLB->SetSelectionMode( SINGLE_SELECTION ); + m_pDictsLB->SetHighlightRange(); + m_pDictsLB->SetSelectHdl( LINK( this, HangulHanjaOptionsDialog, DictsLB_SelectHdl ) ); + m_pDictsLB->SetDeselectHdl( LINK( this, HangulHanjaOptionsDialog, DictsLB_SelectHdl ) ); + + m_pOkPB->SetClickHdl( LINK( this, HangulHanjaOptionsDialog, OkHdl ) ); + m_pNewPB->SetClickHdl( LINK( this, HangulHanjaOptionsDialog, NewDictHdl ) ); + m_pEditPB->SetClickHdl( LINK( this, HangulHanjaOptionsDialog, EditDictHdl ) ); + m_pDeletePB->SetClickHdl( LINK( this, HangulHanjaOptionsDialog, DeleteDictHdl ) ); SvtLinguConfig aLngCfg; Any aTmp; bool bVal = bool(); aTmp = aLngCfg.GetProperty( UPH_IS_IGNORE_POST_POSITIONAL_WORD ); if( aTmp >>= bVal ) - m_aIgnorepostCB.Check( bVal ); + m_pIgnorepostCB->Check( bVal ); aTmp = aLngCfg.GetProperty( UPH_IS_SHOW_ENTRIES_RECENTLY_USED_FIRST ); if( aTmp >>= bVal ) - m_aShowrecentlyfirstCB.Check( bVal ); + m_pShowrecentlyfirstCB->Check( bVal ); aTmp = aLngCfg.GetProperty( UPH_IS_AUTO_REPLACE_UNIQUE_ENTRIES ); if( aTmp >>= bVal ) - m_aAutoreplaceuniqueCB.Check( bVal ); + m_pAutoreplaceuniqueCB->Check( bVal ); Init(); } HangulHanjaOptionsDialog::~HangulHanjaOptionsDialog() { - SvTreeListEntry* pEntry = m_aDictsLB.First(); + SvTreeListEntry* pEntry = m_pDictsLB->First(); OUString* pDel; while( pEntry ) { pDel = ( OUString* ) pEntry->GetUserData(); if( pDel ) delete pDel; - pEntry = m_aDictsLB.Next( pEntry ); + pEntry = m_pDictsLB->Next( pEntry ); } if( m_pCheckButtonData ) @@ -1169,8 +1166,8 @@ namespace svx void HangulHanjaOptionsDialog::AddDict( const OUString& _rName, bool _bChecked ) { - SvTreeListEntry* pEntry = m_aDictsLB.SvTreeListBox::InsertEntry( _rName ); - m_aDictsLB.SetCheckButtonState( pEntry, _bChecked? SV_BUTTON_CHECKED : SV_BUTTON_UNCHECKED ); + SvTreeListEntry* pEntry = m_pDictsLB->SvTreeListBox::InsertEntry( _rName ); + m_pDictsLB->SetCheckButtonState( pEntry, _bChecked? SV_BUTTON_CHECKED : SV_BUTTON_UNCHECKED ); pEntry->SetUserData( new OUString( _rName ) ); } @@ -1647,8 +1644,8 @@ namespace svx bool bNew = bHaveValidOriginalString && m_pSuggestions && m_pSuggestions->GetCount() > 0; bNew = bNew && (m_bModifiedSuggestions || m_bModifiedOriginal); - m_aNewPB.Enable( bNew ); - m_aDeletePB.Enable( !m_bModifiedOriginal && bHaveValidOriginalString ); + m_aNewPB.Enable(bNew); + m_aDeletePB.Enable(!m_bModifiedOriginal && bHaveValidOriginalString); } void HangulHanjaEditDictDialog::UpdateSuggestions( void ) diff --git a/cui/source/dialogs/hangulhanjadlg.src b/cui/source/dialogs/hangulhanjadlg.src index eb71de1ea26b..a915ab3a6898 100644 --- a/cui/source/dialogs/hangulhanjadlg.src +++ b/cui/source/dialogs/hangulhanjadlg.src @@ -179,99 +179,6 @@ ModalDialog RID_SVX_MDLG_HANGULHANJA }; }; -ModalDialog RID_SVX_MDLG_HANGULHANJA_OPT -{ - OutputSize = TRUE ; - Hide = TRUE ; - SVLook = TRUE ; - HelpId = HID_HANGULHANJA_OPT_DLG; - Pos = MAP_APPFONT ( 0 , 0 ) ; - Size = MAP_APPFONT ( HHO_DLGWIDTH , HHx_DLGHIGHT ) ; - Text [ en-US ] = "Hangul/Hanja Options" ; - Moveable = TRUE ; - Closeable = TRUE ; - - FixedText FT_USERDEFDICT - { - Pos = MAP_APPFONT ( HHO_COL_1 , HHO_ROW_1 ) ; - Size = MAP_APPFONT ( HHO_COL_2 - HHO_COL_1, 8 ) ; - Text[ en-US ] = "User-defined dictionaries"; - }; - Control LB_DICTS - { - Pos = MAP_APPFONT ( HHO_COL_1 , HHO_ROW_2 ) ; - Size = MAP_APPFONT ( HHO_COL_2 - HHO_COL_1 , HHO_ROW_7 - HHO_ROW_2 ) ; - HelpId = HID_HANGULHANJA_OPT_DICTS_LB; - TabStop = TRUE; - Border = TRUE; - }; - FixedLine FL_OPTIONS - { - Pos = MAP_APPFONT ( HHO_COL_1 , HHO_ROW_8 ) ; - Size = MAP_APPFONT ( HHO_COL_4 - HHO_COL_1, 8 ) ; - Text[ en-US ] = "Options"; - }; - CheckBox CB_IGNOREPOST - { - HelpID = "cui:CheckBox:RID_SVX_MDLG_HANGULHANJA_OPT:CB_IGNOREPOST"; - Pos = MAP_APPFONT ( HHO_COL_1a, HHO_ROW_9 ) ; - Size = MAP_APPFONT ( HHO_COL_6 - HHO_COL_1a , 12 ) ; - Text[ en-US ] = "Ignore post-positional word"; - }; - CheckBox CB_SHOWRECENTLYFIRST - { - HelpID = "cui:CheckBox:RID_SVX_MDLG_HANGULHANJA_OPT:CB_SHOWRECENTLYFIRST"; - Pos = MAP_APPFONT ( HHO_COL_1a, HHO_ROW_11 ) ; - Size = MAP_APPFONT ( HHO_COL_6 - HHO_COL_1a , 12 ) ; - Text [ en-US ] = "Show recently used entries first"; - }; - CheckBox CB_AUTOREPLACEUNIQUE - { - HelpID = "cui:CheckBox:RID_SVX_MDLG_HANGULHANJA_OPT:CB_AUTOREPLACEUNIQUE"; - Pos = MAP_APPFONT ( HHO_COL_1a, HHO_ROW_12 ) ; - Size = MAP_APPFONT ( HHO_COL_6 - HHO_COL_1a , 12 ) ; - Text [ en-US ] = "Replace all unique entries automatically"; - }; - PushButton PB_HHO_NEW - { - HelpID = "cui:PushButton:RID_SVX_MDLG_HANGULHANJA_OPT:PB_HHO_NEW"; - Pos = MAP_APPFONT ( HHO_COL_3 , HHO_ROW_2 ) ; - Size = MAP_APPFONT ( HHO_COL_4 - HHO_COL_3 , 14 ) ; - Text [ en-US ] = "New..."; - }; - PushButton PB_HHO_EDIT - { - HelpID = "cui:PushButton:RID_SVX_MDLG_HANGULHANJA_OPT:PB_HHO_EDIT"; - Pos = MAP_APPFONT ( HHO_COL_3 , HHO_ROW_4 ) ; - Size = MAP_APPFONT ( HHO_COL_4 - HHO_COL_3 , 14 ) ; - Text [ en-US ] = "Edit..."; - }; - PushButton PB_HHO_DELETE - { - HelpID = "cui:PushButton:RID_SVX_MDLG_HANGULHANJA_OPT:PB_HHO_DELETE"; - Pos = MAP_APPFONT ( HHO_COL_3 , HHO_ROW_6 ) ; - Size = MAP_APPFONT ( HHO_COL_4 - HHO_COL_3 , 14 ) ; - Text [ en-US ] = "Delete"; - }; - OKButton PB_HHO_OK - { - DefButton = TRUE; - Pos = MAP_APPFONT ( HHO_COL_5 , HHO_ROW_a1 ) ; - Size = MAP_APPFONT ( HHO_COL_6 - HHO_COL_5 , 14 ) ; - }; - CancelButton PB_HHO_CANCEL - { - Pos = MAP_APPFONT ( HHO_COL_5 , HHO_ROW_a3 ) ; - Size = MAP_APPFONT ( HHO_COL_6 - HHO_COL_5 , 14 ) ; - }; - HelpButton PB_HHO_HELP - { - Pos = MAP_APPFONT ( HHO_COL_5 , HHO_ROW_a5 ) ; - Size = MAP_APPFONT ( HHO_COL_6 - HHO_COL_5 , 14 ) ; - }; - -}; - ModalDialog RID_SVX_MDLG_HANGULHANJA_EDIT { OutputSize = TRUE ; diff --git a/cui/source/inc/cuires.hrc b/cui/source/inc/cuires.hrc index da21280a0c94..b2801cee3738 100644 --- a/cui/source/inc/cuires.hrc +++ b/cui/source/inc/cuires.hrc @@ -221,7 +221,6 @@ // hangulhanja #define RID_SVX_MDLG_HANGULHANJA (RID_SVX_START + 1 ) -#define RID_SVX_MDLG_HANGULHANJA_OPT ( RID_SVX_START + 4 ) #define RID_SVX_MDLG_HANGULHANJA_EDIT ( RID_SVX_START + 5 ) // icon choice diff --git a/cui/source/inc/hangulhanjadlg.hxx b/cui/source/inc/hangulhanjadlg.hxx index e072888acf89..4536197ff661 100644 --- a/cui/source/inc/hangulhanjadlg.hxx +++ b/cui/source/inc/hangulhanjadlg.hxx @@ -199,18 +199,14 @@ namespace svx class HangulHanjaOptionsDialog : public ModalDialog { private: - FixedText m_aUserdefdictFT; - SvxCheckListBox m_aDictsLB; - FixedLine m_aOptionsFL; - CheckBox m_aIgnorepostCB; - CheckBox m_aShowrecentlyfirstCB; - CheckBox m_aAutoreplaceuniqueCB; - PushButton m_aNewPB; - PushButton m_aEditPB; - PushButton m_aDeletePB; - OKButton m_aOkPB; - CancelButton m_aCancelPB; - HelpButton m_aHelpPB; + SvxCheckListBox* m_pDictsLB; + CheckBox* m_pIgnorepostCB; + CheckBox* m_pShowrecentlyfirstCB; + CheckBox* m_pAutoreplaceuniqueCB; + PushButton* m_pNewPB; + PushButton* m_pEditPB; + PushButton* m_pDeletePB; + OKButton* m_pOkPB; SvLBoxButtonData* m_pCheckButtonData; diff --git a/cui/source/inc/helpid.hrc b/cui/source/inc/helpid.hrc index 11bbf69bb77f..858c57205389 100644 --- a/cui/source/inc/helpid.hrc +++ b/cui/source/inc/helpid.hrc @@ -192,9 +192,7 @@ #define HID_MACRO_GROUP "CUI_HID_MACRO_GROUP" #define HID_MACRO_MACROS "CUI_HID_MACRO_MACROS" #define HID_DIALOG_HANGULHANJA "CUI_HID_DIALOG_HANGULHANJA" -#define HID_HANGULHANJA_OPT_DLG "CUI_HID_HANGULHANJA_OPT_DLG" #define HID_HANGULHANJA_EDIT_DLG "CUI_HID_HANGULHANJA_EDIT_DLG" -#define HID_HANGULHANJA_OPT_DICTS_LB "CUI_HID_HANGULHANJA_OPT_DICTS_LB" #define HID_MULTIPATH "CUI_HID_MULTIPATH" #define HID_TPHATCH_CTRL "CUI_HID_TPHATCH_CTRL" #define HID_SEARCHATTR_CTL_ATTR "CUI_HID_SEARCHATTR_CTL_ATTR" diff --git a/cui/uiconfig/ui/hangulhanjaoptdialog.ui b/cui/uiconfig/ui/hangulhanjaoptdialog.ui new file mode 100644 index 000000000000..c2b4e0e34523 --- /dev/null +++ b/cui/uiconfig/ui/hangulhanjaoptdialog.ui @@ -0,0 +1,291 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 3.0 --> + <object class="GtkDialog" id="HangulHanjaOptDialog"> + <property name="can_focus">False</property> + <property name="border_width">6</property> + <property name="title" translatable="yes">Hangul/Hanja 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="orientation">vertical</property> + <property name="spacing">12</property> + <child internal-child="action_area"> + <object class="GtkButtonBox" id="dialog-action_area1"> + <property name="can_focus">False</property> + <property name="layout_style">end</property> + <child> + <object class="GtkButton" id="ok"> + <property name="label">gtk-ok</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_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="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</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="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</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="GtkGrid" id="grid1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="row_spacing">6</property> + <child> + <object class="GtkFrame" id="frame1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="vexpand">True</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="GtkGrid" id="grid2"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="column_spacing">12</property> + <child> + <object class="GtkButtonBox" id="buttonbox1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <property name="layout_style">start</property> + <child> + <object class="GtkButton" id="new"> + <property name="label" translatable="yes">New...</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_underline">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="edit"> + <property name="label" translatable="yes">Edit...</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">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="delete"> + <property name="label">gtk-delete</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</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="left_attach">1</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="svxcorelo-SvxCheckListBox" id="dicts:border"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + </object> + </child> + </object> + </child> + <child type="label"> + <object class="GtkLabel" id="label1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">User-defined dictionaries</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <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="alignment2"> + <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="GtkGrid" id="grid3"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="row_spacing">6</property> + <child> + <object class="GtkCheckButton" id="ignorepost"> + <property name="label" translatable="yes">Ignore post-positional wordIgnore post-positional word</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="use_underline">True</property> + <property name="xalign">0</property> + <property name="draw_indicator">True</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkCheckButton" id="showrecentfirst"> + <property name="label" translatable="yes">Show recently used entries first</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="xalign">0</property> + <property name="draw_indicator">True</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkCheckButton" id="autoreplaceunique"> + <property name="label" translatable="yes">Replace all unique entries automatically</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="xalign">0</property> + <property name="draw_indicator">True</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">2</property> + <property name="width">1</property> + <property name="height">1</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">Options</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</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> |