summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-29 13:55:07 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-29 14:11:40 +0000
commit17c97fb837284c8818393c14752f3b2bae88a1d2 (patch)
treea0451ab170cbced7009af45bba50670ef9de3ffb /dbaccess
parentd689f2458288c8656f6a71fa891a3b19972be834 (diff)
convert generated values page to .ui
Change-Id: I1193183c593f316550799dd20d8350b86e761436
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/AllLangResTarget_dbu.mk1
-rw-r--r--dbaccess/UIConfig_dbaccess.mk1
-rw-r--r--dbaccess/inc/dbaccess_helpid.hrc3
-rw-r--r--dbaccess/source/ui/dlg/advancedsettings.cxx57
-rw-r--r--dbaccess/source/ui/dlg/advancedsettings.hrc69
-rw-r--r--dbaccess/source/ui/dlg/advancedsettings.hxx12
-rw-r--r--dbaccess/source/ui/dlg/advancedsettings.src81
-rw-r--r--dbaccess/source/ui/inc/dbu_resource.hrc2
-rw-r--r--dbaccess/uiconfig/ui/generatedvaluespage.ui169
9 files changed, 204 insertions, 191 deletions
diff --git a/dbaccess/AllLangResTarget_dbu.mk b/dbaccess/AllLangResTarget_dbu.mk
index 16d94319b6c4..6caa0ce651da 100644
--- a/dbaccess/AllLangResTarget_dbu.mk
+++ b/dbaccess/AllLangResTarget_dbu.mk
@@ -38,7 +38,6 @@ $(eval $(call gb_SrsTarget_add_files,dbaccess/dbu,\
dbaccess/source/ui/control/undosqledit.src \
dbaccess/source/ui/dlg/admincontrols.src \
dbaccess/source/ui/dlg/adtabdlg.src \
- dbaccess/source/ui/dlg/advancedsettings.src \
dbaccess/source/ui/dlg/AutoControls.src \
dbaccess/source/ui/dlg/CollectionView.src \
dbaccess/source/ui/dlg/ConnectionPage.src \
diff --git a/dbaccess/UIConfig_dbaccess.mk b/dbaccess/UIConfig_dbaccess.mk
index 4ad203807993..5d65dfe58370 100644
--- a/dbaccess/UIConfig_dbaccess.mk
+++ b/dbaccess/UIConfig_dbaccess.mk
@@ -18,6 +18,7 @@ $(eval $(call gb_UIConfig_add_uifiles,dbaccess, \
dbaccess/uiconfig/ui/finalpagewizard \
dbaccess/uiconfig/ui/generalpagedialog \
dbaccess/uiconfig/ui/generalpagewizard \
+ dbaccess/uiconfig/ui/generatedvaluespage \
dbaccess/uiconfig/ui/querypropertiesdialog \
dbaccess/uiconfig/ui/rowheightdialog \
dbaccess/uiconfig/ui/specialsettingspage \
diff --git a/dbaccess/inc/dbaccess_helpid.hrc b/dbaccess/inc/dbaccess_helpid.hrc
index dcb940dac8e2..746d5e4ecb67 100644
--- a/dbaccess/inc/dbaccess_helpid.hrc
+++ b/dbaccess/inc/dbaccess_helpid.hrc
@@ -236,11 +236,8 @@
#define HID_BROWSER_SAVE_RECORD "DBACCESS_HID_BROWSER_SAVE_RECORD"
#define HID_BROWSER_UNDO_RECORD "DBACCESS_HID_BROWSER_UNDO_RECORD"
-#define HID_DSADMIN_AUTOINCREMENTVALUE "DBACCESS_HID_DSADMIN_AUTOINCREMENTVALUE"
#define HID_DOCUMENT_CREATE_REPWIZ "DBACCESS_HID_DOCUMENT_CREATE_REPWIZ"
#define HID_TAB_AUTOINCREMENTVALUE "DBACCESS_HID_TAB_AUTOINCREMENTVALUE"
-#define HID_DSADMIN_RETRIEVE_AUTO "DBACCESS_HID_DSADMIN_RETRIEVE_AUTO"
-#define HID_DSADMIN_AUTORETRIEVEENABLED "DBACCESS_HID_DSADMIN_AUTORETRIEVEENABLED"
#define HID_DSADMIN_PAGE_MYSQL_ODBC "DBACCESS_HID_DSADMIN_PAGE_MYSQL_ODBC"
#define HID_TAB_PAGE_TABLEPRIVILEGES "DBACCESS_HID_TAB_PAGE_TABLEPRIVILEGES"
diff --git a/dbaccess/source/ui/dlg/advancedsettings.cxx b/dbaccess/source/ui/dlg/advancedsettings.cxx
index 898ddaf08107..a2e35b0c8675 100644
--- a/dbaccess/source/ui/dlg/advancedsettings.cxx
+++ b/dbaccess/source/ui/dlg/advancedsettings.cxx
@@ -27,7 +27,6 @@
#include "dbu_resource.hrc"
#include "dbu_dlg.hrc"
#include "dbadmin.hrc"
-#include "advancedsettings.hrc"
#include <svl/eitem.hxx>
#include <svl/intitem.hxx>
@@ -300,22 +299,22 @@ namespace dbaui
// GeneratedValuesPage
GeneratedValuesPage::GeneratedValuesPage( Window* pParent, const SfxItemSet& _rCoreAttrs )
- :OGenericAdministrationPage(pParent, ModuleRes( PAGE_GENERATED_VALUES ), _rCoreAttrs)
- ,m_aAutoFixedLine ( this, ModuleRes( FL_SEPARATORAUTO ) )
- ,m_aAutoRetrievingEnabled( this, ModuleRes( CB_RETRIEVE_AUTO ) )
- ,m_aAutoIncrementLabel ( this, ModuleRes( FT_AUTOINCREMENTVALUE ) )
- ,m_aAutoIncrement ( this, ModuleRes( ET_AUTOINCREMENTVALUE ) )
- ,m_aAutoRetrievingLabel ( this, ModuleRes( FT_RETRIEVE_AUTO ) )
- ,m_aAutoRetrieving ( this, ModuleRes( ET_RETRIEVE_AUTO ) )
+ : OGenericAdministrationPage(pParent, "GeneratedValuesPage",
+ "dbaccess/ui/generatedvaluespage.ui", _rCoreAttrs)
{
- m_aAutoRetrievingEnabled.SetClickHdl( getControlModifiedLink() );
- m_aAutoIncrement.SetModifyHdl( getControlModifiedLink() );
- m_aAutoRetrieving.SetModifyHdl( getControlModifiedLink() );
-
- m_aControlDependencies.enableOnCheckMark( m_aAutoRetrievingEnabled,
- m_aAutoIncrementLabel, m_aAutoIncrement, m_aAutoRetrievingLabel, m_aAutoRetrieving );
-
- FreeResource();
+ get(m_pAutoFrame, "GeneratedValuesPage");
+ get(m_pAutoRetrievingEnabled, "autoretrieve");
+ get(m_pAutoIncrementLabel, "statementft");
+ get(m_pAutoIncrement, "statement");
+ get(m_pAutoRetrievingLabel, "queryft");
+ get(m_pAutoRetrieving, "query");
+
+ m_pAutoRetrievingEnabled->SetClickHdl( getControlModifiedLink() );
+ m_pAutoIncrement->SetModifyHdl( getControlModifiedLink() );
+ m_pAutoRetrieving->SetModifyHdl( getControlModifiedLink() );
+
+ m_aControlDependencies.enableOnCheckMark( *m_pAutoRetrievingEnabled,
+ *m_pAutoIncrementLabel, *m_pAutoIncrement, *m_pAutoRetrievingLabel, *m_pAutoRetrieving );
}
GeneratedValuesPage::~GeneratedValuesPage()
@@ -325,16 +324,14 @@ namespace dbaui
void GeneratedValuesPage::fillWindows( ::std::vector< ISaveValueWrapper* >& _rControlList )
{
- _rControlList.push_back( new ODisableWrapper< FixedLine >( &m_aAutoFixedLine ) );
- _rControlList.push_back( new ODisableWrapper< FixedText >( &m_aAutoIncrementLabel ) );
- _rControlList.push_back( new ODisableWrapper< FixedText >( &m_aAutoRetrievingLabel ) );
+ _rControlList.push_back( new ODisableWrapper< VclFrame >( m_pAutoFrame ) );
}
void GeneratedValuesPage::fillControls( ::std::vector< ISaveValueWrapper* >& _rControlList )
{
- _rControlList.push_back( new OSaveValueWrapper< CheckBox >( &m_aAutoRetrievingEnabled ) );
- _rControlList.push_back( new OSaveValueWrapper< Edit >( &m_aAutoIncrement ) );
- _rControlList.push_back( new OSaveValueWrapper< Edit >( &m_aAutoRetrieving ) );
+ _rControlList.push_back( new OSaveValueWrapper< CheckBox >( m_pAutoRetrievingEnabled ) );
+ _rControlList.push_back( new OSaveValueWrapper< Edit >( m_pAutoIncrement ) );
+ _rControlList.push_back( new OSaveValueWrapper< Edit >( m_pAutoRetrieving ) );
}
void GeneratedValuesPage::implInitControls( const SfxItemSet& _rSet, sal_Bool _bSaveValue )
@@ -352,12 +349,12 @@ namespace dbaui
if (bValid)
{
sal_Bool bEnabled = pAutoRetrieveEnabledItem->GetValue();
- m_aAutoRetrievingEnabled.Check( bEnabled );
+ m_pAutoRetrievingEnabled->Check( bEnabled );
- m_aAutoIncrement.SetText( pAutoIncrementItem->GetValue() );
- m_aAutoIncrement.ClearModifyFlag();
- m_aAutoRetrieving.SetText( pAutoRetrieveValueItem->GetValue() );
- m_aAutoRetrieving.ClearModifyFlag();
+ m_pAutoIncrement->SetText( pAutoIncrementItem->GetValue() );
+ m_pAutoIncrement->ClearModifyFlag();
+ m_pAutoRetrieving->SetText( pAutoRetrieveValueItem->GetValue() );
+ m_pAutoRetrieving->ClearModifyFlag();
}
OGenericAdministrationPage::implInitControls( _rSet, _bSaveValue );
}
@@ -366,9 +363,9 @@ namespace dbaui
{
sal_Bool bChangedSomething = sal_False;
- fillString( _rSet, &m_aAutoIncrement, DSID_AUTOINCREMENTVALUE, bChangedSomething );
- fillBool( _rSet, &m_aAutoRetrievingEnabled, DSID_AUTORETRIEVEENABLED, bChangedSomething );
- fillString( _rSet, &m_aAutoRetrieving, DSID_AUTORETRIEVEVALUE, bChangedSomething );
+ fillString( _rSet, m_pAutoIncrement, DSID_AUTOINCREMENTVALUE, bChangedSomething );
+ fillBool( _rSet, m_pAutoRetrievingEnabled, DSID_AUTORETRIEVEENABLED, bChangedSomething );
+ fillString( _rSet, m_pAutoRetrieving, DSID_AUTORETRIEVEVALUE, bChangedSomething );
return bChangedSomething;
}
diff --git a/dbaccess/source/ui/dlg/advancedsettings.hrc b/dbaccess/source/ui/dlg/advancedsettings.hrc
deleted file mode 100644
index 2df13e8ba3ca..000000000000
--- a/dbaccess/source/ui/dlg/advancedsettings.hrc
+++ /dev/null
@@ -1,69 +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_ADVANCEDSETTINGS_HRC
-#define DBAUI_ADVANCEDSETTINGS_HRC
-
-#define ADVANCED_CHECKBOX_OPTIONS 15
-#define ADVANCED_LISTBOX_OPTIONS 1
-
-#define ADVANCED_PAGE_X 200
-#define ADVANCED_PAGE_Y \
- /* top space */ START_Y + \
- /* label */ FIXEDTEXT_HEIGHT + RELATED_CONTROLS + \
- /* check boxes */ ( ADVANCED_CHECKBOX_OPTIONS * ( CHECKBOX_HEIGHT + RELATED_CONTROLS ) ) + \
- /* list boxes */ ( ADVANCED_LISTBOX_OPTIONS * ( LISTBOX_HEIGHT + RELATED_CONTROLS ) ) + \
- /* bottom space */ START_Y
-
-
-#define FL_SEPARATORAUTO 1
-#define FL_DATAHANDLING 2
-
-#define CB_SUPPRESVERSIONCL 1
-#define CB_SQL92CHECK 2
-#define CB_RETRIEVE_AUTO 3
-#define CB_APPENDTABLEALIAS 4
-#define CB_IGNOREDRIVER_PRIV 5
-#define CB_PARAMETERNAMESUBST 6
-#define CB_ENABLEOUTERJOIN 7
-#define CB_SCHEMA 8
-#define CB_CATALOG 9
-#define CB_IGNOREINDEXAPPENDIX 10
-#define CB_DOSLINEENDS 11
-#define CB_AS_BEFORE_CORR_NAME 12
-#define CB_CHECK_REQUIRED 13
-#define CB_IGNORECURRENCY 14
-#define CB_ESCAPE_DATETIME 15
-#define CB_PRIMARY_KEY_SUPPORT 16
-#define CB_RESPECTRESULTSETTYPE 17
-
-#define ET_AUTOINCREMENTVALUE 1
-#define ET_RETRIEVE_AUTO 2
-
-#define FT_AUTOINCREMENTVALUE 1
-#define FT_RETRIEVE_AUTO 2
-#define FT_BOOLEANCOMPARISON 3
-#define FT_MAXROWSCAN 4
-
-#define LB_BOOLEANCOMPARISON 1
-#define NF_MAXROWSCAN 1
-
-#endif // DBAUI_ADVANCEDSETTINGS_HRC
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/dbaccess/source/ui/dlg/advancedsettings.hxx b/dbaccess/source/ui/dlg/advancedsettings.hxx
index 2bcaee3c2cda..4ae9f848e82c 100644
--- a/dbaccess/source/ui/dlg/advancedsettings.hxx
+++ b/dbaccess/source/ui/dlg/advancedsettings.hxx
@@ -99,12 +99,12 @@ namespace dbaui
{
protected:
- FixedLine m_aAutoFixedLine;
- CheckBox m_aAutoRetrievingEnabled;
- FixedText m_aAutoIncrementLabel;
- Edit m_aAutoIncrement;
- FixedText m_aAutoRetrievingLabel;
- Edit m_aAutoRetrieving;
+ VclFrame* m_pAutoFrame;
+ CheckBox* m_pAutoRetrievingEnabled;
+ FixedText* m_pAutoIncrementLabel;
+ Edit* m_pAutoIncrement;
+ FixedText* m_pAutoRetrievingLabel;
+ Edit* m_pAutoRetrieving;
::svt::ControlDependencyManager
m_aControlDependencies;
diff --git a/dbaccess/source/ui/dlg/advancedsettings.src b/dbaccess/source/ui/dlg/advancedsettings.src
deleted file mode 100644
index b4807108e298..000000000000
--- a/dbaccess/source/ui/dlg/advancedsettings.src
+++ /dev/null
@@ -1,81 +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 "dbaccess_helpid.hrc"
-#include "dbu_dlg.hrc"
-#include "advancedsettings.hrc"
-
-TabPage PAGE_GENERATED_VALUES
-{
- HelpID = "dbaccess:TabPage:PAGE_GENERATED_VALUES";
- SVLook = TRUE ;
- Pos = MAP_APPFONT ( 0 , 0 ) ;
- Size = MAP_APPFONT ( ADVANCED_PAGE_X , ADVANCED_PAGE_Y ) ;
- Hide = TRUE;
-
- FixedLine FL_SEPARATORAUTO
- {
- Pos = MAP_APPFONT ( 4, UNRELATED_CONTROLS ) ;
- Size = MAP_APPFONT ( ADVANCED_PAGE_X - 2*RELATED_CONTROLS , FIXEDTEXT_HEIGHT ) ;
- Text [ en-US ] = "Settings";
- };
-
- CheckBox CB_RETRIEVE_AUTO
- {
- Pos = MAP_APPFONT ( 6 , UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT + RELATED_CONTROLS) ;
- Size = MAP_APPFONT ( ADVANCED_PAGE_X - 2*UNRELATED_CONTROLS , CHECKBOX_HEIGHT ) ;
- TabStop = TRUE ;
- HelpId = HID_DSADMIN_AUTORETRIEVEENABLED;
- Text [ en-US ] = "Re~trieve generated values";
- };
-
- FixedText FT_AUTOINCREMENTVALUE
- {
- Pos = MAP_APPFONT ( 15 , UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT + 2*RELATED_CONTROLS + CHECKBOX_HEIGHT ) ;
- Size = MAP_APPFONT ( ADVANCED_PAGE_X - 15 - 6 , FIXEDTEXT_HEIGHT ) ;
- Text[ en-US ] = "~Auto-increment statement";
- };
-
- Edit ET_AUTOINCREMENTVALUE
- {
- Border = TRUE ;
- Pos = MAP_APPFONT ( 15 , UNRELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT + CHECKBOX_HEIGHT + 3*RELATED_CONTROLS ) ;
- Size = MAP_APPFONT ( ADVANCED_PAGE_X - 15 - 2*UNRELATED_CONTROLS , EDIT_HEIGHT ) ;
- TabStop = TRUE ;
- HelpId = HID_DSADMIN_AUTOINCREMENTVALUE;
- };
-
- FixedText FT_RETRIEVE_AUTO
- {
- Pos = MAP_APPFONT ( 15 , UNRELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT + CHECKBOX_HEIGHT + 4*RELATED_CONTROLS + EDIT_HEIGHT) ;
- Size = MAP_APPFONT ( ADVANCED_PAGE_X - 15 - 6 , 10 ) ;
- Text [ en-US ] = "~Query of generated values";
- };
-
- Edit ET_RETRIEVE_AUTO
- {
- Border = TRUE ;
- Pos = MAP_APPFONT ( 15 , UNRELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + CHECKBOX_HEIGHT + 5*RELATED_CONTROLS + EDIT_HEIGHT ) ;
- Size = MAP_APPFONT ( ADVANCED_PAGE_X - 15 - 2*UNRELATED_CONTROLS, EDIT_HEIGHT ) ;
- TabStop = TRUE ;
- HelpId = HID_DSADMIN_RETRIEVE_AUTO;
- };
-};
-
-/* 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 79f1ac4e7f33..2742bc7d405d 100644
--- a/dbaccess/source/ui/inc/dbu_resource.hrc
+++ b/dbaccess/source/ui/inc/dbu_resource.hrc
@@ -117,7 +117,7 @@
#define PAGE_MYSQL_ODBC RID_PAGE_START + 17
#define PAGE_USERDRIVER RID_PAGE_START + 19
#define PAGE_MYSQL_JDBC RID_PAGE_START + 20
-#define PAGE_GENERATED_VALUES RID_PAGE_START + 22
+ // FREE
// FREE
#define PAGE_MYSQL_NATIVE RID_PAGE_START + 24
// FREE
diff --git a/dbaccess/uiconfig/ui/generatedvaluespage.ui b/dbaccess/uiconfig/ui/generatedvaluespage.ui
new file mode 100644
index 000000000000..a0cfbfaec967
--- /dev/null
+++ b/dbaccess/uiconfig/ui/generatedvaluespage.ui
@@ -0,0 +1,169 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated with glade 3.16.0 on Wed Jan 29 14:06:26 2014 -->
+<interface>
+ <!-- interface-requires gtk+ 3.0 -->
+ <object class="GtkFrame" id="GeneratedValuesPage">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="vexpand">True</property>
+ <property name="border_width">6</property>
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">none</property>
+ <child>
+ <object class="GtkAlignment" id="alignment4">
+ <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="row_spacing">12</property>
+ <child>
+ <object class="GtkCheckButton" id="autoretrieve">
+ <property name="label" translatable="yes">Re_trieve generated values</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="GtkAlignment" id="alignment1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</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="hexpand">True</property>
+ <property name="row_spacing">12</property>
+ <child>
+ <object class="GtkGrid" id="grid3">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="row_spacing">6</property>
+ <child>
+ <object class="GtkLabel" id="statementft">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">_Auto-increment statement</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">statement</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="GtkEntry" id="statement">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hexpand">True</property>
+ <property name="width_chars">34</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>
+ </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="GtkGrid" id="grid4">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="row_spacing">6</property>
+ <child>
+ <object class="GtkLabel" id="queryft">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">_Query of generated values</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">query</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="GtkEntry" id="query">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hexpand">True</property>
+ <property name="width_chars">34</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>
+ </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>
+ </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>
+ </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">Settings</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
+ </object>
+ </child>
+ </object>
+</interface>