diff options
-rw-r--r-- | dbaccess/AllLangResTarget_dbu.mk | 1 | ||||
-rw-r--r-- | dbaccess/UIConfig_dbaccess.mk | 4 | ||||
-rw-r--r-- | dbaccess/inc/dbaccess_helpid.hrc | 4 | ||||
-rw-r--r-- | dbaccess/source/ui/dlg/dlgsize.cxx | 51 | ||||
-rw-r--r-- | dbaccess/source/ui/dlg/dlgsize.hrc | 32 | ||||
-rw-r--r-- | dbaccess/source/ui/dlg/dlgsize.src | 139 | ||||
-rw-r--r-- | dbaccess/source/ui/inc/dbu_resource.hrc | 3 | ||||
-rw-r--r-- | dbaccess/source/ui/inc/dlgsize.hxx | 10 | ||||
-rw-r--r-- | dbaccess/uiconfig/ui/colwidthdialog.ui | 153 | ||||
-rw-r--r-- | dbaccess/uiconfig/ui/rowheightdialog.ui | 153 |
10 files changed, 331 insertions, 219 deletions
diff --git a/dbaccess/AllLangResTarget_dbu.mk b/dbaccess/AllLangResTarget_dbu.mk index 3b7550116c0a..72c03216e469 100644 --- a/dbaccess/AllLangResTarget_dbu.mk +++ b/dbaccess/AllLangResTarget_dbu.mk @@ -49,7 +49,6 @@ $(eval $(call gb_SrsTarget_add_files,dbaccess/dbu,\ dbaccess/source/ui/dlg/directsql.src \ dbaccess/source/ui/dlg/dlgattr.src \ dbaccess/source/ui/dlg/dlgsave.src \ - dbaccess/source/ui/dlg/dlgsize.src \ dbaccess/source/ui/dlg/dsselect.src \ dbaccess/source/ui/dlg/indexdialog.src \ dbaccess/source/ui/dlg/paramdialog.src \ diff --git a/dbaccess/UIConfig_dbaccess.mk b/dbaccess/UIConfig_dbaccess.mk index cace6a8cde5f..e6e003c1277d 100644 --- a/dbaccess/UIConfig_dbaccess.mk +++ b/dbaccess/UIConfig_dbaccess.mk @@ -10,10 +10,12 @@ $(eval $(call gb_UIConfig_UIConfig,dbaccess)) $(eval $(call gb_UIConfig_add_uifiles,dbaccess, \ + dbaccess/uiconfig/ui/colwidthdialog \ dbaccess/uiconfig/ui/directsqldialog \ - dbaccess/uiconfig/ui/querypropertiesdialog \ dbaccess/uiconfig/ui/generalpagedialog \ dbaccess/uiconfig/ui/generalpagewizard \ + dbaccess/uiconfig/ui/querypropertiesdialog \ + dbaccess/uiconfig/ui/rowheightdialog \ )) # vim: set noet sw=4 ts=4: diff --git a/dbaccess/inc/dbaccess_helpid.hrc b/dbaccess/inc/dbaccess_helpid.hrc index 314660fd9e3e..cfccb9e25b1e 100644 --- a/dbaccess/inc/dbaccess_helpid.hrc +++ b/dbaccess/inc/dbaccess_helpid.hrc @@ -78,10 +78,6 @@ #define HID_BROWSER_CLOSECONN "DBACCESS_HID_BROWSER_CLOSECONN" #define HID_BROWSER_REFRESHCONN "DBACCESS_HID_BROWSER_REFRESHCONN" -#define HID_DLG_ROWHEIGHT "DBACCESS_HID_DLG_ROWHEIGHT" -#define HID_DLG_COLWIDTH "DBACCESS_HID_DLG_COLWIDTH" - - #define HID_TLB_QUERYDESIGN "DBACCESS_HID_TLB_QUERYDESIGN" #define HID_CTL_QRYSQLEDIT "DBACCESS_HID_CTL_QRYSQLEDIT" #define HID_DSADMIN_SPECIAL_MESSAGE "DBACCESS_HID_DSADMIN_SPECIAL_MESSAGE" diff --git a/dbaccess/source/ui/dlg/dlgsize.cxx b/dbaccess/source/ui/dlg/dlgsize.cxx index c60d0f10aa71..c7645146e107 100644 --- a/dbaccess/source/ui/dlg/dlgsize.cxx +++ b/dbaccess/source/ui/dlg/dlgsize.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include "dlgsize.hrc" #include "dlgsize.hxx" #include "dbu_dlg.hrc" #include "moduledbu.hxx" @@ -30,64 +29,52 @@ namespace dbaui DBG_NAME(DlgSize) DlgSize::DlgSize( Window* pParent, sal_Int32 nVal, sal_Bool bRow, sal_Int32 _nAlternativeStandard ) - :ModalDialog( pParent, ModuleRes(bRow ? DLG_ROWHEIGHT : DLG_COLWIDTH)) - ,m_nPrevValue(nVal) - ,m_nStandard(bRow ? DEF_ROW_HEIGHT : DEF_COL_WIDTH) - ,aFT_VALUE(this, ModuleRes( FT_VALUE)) - ,aMF_VALUE(this, ModuleRes( MF_VALUE)) - ,aCB_STANDARD(this, ModuleRes(CB_STANDARD)) - ,aPB_OK(this, ModuleRes(PB_OK)) - ,aPB_CANCEL(this, ModuleRes(PB_CANCEL)) - ,aPB_HELP(this, ModuleRes(PB_HELP)) + : ModalDialog(pParent, bRow ? OString("RowHeightDialog") : OString("ColWidthDialog"), + bRow ? OUString("dbaccess/ui/rowheightdialog.ui") : OUString("dbaccess/ui/colwidthdialog.ui")) + , m_nPrevValue(nVal) + , m_nStandard(bRow ? DEF_ROW_HEIGHT : DEF_COL_WIDTH) { - DBG_CTOR(DlgSize,NULL); + get(m_pMF_VALUE, "value"); + get(m_pCB_STANDARD, "automatic"); if ( _nAlternativeStandard > 0 ) m_nStandard = _nAlternativeStandard; - aCB_STANDARD.SetClickHdl(LINK(this,DlgSize,CbClickHdl)); + m_pCB_STANDARD->SetClickHdl(LINK(this,DlgSize,CbClickHdl)); - aMF_VALUE.EnableEmptyFieldValue(sal_True); + m_pMF_VALUE->EnableEmptyFieldValue(sal_True); sal_Bool bDefault = -1 == nVal; - aCB_STANDARD.Check(bDefault); + m_pCB_STANDARD->Check(bDefault); if (bDefault) { SetValue(m_nStandard); m_nPrevValue = m_nStandard; } - LINK(this,DlgSize,CbClickHdl).Call(&aCB_STANDARD); - - FreeResource(); -} - -DlgSize::~DlgSize() -{ - - DBG_DTOR(DlgSize,NULL); + LINK(this,DlgSize,CbClickHdl).Call(m_pCB_STANDARD); } void DlgSize::SetValue( sal_Int32 nVal ) { - aMF_VALUE.SetValue(nVal, FUNIT_CM ); + m_pMF_VALUE->SetValue(nVal, FUNIT_CM ); } sal_Int32 DlgSize::GetValue() { - if (aCB_STANDARD.IsChecked()) + if (m_pCB_STANDARD->IsChecked()) return -1; - return (sal_Int32)aMF_VALUE.GetValue( FUNIT_CM ); + return (sal_Int32)m_pMF_VALUE->GetValue( FUNIT_CM ); } IMPL_LINK( DlgSize, CbClickHdl, Button *, pButton ) { - if( pButton == &aCB_STANDARD ) + if( pButton == m_pCB_STANDARD ) { - aMF_VALUE.Enable(!aCB_STANDARD.IsChecked()); - if (aCB_STANDARD.IsChecked()) + m_pMF_VALUE->Enable(!m_pCB_STANDARD->IsChecked()); + if (m_pCB_STANDARD->IsChecked()) { - m_nPrevValue = static_cast<sal_Int32>(aMF_VALUE.GetValue(FUNIT_CM)); - // don't use getValue as this will use aCB_STANDARD.to determine if we're standard - aMF_VALUE.SetEmptyFieldValue(); + m_nPrevValue = static_cast<sal_Int32>(m_pMF_VALUE->GetValue(FUNIT_CM)); + // don't use getValue as this will use m_pCB_STANDARD->to determine if we're standard + m_pMF_VALUE->SetEmptyFieldValue(); } else { diff --git a/dbaccess/source/ui/dlg/dlgsize.hrc b/dbaccess/source/ui/dlg/dlgsize.hrc deleted file mode 100644 index 6815bb9241e4..000000000000 --- a/dbaccess/source/ui/dlg/dlgsize.hrc +++ /dev/null @@ -1,32 +0,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 DBAUI_DLGSIZE_HRC -#define DBAUI_DLGSIZE_HRC - -#define FT_VALUE 1 -#define MF_VALUE 1 -#define CB_STANDARD 2 -#define PB_OK 1 -#define PB_CANCEL 1 -#define PB_HELP 1 - -#endif //DBAUI_DLGSIZE_HRC - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/ui/dlg/dlgsize.src b/dbaccess/source/ui/dlg/dlgsize.src deleted file mode 100644 index 6b9dedaf2468..000000000000 --- a/dbaccess/source/ui/dlg/dlgsize.src +++ /dev/null @@ -1,139 +0,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 . - */ - -#include "dlgsize.hrc" -#include "dbaccess_helpid.hrc" -#include "dbu_dlg.hrc" - -ModalDialog DLG_ROWHEIGHT -{ - OutputSize = TRUE ; - SVLook = TRUE ; - HelpId = HID_DLG_ROWHEIGHT ; - Size = MAP_APPFONT ( 159 , 59 ) ; - Moveable = TRUE ; - Closeable = TRUE ; - FixedText FT_VALUE - { - Pos = MAP_APPFONT ( 6 , 8 ) ; - Size = MAP_APPFONT ( 23 , 10 ) ; - Text [ en-US ] = "~Height" ; - }; - MetricField MF_VALUE - { - HelpID = "dbaccess:MetricField:DLG_ROWHEIGHT:MF_VALUE"; - Border = TRUE ; - Pos = MAP_APPFONT ( 36 , 6 ) ; - Size = MAP_APPFONT ( 63 , 12 ) ; - TabStop = TRUE ; - Spin = TRUE ; - Minimum = 10 ; - Maximum = 1600 ; - DecimalDigits = 2 ; - Unit = FUNIT_CM ; - Repeat = TRUE ; - }; - CheckBox CB_STANDARD - { - HelpID = "dbaccess:CheckBox:DLG_ROWHEIGHT:CB_STANDARD"; - Pos = MAP_APPFONT ( 36 , 25 ) ; - Size = MAP_APPFONT ( 62 , 12 ) ; - TabStop = TRUE ; - Text [ en-US ] = "~Automatic"; - }; - OKButton PB_OK - { - Pos = MAP_APPFONT ( 105 , 6 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; - TabStop = TRUE ; - DefButton = TRUE ; - }; - CancelButton PB_CANCEL - { - Pos = MAP_APPFONT ( 105 , 23 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; - TabStop = TRUE ; - }; - HelpButton PB_HELP - { - Pos = MAP_APPFONT ( 105 , 42 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; - TabStop = TRUE ; - }; - Text [ en-US ] = "Row Height" ; -}; -ModalDialog DLG_COLWIDTH -{ - OutputSize = TRUE ; - SVLook = TRUE ; - HelpId = HID_DLG_COLWIDTH ; - Size = MAP_APPFONT ( 159 , 59 ) ; - Moveable = TRUE ; - Closeable = TRUE ; - FixedText FT_VALUE - { - Pos = MAP_APPFONT ( 6 , 8 ) ; - Size = MAP_APPFONT ( 23 , 10 ) ; - Text [ en-US ] = "~Width" ; - }; - MetricField MF_VALUE - { - HelpID = "dbaccess:MetricField:DLG_COLWIDTH:MF_VALUE"; - Border = TRUE ; - Pos = MAP_APPFONT ( 36 , 6 ) ; - Size = MAP_APPFONT ( 63 , 12 ) ; - TabStop = TRUE ; - Spin = TRUE ; - Minimum = 10 ; - Maximum = 20000 ; - DecimalDigits = 2 ; - Unit = FUNIT_CM ; - Repeat = TRUE ; - }; - CheckBox CB_STANDARD - { - HelpID = "dbaccess:CheckBox:DLG_COLWIDTH:CB_STANDARD"; - Pos = MAP_APPFONT ( 36 , 25 ) ; - Size = MAP_APPFONT ( 62 , 12 ) ; - TabStop = TRUE ; - Text [ en-US ] = "~Automatic"; - }; - OKButton PB_OK - { - Pos = MAP_APPFONT ( 105 , 6 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; - TabStop = TRUE ; - DefButton = TRUE ; - }; - CancelButton PB_CANCEL - { - Pos = MAP_APPFONT ( 105 , 23 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; - TabStop = TRUE ; - }; - HelpButton PB_HELP - { - Pos = MAP_APPFONT ( 105 , 42 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; - TabStop = TRUE ; - }; - Text [ en-US ] = "Column Width" ; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/ui/inc/dbu_resource.hrc b/dbaccess/source/ui/inc/dbu_resource.hrc index 0eebf9cfeb62..dc0ed4f20d23 100644 --- a/dbaccess/source/ui/inc/dbu_resource.hrc +++ b/dbaccess/source/ui/inc/dbu_resource.hrc @@ -83,8 +83,7 @@ #define DLG_PARAMETERS RID_DIALOG_START + 5 #define DLG_FILTERCRIT RID_DIALOG_START + 6 #define DLG_ORDERCRIT RID_DIALOG_START + 7 -#define DLG_ROWHEIGHT RID_DIALOG_START + 8 -#define DLG_COLWIDTH RID_DIALOG_START + 9 + #define DLG_ATTR RID_DIALOG_START + 10 #define DLG_SAVE_AS RID_DIALOG_START + 11 #define DLG_JOIN_TABADD RID_DIALOG_START + 14 diff --git a/dbaccess/source/ui/inc/dlgsize.hxx b/dbaccess/source/ui/inc/dlgsize.hxx index ddfcbaadacd5..d61ca8ef99f3 100644 --- a/dbaccess/source/ui/inc/dlgsize.hxx +++ b/dbaccess/source/ui/inc/dlgsize.hxx @@ -39,17 +39,11 @@ namespace dbaui protected: DECL_LINK( CbClickHdl, Button * ); - FixedText aFT_VALUE; - MetricField aMF_VALUE; - CheckBox aCB_STANDARD; - OKButton aPB_OK; - CancelButton aPB_CANCEL; - HelpButton aPB_HELP; + MetricField* m_pMF_VALUE; + CheckBox* m_pCB_STANDARD; public: DlgSize( Window * pParent, sal_Int32 nVal, sal_Bool bRow, sal_Int32 _nAlternativeStandard = -1 ); - ~DlgSize(); - sal_Int32 GetValue(); }; } // namespace dbaui diff --git a/dbaccess/uiconfig/ui/colwidthdialog.ui b/dbaccess/uiconfig/ui/colwidthdialog.ui new file mode 100644 index 000000000000..89fe59f440a9 --- /dev/null +++ b/dbaccess/uiconfig/ui/colwidthdialog.ui @@ -0,0 +1,153 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 3.0 --> + <object class="GtkAdjustment" id="adjustment1"> + <property name="lower">0.10000000000000001</property> + <property name="upper">200</property> + <property name="value">2.27</property> + <property name="step_increment">1</property> + <property name="page_increment">10</property> + </object> + <object class="GtkDialog" id="ColWidthDialog"> + <property name="can_focus">False</property> + <property name="border_width">6</property> + <property name="title" translatable="yes">Column Width</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="grid2"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="valign">start</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="row_spacing">6</property> + <property name="column_spacing">12</property> + <child> + <object class="GtkLabel" id="label1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">_Width</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">value:0.00cm</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="GtkSpinButton" id="value:0.00cm"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="hexpand">True</property> + <property name="invisible_char">•</property> + <property name="adjustment">adjustment1</property> + <property name="digits">2</property> + </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="GtkCheckButton" id="automatic"> + <property name="label" translatable="yes">_Automatic</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">1</property> + <property name="top_attach">1</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <placeholder/> + </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> diff --git a/dbaccess/uiconfig/ui/rowheightdialog.ui b/dbaccess/uiconfig/ui/rowheightdialog.ui new file mode 100644 index 000000000000..9d98a3f7b45a --- /dev/null +++ b/dbaccess/uiconfig/ui/rowheightdialog.ui @@ -0,0 +1,153 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 3.0 --> + <object class="GtkAdjustment" id="adjustment1"> + <property name="lower">0.10000000000000001</property> + <property name="upper">160</property> + <property name="value">2.27</property> + <property name="step_increment">1</property> + <property name="page_increment">10</property> + </object> + <object class="GtkDialog" id="RowHeightDialog"> + <property name="can_focus">False</property> + <property name="border_width">6</property> + <property name="title" translatable="yes">Row Height</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="grid2"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="valign">start</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="row_spacing">6</property> + <property name="column_spacing">12</property> + <child> + <object class="GtkLabel" id="label1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">_Height</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">value:0.00cm</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="GtkSpinButton" id="value:0.00cm"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="hexpand">True</property> + <property name="invisible_char">•</property> + <property name="adjustment">adjustment1</property> + <property name="digits">2</property> + </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="GtkCheckButton" id="automatic"> + <property name="label" translatable="yes">_Automatic</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">1</property> + <property name="top_attach">1</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <placeholder/> + </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> |