Kaydet (Commit) af2d2b86 authored tarafından abdulmajeed ahmed's avatar abdulmajeed ahmed Kaydeden (comit) Caolán McNamara

Convert Xml-Filter-TabPage-General to .ui

Change-Id: Ia2ce0ce28b8a078b99651b38bdd3cbeaea3d8772
Reviewed-on: https://gerrit.libreoffice.org/5029Tested-by: 's avatarabdulmajeed ahmed <aalabdulrazzaq@kacst.edu.sa>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 71e1927c
...@@ -31,7 +31,6 @@ $(eval $(call gb_SrsTarget_set_include,filter/xsltdlg,\ ...@@ -31,7 +31,6 @@ $(eval $(call gb_SrsTarget_set_include,filter/xsltdlg,\
$(eval $(call gb_SrsTarget_add_files,filter/xsltdlg,\ $(eval $(call gb_SrsTarget_add_files,filter/xsltdlg,\
filter/source/xsltdialog/xmlfiltertabdialog.src \ filter/source/xsltdialog/xmlfiltertabdialog.src \
filter/source/xsltdialog/xmlfiltertabpagebasic.src \
filter/source/xsltdialog/xmlfiltertabpagexslt.src \ filter/source/xsltdialog/xmlfiltertabpagexslt.src \
filter/source/xsltdialog/xmlfilterdialogstrings.src \ filter/source/xsltdialog/xmlfilterdialogstrings.src \
)) ))
......
...@@ -19,6 +19,7 @@ $(eval $(call gb_UIConfig_add_uifiles,filter,\ ...@@ -19,6 +19,7 @@ $(eval $(call gb_UIConfig_add_uifiles,filter,\
filter/uiconfig/ui/pdfviewpage \ filter/uiconfig/ui/pdfviewpage \
filter/uiconfig/ui/testxmlfilter \ filter/uiconfig/ui/testxmlfilter \
filter/uiconfig/ui/xmlfiltersettings \ filter/uiconfig/ui/xmlfiltersettings \
filter/uiconfig/ui/xmlfiltertabpagegeneral \
)) ))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
#define HID_XML_SOURCE_FILE_DIALOG "FILTER_HID_XML_SOURCE_FILE_DIALOG" #define HID_XML_SOURCE_FILE_DIALOG "FILTER_HID_XML_SOURCE_FILE_DIALOG"
#define HID_XML_FILTER_TABDIALOG "FILTER_HID_XML_FILTER_TABDIALOG" #define HID_XML_FILTER_TABDIALOG "FILTER_HID_XML_FILTER_TABDIALOG"
#define HID_XML_FILTER_TABPAGE_BASIC "FILTER_HID_XML_FILTER_TABPAGE_BASIC"
#define HID_XML_FILTER_TABPAGE_XSLT "FILTER_HID_XML_FILTER_TABPAGE_XSLT" #define HID_XML_FILTER_TABPAGE_XSLT "FILTER_HID_XML_FILTER_TABPAGE_XSLT"
#define HID_XML_FILTER_NAME "FILTER_HID_XML_FILTER_NAME" #define HID_XML_FILTER_NAME "FILTER_HID_XML_FILTER_NAME"
#define HID_XML_FILTER_APPLICATION "FILTER_HID_XML_FILTER_APPLICATION" #define HID_XML_FILTER_APPLICATION "FILTER_HID_XML_FILTER_APPLICATION"
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
#include "xmlfilterdialogstrings.hrc" #include "xmlfilterdialogstrings.hrc"
#include "xmlfiltertabdialog.hxx" #include "xmlfiltertabdialog.hxx"
#include "xmlfiltercommon.hrc" #include "xmlfiltercommon.hrc"
#include "xmlfiltertabpagebasic.hrc"
#include "xmlfiltertabpagexslt.hrc" #include "xmlfiltertabpagexslt.hrc"
#include "xmlfiltertabpagebasic.hxx" #include "xmlfiltertabpagebasic.hxx"
#include "xmlfiltertabpagexslt.hxx" #include "xmlfiltertabpagexslt.hxx"
...@@ -140,7 +139,7 @@ bool XMLFilterTabDialog::onOk() ...@@ -140,7 +139,7 @@ bool XMLFilterTabDialog::onOk()
{ {
nErrorPage = RID_XML_FILTER_TABPAGE_BASIC; nErrorPage = RID_XML_FILTER_TABPAGE_BASIC;
nErrorId = STR_ERROR_FILTER_NAME_EXISTS; nErrorId = STR_ERROR_FILTER_NAME_EXISTS;
pFocusWindow = &(mpBasicPage->maEDFilterName); pFocusWindow = (mpBasicPage->m_pEDFilterName);
aReplace1 = mpNewInfo->maFilterName; aReplace1 = mpNewInfo->maFilterName;
} }
...@@ -195,7 +194,7 @@ bool XMLFilterTabDialog::onOk() ...@@ -195,7 +194,7 @@ bool XMLFilterTabDialog::onOk()
{ {
nErrorPage = RID_XML_FILTER_TABPAGE_BASIC; nErrorPage = RID_XML_FILTER_TABPAGE_BASIC;
nErrorId = STR_ERROR_TYPE_NAME_EXISTS; nErrorId = STR_ERROR_TYPE_NAME_EXISTS;
pFocusWindow = &(mpBasicPage->maEDInterfaceName); pFocusWindow = (mpBasicPage->m_pEDInterfaceName);
aReplace1 = mpNewInfo->maInterfaceName; aReplace1 = mpNewInfo->maInterfaceName;
aReplace2 = *pFilterName; aReplace2 = *pFilterName;
} }
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
#include "xmlfiltercommon.hrc" #include "xmlfiltercommon.hrc"
#include "xmlfiltertabpagebasic.hrc"
#include "xmlfiltertabpagexslt.hrc" #include "xmlfiltertabpagexslt.hrc"
#include "xmlfilterhelpids.hrc" #include "xmlfilterhelpids.hrc"
......
...@@ -21,41 +21,34 @@ ...@@ -21,41 +21,34 @@
#include "xmlfilterdialogstrings.hrc" #include "xmlfilterdialogstrings.hrc"
#include "xmlfiltertabpagebasic.hxx" #include "xmlfiltertabpagebasic.hxx"
#include "xmlfiltertabpagebasic.hrc"
#include "xmlfiltersettingsdialog.hxx" #include "xmlfiltersettingsdialog.hxx"
#include "xmlfilterhelpids.hrc" #include "xmlfilterhelpids.hrc"
XMLFilterTabPageBasic::XMLFilterTabPageBasic( Window* pParent, ResMgr& rResMgr ) : XMLFilterTabPageBasic::XMLFilterTabPageBasic( Window* pParent, ResMgr& rResMgr ) :
TabPage( pParent, ResId( RID_XML_FILTER_TABPAGE_BASIC, rResMgr ) ), TabPage( pParent, "XmlFilterTabPageGeneral","filter/ui/xmlfiltertabpagegeneral.ui")
maFTFilterName( this, ResId( FT_XML_FILTER_NAME, rResMgr ) ),
maEDFilterName( this, ResId( ED_XML_FILTER_NAME, rResMgr ) ),
maFTApplication( this, ResId( FT_XML_APPLICATION, rResMgr ) ),
maCBApplication( this, ResId( CB_XML_APPLICATION, rResMgr ) ),
maFTInterfaceName( this, ResId( FT_XML_INTERFACE_NAME, rResMgr ) ),
maEDInterfaceName( this, ResId( ED_XML_INTERFACE_NAME, rResMgr ) ),
maFTExtension( this, ResId( FT_XML_EXTENSION, rResMgr ) ),
maEDExtension( this, ResId( ED_XML_EXTENSION, rResMgr ) ),
maFTDescription( this, ResId( FT_XML_DESCRIPTION, rResMgr ) ),
maEDDescription( this, ResId( ED_XML_DESCRIPTION, rResMgr ) )
{ {
maCBApplication.SetHelpId( HID_XML_FILTER_APPLICATION ); get(m_pEDFilterName, "filtername");
maEDDescription.SetHelpId( HID_XML_FILTER_DESCRIPTION ); get(m_pCBApplication, "application");
get(m_pEDInterfaceName,"interfacename");
get(m_pEDExtension, "extension");
get(m_pEDDescription, "description");
m_pCBApplication->SetHelpId( HID_XML_FILTER_APPLICATION );
m_pEDDescription->SetHelpId( HID_XML_FILTER_DESCRIPTION );
FreeResource();
std::vector< application_info_impl* >& rInfos = getApplicationInfos(); std::vector< application_info_impl* >& rInfos = getApplicationInfos();
std::vector< application_info_impl* >::iterator aIter( rInfos.begin() ); std::vector< application_info_impl* >::iterator aIter( rInfos.begin() );
while( aIter != rInfos.end() ) while( aIter != rInfos.end() )
{ {
OUString aEntry( (*aIter++)->maDocumentUIName ); OUString aEntry( (*aIter++)->maDocumentUIName );
maCBApplication.InsertEntry( aEntry ); m_pCBApplication->InsertEntry( aEntry );
} }
} }
XMLFilterTabPageBasic::~XMLFilterTabPageBasic() XMLFilterTabPageBasic::~XMLFilterTabPageBasic()
{ {
} }
static OUString checkExtensions( const OUString& rExtensions ) static OUString checkExtensions( const OUString& rExtensions )
{ {
const sal_Unicode* pSource = rExtensions.getStr(); const sal_Unicode* pSource = rExtensions.getStr();
...@@ -86,19 +79,19 @@ bool XMLFilterTabPageBasic::FillInfo( filter_info_impl* pInfo ) ...@@ -86,19 +79,19 @@ bool XMLFilterTabPageBasic::FillInfo( filter_info_impl* pInfo )
{ {
if( pInfo ) if( pInfo )
{ {
if( !maEDFilterName.GetText().isEmpty() ) if( !m_pEDFilterName->GetText().isEmpty() )
pInfo->maFilterName = maEDFilterName.GetText(); pInfo->maFilterName = m_pEDFilterName->GetText();
if( !maCBApplication.GetText().isEmpty() ) if( !m_pCBApplication->GetText().isEmpty() )
pInfo->maDocumentService = maCBApplication.GetText(); pInfo->maDocumentService = m_pCBApplication->GetText();
if( !maEDInterfaceName.GetText().isEmpty() ) if( !m_pEDInterfaceName->GetText().isEmpty() )
pInfo->maInterfaceName = maEDInterfaceName.GetText(); pInfo->maInterfaceName = m_pEDInterfaceName->GetText();
if( !maEDExtension.GetText().isEmpty() ) if( !m_pEDExtension->GetText().isEmpty() )
pInfo->maExtension = checkExtensions( maEDExtension.GetText() ); pInfo->maExtension = checkExtensions( m_pEDExtension->GetText() );
pInfo->maComment = string_encode( maEDDescription.GetText() ); pInfo->maComment = string_encode( m_pEDDescription->GetText() );
if( !pInfo->maDocumentService.isEmpty() ) if( !pInfo->maDocumentService.isEmpty() )
{ {
...@@ -125,18 +118,18 @@ void XMLFilterTabPageBasic::SetInfo(const filter_info_impl* pInfo) ...@@ -125,18 +118,18 @@ void XMLFilterTabPageBasic::SetInfo(const filter_info_impl* pInfo)
{ {
if( pInfo ) if( pInfo )
{ {
maEDFilterName.SetText( string_decode(pInfo->maFilterName) ); m_pEDFilterName->SetText( string_decode(pInfo->maFilterName) );
/* /*
if( pInfo->maDocumentService.getLength() ) if( pInfo->maDocumentService.getLength() )
maCBApplication.SetText( getApplicationUIName( pInfo->maDocumentService ) ); maCBApplication.SetText( getApplicationUIName( pInfo->maDocumentService ) );
*/ */
if( !pInfo->maExportService.isEmpty() ) if( !pInfo->maExportService.isEmpty() )
maCBApplication.SetText( getApplicationUIName( pInfo->maExportService ) ); m_pCBApplication->SetText( getApplicationUIName( pInfo->maExportService ) );
else else
maCBApplication.SetText( getApplicationUIName( pInfo->maImportService ) ); m_pCBApplication->SetText( getApplicationUIName( pInfo->maImportService ) );
maEDInterfaceName.SetText( string_decode(pInfo->maInterfaceName) ); m_pEDInterfaceName->SetText( string_decode(pInfo->maInterfaceName) );
maEDExtension.SetText( pInfo->maExtension ); m_pEDExtension->SetText( pInfo->maExtension );
maEDDescription.SetText( string_decode( pInfo->maComment ) ); m_pEDDescription->SetText( string_decode( pInfo->maComment ) );
} }
} }
......
/* -*- 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 _XMLFILTERTABPAGEBASIC_HRC_
#define _XMLFILTERTABPAGEBASIC_HRC_
#include "xmlfiltercommon.hrc"
#define FT_XML_FILTER_NAME 1
#define ED_XML_FILTER_NAME 2
#define FT_XML_APPLICATION 3
#define CB_XML_APPLICATION 4
#define FT_XML_INTERFACE_NAME 5
#define ED_XML_INTERFACE_NAME 6
#define FT_XML_EXTENSION 7
#define ED_XML_EXTENSION 8
#define FT_XML_DESCRIPTION 9
#define ED_XML_DESCRIPTION 10
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -41,19 +41,11 @@ public: ...@@ -41,19 +41,11 @@ public:
static OUString decodeComment( const OUString& rComment ); static OUString decodeComment( const OUString& rComment );
static OUString encodeComment( const OUString& rComment ); static OUString encodeComment( const OUString& rComment );
FixedText maFTFilterName; Edit* m_pEDFilterName;
Edit maEDFilterName; ComboBox* m_pCBApplication;
Edit* m_pEDInterfaceName;
FixedText maFTApplication; Edit* m_pEDExtension;
ComboBox maCBApplication; VclMultiLineEdit* m_pEDDescription;
FixedText maFTInterfaceName;
Edit maEDInterfaceName;
FixedText maFTExtension;
Edit maEDExtension;
FixedText maFTDescription;
MultiLineEdit maEDDescription;
}; };
#endif #endif
......
/* -*- 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 "xmlfiltertabpagebasic.hrc"
#include "xmlfilterhelpids.hrc"
#define TAB_PAGE_WIDTH 260
#define TAB_PAGE_HEIGHT 120
#define SPACING 3
#define FIRST_ROW_X 6
#define FIRST_ROW_Y 6
#define FIRST_ROW_WIDTH 60
#define SECOND_ROW_X (FIRST_ROW_X + FIRST_ROW_WIDTH + SPACING)
#define SECOND_ROW_Y 6
#define SECOND_ROW_WIDTH (TAB_PAGE_WIDTH - SECOND_ROW_X - SPACING)
#define FIXED_TEXT_OFFSET 2
#define ROW_HEIGHT 12
TabPage RID_XML_FILTER_TABPAGE_BASIC
{
HelpId = HID_XML_FILTER_TABPAGE_BASIC;
Hide = TRUE;
Size = MAP_APPFONT ( TAB_PAGE_WIDTH , TAB_PAGE_HEIGHT );
Text [ en-US ] = "General";
// Filter Name ----------------------------------------------------
FixedText FT_XML_FILTER_NAME
{
Pos = MAP_APPFONT ( FIRST_ROW_X , FIRST_ROW_Y + 0 * ROW_HEIGHT + 0 * SPACING + FIXED_TEXT_OFFSET ) ;
Size = MAP_APPFONT ( FIRST_ROW_WIDTH , 8 ) ;
Text [ en-US ] = "Filter name";
};
Edit ED_XML_FILTER_NAME
{
Pos = MAP_APPFONT ( SECOND_ROW_X , SECOND_ROW_Y + 0 * ROW_HEIGHT + 0 * SPACING ) ;
Size = MAP_APPFONT ( 102 , 12 ) ;
HelpId = HID_XML_FILTER_NAME;
Border = TRUE;
};
// Application ----------------------------------------------------
FixedText FT_XML_APPLICATION
{
Pos = MAP_APPFONT ( FIRST_ROW_X , FIRST_ROW_Y + 1 * ROW_HEIGHT + 1 * SPACING + FIXED_TEXT_OFFSET ) ;
Size = MAP_APPFONT ( FIRST_ROW_WIDTH , 8 ) ;
Text [ en-US ] = "Application";
};
ComboBox CB_XML_APPLICATION
{
Pos = MAP_APPFONT ( SECOND_ROW_X , SECOND_ROW_Y + 1 * ROW_HEIGHT + 1 * SPACING ) ;
Size = MAP_APPFONT ( 102 , 60 ) ;
HelpId = HID_XML_FILTER_APPLICATION;
Border = TRUE ;
TabStop = TRUE ;
DropDown = TRUE ;
Sort = TRUE ;
};
// Interface Name -------------------------------------------------
FixedText FT_XML_INTERFACE_NAME
{
Pos = MAP_APPFONT ( FIRST_ROW_X , FIRST_ROW_Y + 2 * ROW_HEIGHT + 2 * SPACING ) ; // + FIXED_TEXT_OFFSET ) ;
Size = MAP_APPFONT ( FIRST_ROW_WIDTH , 16 ) ;
Text [ en-US ] = "Name of\nfile type";
};
Edit ED_XML_INTERFACE_NAME
{
Pos = MAP_APPFONT ( SECOND_ROW_X , 2 + SECOND_ROW_Y + 2 * ROW_HEIGHT + 2 * SPACING ) ;
Size = MAP_APPFONT ( 102 , 12 ) ;
HelpId = HID_XML_FILTER_INTERFACE_NAME;
Border = TRUE;
};
// Extension ------------------------------------------------------
FixedText FT_XML_EXTENSION
{
Pos = MAP_APPFONT ( FIRST_ROW_X , 4 + FIRST_ROW_Y + 3 * ROW_HEIGHT + 3 * SPACING + FIXED_TEXT_OFFSET) ;
Size = MAP_APPFONT ( FIRST_ROW_WIDTH , 8 ) ;
Text [ en-US ] = "File extension";
};
Edit ED_XML_EXTENSION
{
Pos = MAP_APPFONT ( SECOND_ROW_X , 4 + SECOND_ROW_Y + 3 * ROW_HEIGHT + 3 * SPACING ) ;
Size = MAP_APPFONT ( 32 , 12 ) ;
HelpId = HID_XML_FILTER_EXTENSION;
Border = TRUE;
};
// Description ----------------------------------------------------
FixedText FT_XML_DESCRIPTION
{
Pos = MAP_APPFONT ( FIRST_ROW_X , 4 + FIRST_ROW_Y + 4 * ROW_HEIGHT + 4 * SPACING + FIXED_TEXT_OFFSET ) ;
Size = MAP_APPFONT ( FIRST_ROW_WIDTH , 8 ) ;
Text [ en-US ] = "Comments";
};
MultiLineEdit ED_XML_DESCRIPTION
{
Pos = MAP_APPFONT ( SECOND_ROW_X , 4 + SECOND_ROW_Y + 4 * ROW_HEIGHT + 4 * SPACING ) ;
Size = MAP_APPFONT ( SECOND_ROW_WIDTH , 3*ROW_HEIGHT ) ;
HelpId = HID_XML_FILTER_DESCRIPTION;
Border = TRUE;
IgnoreTab = TRUE ;
};
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
<object class="GtkBox" id="XmlFilterTabPageGeneral">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="border_width">6</property>
<property name="spacing">12</property>
<child>
<object class="GtkFrame" id="frame1">
<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="GtkGrid" id="grid1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="row_spacing">6</property>
<child>
<object class="GtkLabel" id="label2">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">_Filter name</property>
<property name="use_underline">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="GtkLabel" id="label3">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">_Application</property>
<property name="use_underline">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="GtkLabel" id="label4">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">_Name of
file type</property>
<property name="use_underline">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>
<child>
<object class="GtkLabel" id="label5">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">File _extension</property>
<property name="use_underline">True</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">3</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="label6">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Comment_s</property>
<property name="use_underline">True</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">4</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkEntry" id="filtername">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="invisible_char"></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="VclComboBoxNumeric" id="application">
<property name="visible">True</property>
<property name="can_focus">False</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>
<object class="GtkEntry" id="extension">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="invisible_char"></property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">3</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkTextView" id="description">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="vexpand">True</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">4</property>
<property name="width">20</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkEntry" id="interfacename">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="invisible_char"></property>
</object>
<packing>
<property name="left_attach">1</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="label1">
<property name="visible">True</property>
<property name="can_focus">False</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>
</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