Kaydet (Commit) 9069a4a4 authored tarafından Caolán McNamara's avatar Caolán McNamara

convert drop down field dialog to .ui

Change-Id: If629068fee488abbad9704b8300e59ea4c5c8605
üst 7653d041
...@@ -108,7 +108,6 @@ $(eval $(call gb_SrsTarget_add_files,sw/res,\ ...@@ -108,7 +108,6 @@ $(eval $(call gb_SrsTarget_add_files,sw/res,\
sw/source/ui/envelp/labfmt.src \ sw/source/ui/envelp/labfmt.src \
sw/source/ui/envelp/labprt.src \ sw/source/ui/envelp/labprt.src \
sw/source/ui/envelp/mailmrge.src \ sw/source/ui/envelp/mailmrge.src \
sw/source/ui/fldui/DropDownFieldDialog.src \
sw/source/ui/fldui/flddb.src \ sw/source/ui/fldui/flddb.src \
sw/source/ui/fldui/flddinf.src \ sw/source/ui/fldui/flddinf.src \
sw/source/ui/fldui/flddok.src \ sw/source/ui/fldui/flddok.src \
......
...@@ -72,6 +72,7 @@ $(eval $(call gb_UIConfig_add_uifiles,modules/swriter,\ ...@@ -72,6 +72,7 @@ $(eval $(call gb_UIConfig_add_uifiles,modules/swriter,\
sw/uiconfig/swriter/ui/columnpage \ sw/uiconfig/swriter/ui/columnpage \
sw/uiconfig/swriter/ui/columnwidth \ sw/uiconfig/swriter/ui/columnwidth \
sw/uiconfig/swriter/ui/converttexttable \ sw/uiconfig/swriter/ui/converttexttable \
sw/uiconfig/swriter/ui/dropdownfielddialog \
sw/uiconfig/swriter/ui/endnotepage \ sw/uiconfig/swriter/ui/endnotepage \
sw/uiconfig/swriter/ui/editcategories \ sw/uiconfig/swriter/ui/editcategories \
sw/uiconfig/swriter/ui/editsectiondialog \ sw/uiconfig/swriter/ui/editsectiondialog \
......
...@@ -421,7 +421,6 @@ ...@@ -421,7 +421,6 @@
#define HID_MODULE_TOOLBOX "SW_HID_MODULE_TOOLBOX" #define HID_MODULE_TOOLBOX "SW_HID_MODULE_TOOLBOX"
#define HID_SECTION_INDENTS_PAGE "SW_HID_SECTION_INDENTS_PAGE" #define HID_SECTION_INDENTS_PAGE "SW_HID_SECTION_INDENTS_PAGE"
#define HID_FLD_DROPDOWN "SW_HID_FLD_DROPDOWN"
#define HID_MM_DOCSELECTPAGE "SW_HID_MM_DOCSELECTPAGE" #define HID_MM_DOCSELECTPAGE "SW_HID_MM_DOCSELECTPAGE"
#define HID_MM_OUTPUTTYPEPAGE "SW_HID_MM_OUTPUTTYPEPAGE" #define HID_MM_OUTPUTTYPEPAGE "SW_HID_MM_OUTPUTTYPEPAGE"
#define HID_MM_ADDRESSBLOCKPAGE "SW_HID_MM_ADDRESSBLOCKPAGE" #define HID_MM_ADDRESSBLOCKPAGE "SW_HID_MM_ADDRESSBLOCKPAGE"
......
...@@ -350,8 +350,9 @@ public: ...@@ -350,8 +350,9 @@ public:
const SwDBData& rData, int nResId) = 0; const SwDBData& rData, int nResId) = 0;
virtual SfxAbstractTabDialog * CreateSwFootNoteOptionDlg( Window *pParent, SwWrtShell &rSh,int nResId) = 0;//add for SwFootNoteOptionDlg virtual SfxAbstractTabDialog * CreateSwFootNoteOptionDlg( Window *pParent, SwWrtShell &rSh,int nResId) = 0;//add for SwFootNoteOptionDlg
virtual AbstractDropDownFieldDialog * CreateDropDownFieldDialog ( Window *pParent, SwWrtShell &rSh, //add for DropDownFieldDialog //add for DropDownFieldDialog
SwField* pField,int nResId, sal_Bool bNextButton = sal_False ) = 0; virtual AbstractDropDownFieldDialog * CreateDropDownFieldDialog(Window *pParent, SwWrtShell &rSh,
SwField* pField, sal_Bool bNextButton = sal_False) = 0;
virtual SfxAbstractTabDialog* CreateSwEnvDlg ( Window* pParent, const SfxItemSet& rSet, SwWrtShell* pWrtSh, Printer* pPrt, sal_Bool bInsert,int nResId ) = 0; //add for SwEnvDlg virtual SfxAbstractTabDialog* CreateSwEnvDlg ( Window* pParent, const SfxItemSet& rSet, SwWrtShell* pWrtSh, Printer* pPrt, sal_Bool bInsert,int nResId ) = 0; //add for SwEnvDlg
......
...@@ -777,23 +777,12 @@ SfxAbstractTabDialog * SwAbstractDialogFactory_Impl::CreateSwFootNoteOptionDlg( ...@@ -777,23 +777,12 @@ SfxAbstractTabDialog * SwAbstractDialogFactory_Impl::CreateSwFootNoteOptionDlg(
return 0; return 0;
} }
AbstractDropDownFieldDialog * SwAbstractDialogFactory_Impl::CreateDropDownFieldDialog ( Window *pParent, SwWrtShell &rSh, //add for DropDownFieldDialog //add for DropDownFieldDialog
SwField* pField,int nResId, sal_Bool bNextButton ) AbstractDropDownFieldDialog * SwAbstractDialogFactory_Impl::CreateDropDownFieldDialog(Window *pParent,
SwWrtShell &rSh, SwField* pField, sal_Bool bNextButton)
{ {
sw::DropDownFieldDialog* pDlg=NULL; sw::DropDownFieldDialog* pDlg = new sw::DropDownFieldDialog(pParent, rSh, pField, bNextButton);
switch ( nResId ) return new AbstractDropDownFieldDialog_Impl( pDlg );
{
case DLG_FLD_DROPDOWN :
pDlg = new sw::DropDownFieldDialog( pParent, rSh, pField, bNextButton );
break;
default:
break;
}
if ( pDlg )
return new AbstractDropDownFieldDialog_Impl( pDlg );
return 0;
} }
SfxAbstractTabDialog* SwAbstractDialogFactory_Impl::CreateSwEnvDlg ( Window* pParent, const SfxItemSet& rSet, SfxAbstractTabDialog* SwAbstractDialogFactory_Impl::CreateSwEnvDlg ( Window* pParent, const SfxItemSet& rSet,
......
...@@ -454,8 +454,9 @@ public: ...@@ -454,8 +454,9 @@ public:
const SwDBData& rData, int nResId); const SwDBData& rData, int nResId);
virtual SfxAbstractTabDialog * CreateSwFootNoteOptionDlg( Window *pParent, SwWrtShell &rSh,int nResId);//add for SwFootNoteOptionDlg virtual SfxAbstractTabDialog * CreateSwFootNoteOptionDlg( Window *pParent, SwWrtShell &rSh,int nResId);//add for SwFootNoteOptionDlg
virtual AbstractDropDownFieldDialog * CreateDropDownFieldDialog ( Window *pParent, SwWrtShell &rSh, //add for DropDownFieldDialog //add for DropDownFieldDialog
SwField* pField,int nResId, sal_Bool bNextButton = sal_False ); virtual AbstractDropDownFieldDialog * CreateDropDownFieldDialog (Window *pParent, SwWrtShell &rSh,
SwField* pField, sal_Bool bNextButton = sal_False);
virtual SfxAbstractTabDialog* CreateSwEnvDlg ( Window* pParent, const SfxItemSet& rSet, SwWrtShell* pWrtSh, Printer* pPrt, sal_Bool bInsert,int nResId ); //add for SwEnvDlg virtual SfxAbstractTabDialog* CreateSwEnvDlg ( Window* pParent, const SfxItemSet& rSet, SwWrtShell* pWrtSh, Printer* pPrt, sal_Bool bInsert,int nResId ); //add for SwEnvDlg
virtual AbstractSwLabDlg* CreateSwLabDlg ( Window* pParent, const SfxItemSet& rSet, //add for SwLabDlg virtual AbstractSwLabDlg* CreateSwLabDlg ( Window* pParent, const SfxItemSet& rSet, //add for SwLabDlg
SwNewDBMgr* pNewDBMgr, sal_Bool bLabel,int nResId ); SwNewDBMgr* pNewDBMgr, sal_Bool bLabel,int nResId );
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
#include <DropDownFieldDialog.hxx> #include <DropDownFieldDialog.hxx>
#include <flddropdown.hxx> #include <flddropdown.hxx>
#include <fldui.hrc> #include <fldui.hrc>
#include <DropDownFieldDialog.hrc>
using namespace ::com::sun::star; using namespace ::com::sun::star;
...@@ -32,36 +31,26 @@ using namespace ::com::sun::star; ...@@ -32,36 +31,26 @@ using namespace ::com::sun::star;
/*-------------------------------------------------------------------- /*--------------------------------------------------------------------
Description: edit insert-field Description: edit insert-field
--------------------------------------------------------------------*/ --------------------------------------------------------------------*/
sw::DropDownFieldDialog::DropDownFieldDialog( Window *pParent, SwWrtShell &rS, sw::DropDownFieldDialog::DropDownFieldDialog(Window *pParent, SwWrtShell &rS,
SwField* pField, sal_Bool bNextButton ) : SwField* pField, sal_Bool bNextButton)
: SvxStandardDialog(pParent, "DropdownFieldDialog",
SvxStandardDialog(pParent, SW_RES(DLG_FLD_DROPDOWN)), "modules/swriter/ui/dropdownfielddialog.ui")
aItemsFL( this, SW_RES( FL_ITEMS )), , rSh( rS )
aListItemsLB( this, SW_RES( LB_LISTITEMS )), , pDropField(0)
aOKPB( this, SW_RES( PB_OK )),
aCancelPB( this, SW_RES( PB_CANCEL )),
aNextPB( this, SW_RES( PB_NEXT )),
aHelpPB( this, SW_RES( PB_HELP )),
aEditPB( this, SW_RES( PB_EDIT )),
rSh( rS ),
pDropField(0)
{ {
get(m_pListItemsLB, "list");
m_pListItemsLB->SetDropDownLineCount(12);
m_pListItemsLB->set_width_request(m_pListItemsLB->approximate_char_width()*32);
get(m_pOKPB, "ok");
get(m_pNextPB, "next");
get(m_pEditPB, "edit");
Link aButtonLk = LINK(this, DropDownFieldDialog, ButtonHdl); Link aButtonLk = LINK(this, DropDownFieldDialog, ButtonHdl);
aEditPB.SetClickHdl(aButtonLk); m_pEditPB->SetClickHdl(aButtonLk);
if( bNextButton ) if( bNextButton )
{ {
aNextPB.Show(); m_pNextPB->Show();
aNextPB.SetClickHdl(aButtonLk); m_pNextPB->SetClickHdl(aButtonLk);
}
else
{
long nDiff = aCancelPB.GetPosPixel().Y() - aOKPB.GetPosPixel().Y();
Point aPos = aHelpPB.GetPosPixel();
aPos.Y() -= nDiff;
aHelpPB.SetPosPixel(aPos);
} }
if( RES_DROPDOWN == pField->GetTyp()->Which() ) if( RES_DROPDOWN == pField->GetTyp()->Which() )
{ {
...@@ -73,26 +62,21 @@ sw::DropDownFieldDialog::DropDownFieldDialog( Window *pParent, SwWrtShell &rS, ...@@ -73,26 +62,21 @@ sw::DropDownFieldDialog::DropDownFieldDialog( Window *pParent, SwWrtShell &rS,
uno::Sequence< OUString > aItems = pDropField->GetItemSequence(); uno::Sequence< OUString > aItems = pDropField->GetItemSequence();
const OUString* pArray = aItems.getConstArray(); const OUString* pArray = aItems.getConstArray();
for(sal_Int32 i = 0; i < aItems.getLength(); i++) for(sal_Int32 i = 0; i < aItems.getLength(); i++)
aListItemsLB.InsertEntry(pArray[i]); m_pListItemsLB->InsertEntry(pArray[i]);
aListItemsLB.SelectEntry(pDropField->GetSelectedItem()); m_pListItemsLB->SelectEntry(pDropField->GetSelectedItem());
} }
sal_Bool bEnable = !rSh.IsCrsrReadonly(); sal_Bool bEnable = !rSh.IsCrsrReadonly();
aOKPB.Enable( bEnable ); m_pOKPB->Enable( bEnable );
aListItemsLB.GrabFocus(); m_pListItemsLB->GrabFocus();
FreeResource();
}
sw::DropDownFieldDialog::~DropDownFieldDialog()
{
} }
void sw::DropDownFieldDialog::Apply() void sw::DropDownFieldDialog::Apply()
{ {
if(pDropField) if(pDropField)
{ {
OUString sSelect = aListItemsLB.GetSelectEntry(); OUString sSelect = m_pListItemsLB->GetSelectEntry();
if(pDropField->GetPar1() != sSelect) if(pDropField->GetPar1() != sSelect)
{ {
rSh.StartAllAction(); rSh.StartAllAction();
...@@ -111,7 +95,7 @@ void sw::DropDownFieldDialog::Apply() ...@@ -111,7 +95,7 @@ void sw::DropDownFieldDialog::Apply()
IMPL_LINK(sw::DropDownFieldDialog, ButtonHdl, PushButton*, pButton) IMPL_LINK(sw::DropDownFieldDialog, ButtonHdl, PushButton*, pButton)
{ {
EndDialog(&aNextPB == pButton ? RET_OK : RET_YES ); EndDialog(m_pNextPB == pButton ? RET_OK : RET_YES );
return 0; return 0;
} }
......
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef _SW_DROPDOWNFIELDDIALOG_HRC
#define _SW_DROPDOWNFIELDDIALOG_HRC
#define FL_ITEMS 1
#define LB_LISTITEMS 2
#define PB_OK 3
#define PB_CANCEL 4
#define PB_NEXT 5
#define PB_HELP 6
#define PB_EDIT 7
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "fldui.hrc"
#include "DropDownFieldDialog.hrc"
#include "helpid.h"
ModalDialog DLG_FLD_DROPDOWN
{
HelpID = HID_FLD_DROPDOWN ;
OutputSize = TRUE ;
Hide = TRUE ;
SVLook = TRUE ;
Size = MAP_APPFONT ( 194 , 119 ) ;
Text [ en-US ] = "Choose Item: " ;
Moveable = TRUE ;
FixedLine FL_ITEMS
{
Pos = MAP_APPFONT ( 6 , 3 ) ;
Size = MAP_APPFONT ( 127 , 8 ) ;
Text [ en-US ] = "Edit" ;
};
ListBox LB_LISTITEMS
{
HelpID = "sw:ListBox:DLG_FLD_DROPDOWN:LB_LISTITEMS";
Border = TRUE ;
Pos = MAP_APPFONT ( 12 , 14 ) ;
Size = MAP_APPFONT ( 115 , 99 ) ;
TabStop = TRUE ;
Sort = FALSE ;
AutoHScroll = TRUE ;
};
OKButton PB_OK
{
Pos = MAP_APPFONT ( 139 , 6 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
TabStop = TRUE ;
DefButton = TRUE ;
};
CancelButton PB_CANCEL
{
Pos = MAP_APPFONT ( 139 , 23 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
TabStop = TRUE ;
};
PushButton PB_NEXT
{
HelpID = "sw:PushButton:DLG_FLD_DROPDOWN:PB_NEXT";
Pos = MAP_APPFONT ( 139 , 40 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
TabStop = TRUE ;
Hide = TRUE ;
Text [ en-US ] = "~Next" ;
};
HelpButton PB_HELP
{
Pos = MAP_APPFONT ( 139 , 60 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
TabStop = TRUE ;
};
PushButton PB_EDIT
{
HelpID = "sw:PushButton:DLG_FLD_DROPDOWN:PB_EDIT";
Pos = MAP_APPFONT ( 139 , 99 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
TabStop = TRUE ;
Text [ en-US ] = "~Edit" ;
};
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -35,15 +35,12 @@ namespace sw ...@@ -35,15 +35,12 @@ namespace sw
{ {
class DropDownFieldDialog : public SvxStandardDialog class DropDownFieldDialog : public SvxStandardDialog
{ {
FixedLine aItemsFL; ListBox* m_pListItemsLB;
ListBox aListItemsLB;
OKButton aOKPB; OKButton* m_pOKPB;
CancelButton aCancelPB; PushButton* m_pNextPB;
PushButton aNextPB;
HelpButton aHelpPB;
PushButton aEditPB; PushButton* m_pEditPB;
SwWrtShell &rSh; SwWrtShell &rSh;
SwDropDownField* pDropField; SwDropDownField* pDropField;
...@@ -53,7 +50,6 @@ class DropDownFieldDialog : public SvxStandardDialog ...@@ -53,7 +50,6 @@ class DropDownFieldDialog : public SvxStandardDialog
public: public:
DropDownFieldDialog( Window *pParent, SwWrtShell &rSh, DropDownFieldDialog( Window *pParent, SwWrtShell &rSh,
SwField* pField, sal_Bool bNextButton = sal_False ); SwField* pField, sal_Bool bNextButton = sal_False );
~DropDownFieldDialog();
}; };
} //namespace sw } //namespace sw
......
...@@ -160,7 +160,7 @@ sal_Bool SwWrtShell::StartDropDownFldDlg(SwField* pFld, sal_Bool bNextButton, OS ...@@ -160,7 +160,7 @@ sal_Bool SwWrtShell::StartDropDownFldDlg(SwField* pFld, sal_Bool bNextButton, OS
SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create(); SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();
OSL_ENSURE(pFact, "SwAbstractDialogFactory fail!"); OSL_ENSURE(pFact, "SwAbstractDialogFactory fail!");
AbstractDropDownFieldDialog* pDlg = pFact->CreateDropDownFieldDialog( NULL, *this, pFld, DLG_FLD_DROPDOWN ,bNextButton ); AbstractDropDownFieldDialog* pDlg = pFact->CreateDropDownFieldDialog(NULL, *this, pFld, bNextButton);
OSL_ENSURE(pDlg, "Dialogdiet fail!"); OSL_ENSURE(pDlg, "Dialogdiet fail!");
if(pWindowState && !pWindowState->isEmpty()) if(pWindowState && !pWindowState->isEmpty())
pDlg->SetWindowState(*pWindowState); pDlg->SetWindowState(*pWindowState);
......
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
<object class="GtkDialog" id="DropdownFieldDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
<property name="title" translatable="yes">Choose Item: </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">12</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="visible">True</property>
<property name="sensitive">False</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="next">
<property name="label">gtk-media-next</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="no_show_all">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>
<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">3</property>
</packing>
</child>
<child>
<object class="GtkButton" id="edit">
<property name="label">gtk-edit</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">4</property>
<property name="secondary">True</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="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="hexpand">True</property>
<property name="vexpand">True</property>
<property name="top_padding">6</property>
<property name="left_padding">12</property>
<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="GtkScrolledWindow" id="scrolledwindow1">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="shadow_type">in</property>
<child>
<object class="GtkTreeView" id="list">
<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="treeview-selection1"/>
</child>
</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>
</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">Edit</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">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">next</action-widget>
<action-widget response="0">help</action-widget>
<action-widget response="0">edit</action-widget>
</action-widgets>
</object>
</interface>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment