mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-17 00:09:36 -04:00
Merge branch 'wms_layer_title_abstract'
This commit is contained in:
commit
88c9d5bc4b
@ -860,6 +860,9 @@ void QgsRasterLayerProperties::sync()
|
||||
txtbMetadata->document()->setDefaultStyleSheet( myStyle );
|
||||
txtbMetadata->setHtml( mRasterLayer->metadata() );
|
||||
|
||||
mLayerTitleLineEdit->setText( mRasterLayer->title() );
|
||||
mLayerAbstractTextEdit->setPlainText( mRasterLayer->abstract() );
|
||||
|
||||
} // QgsRasterLayerProperties::sync()
|
||||
|
||||
void QgsRasterLayerProperties::syncColormapTab()
|
||||
@ -1442,6 +1445,9 @@ void QgsRasterLayerProperties::apply()
|
||||
mRasterLayer->thumbnailAsPixmap( &myQPixmap );
|
||||
pixmapThumbnail->setPixmap( myQPixmap );
|
||||
|
||||
mRasterLayer->setTitle( mLayerTitleLineEdit->text() );
|
||||
mRasterLayer->setAbstract( mLayerAbstractTextEdit->toPlainText() );
|
||||
|
||||
// update symbology
|
||||
emit refreshLegend( mRasterLayer->id(), false );
|
||||
|
||||
|
@ -178,6 +178,13 @@ QgsVectorLayerProperties::QgsVectorLayerProperties(
|
||||
mOverlayDialogs.push_back( d );
|
||||
}
|
||||
|
||||
//layer title and abstract
|
||||
if ( layer )
|
||||
{
|
||||
mLayerTitleLineEdit->setText( layer->title() );
|
||||
mLayerAbstractTextEdit->setPlainText( layer->abstract() );
|
||||
}
|
||||
|
||||
tabWidget->setCurrentIndex( 0 );
|
||||
|
||||
QSettings settings;
|
||||
@ -815,6 +822,10 @@ void QgsVectorLayerProperties::apply()
|
||||
( *it )->apply();
|
||||
}
|
||||
|
||||
//layer title and abstract
|
||||
layer->setTitle( mLayerTitleLineEdit->text() );
|
||||
layer->setAbstract( mLayerAbstractTextEdit->toPlainText() );
|
||||
|
||||
// update symbology
|
||||
emit refreshLegend( layer->id(), false );
|
||||
|
||||
|
@ -255,6 +255,20 @@ bool QgsMapLayer::readXML( const QDomNode& layer_node )
|
||||
mne = mnl.toElement();
|
||||
setLayerName( mne.text() );
|
||||
|
||||
//title
|
||||
QDomElement titleElem = layer_node.firstChildElement( "title" );
|
||||
if ( !titleElem.isNull() )
|
||||
{
|
||||
mTitle = titleElem.text();
|
||||
}
|
||||
|
||||
//abstract
|
||||
QDomElement abstractElem = layer_node.firstChildElement( "abstract" );
|
||||
if ( !abstractElem.isNull() )
|
||||
{
|
||||
mAbstract = abstractElem.text();
|
||||
}
|
||||
|
||||
//read transparency level
|
||||
QDomNode transparencyNode = layer_node.namedItem( "transparencyLevelInt" );
|
||||
if ( ! transparencyNode.isNull() )
|
||||
@ -340,7 +354,19 @@ bool QgsMapLayer::writeXML( QDomNode & layer_node, QDomDocument & document )
|
||||
QDomText layerNameText = document.createTextNode( name() );
|
||||
layerName.appendChild( layerNameText );
|
||||
|
||||
// layer title
|
||||
QDomElement layerTitle = document.createElement( "title" ) ;
|
||||
QDomText layerTitleText = document.createTextNode( title() );
|
||||
layerTitle.appendChild( layerTitleText );
|
||||
|
||||
// layer abstract
|
||||
QDomElement layerAbstract = document.createElement( "abstract" );
|
||||
QDomText layerAbstractText = document.createTextNode( abstract() );
|
||||
layerAbstract.appendChild( layerAbstractText );
|
||||
|
||||
maplayer.appendChild( layerName );
|
||||
maplayer.appendChild( layerTitle );
|
||||
maplayer.appendChild( layerAbstract );
|
||||
|
||||
// timestamp if supported
|
||||
if ( timestamp() > QDateTime() )
|
||||
|
@ -87,6 +87,12 @@ class CORE_EXPORT QgsMapLayer : public QObject
|
||||
*/
|
||||
QString const & name() const;
|
||||
|
||||
void setTitle( const QString& title ) { mTitle = title; }
|
||||
const QString& title() const { return mTitle; }
|
||||
|
||||
void setAbstract( const QString& abstract ) { mAbstract = abstract; }
|
||||
const QString& abstract() const { return mAbstract; }
|
||||
|
||||
/**Synchronises with changes in the datasource
|
||||
@note added in version 1.6*/
|
||||
virtual void reload() {}
|
||||
@ -415,6 +421,11 @@ class CORE_EXPORT QgsMapLayer : public QObject
|
||||
/** layer's Spatial reference system */
|
||||
QgsCoordinateReferenceSystem* mCRS;
|
||||
|
||||
QString mTitle;
|
||||
|
||||
/**Description of the layer*/
|
||||
QString mAbstract;
|
||||
|
||||
private:
|
||||
|
||||
/** private copy constructor - QgsMapLayer not copyable */
|
||||
|
@ -363,6 +363,8 @@ void QgsConfigParser::appendCRSElementsToLayer( QDomElement& layerElement, QDomD
|
||||
|
||||
//insert the CRS elements after the title element to be in accordance with the WMS 1.3 specification
|
||||
QDomElement titleElement = layerElement.firstChildElement( "Title" );
|
||||
QDomElement abstractElement = layerElement.firstChildElement( "Abstract" );
|
||||
QDomElement CRSPrecedingElement = abstractElement.isNull() ? titleElement : abstractElement; //last element before the CRS elements
|
||||
|
||||
//In case the number of advertised CRS is constrained
|
||||
QStringList constrainedCrsList = supportedOutputCrsList();
|
||||
@ -370,37 +372,25 @@ void QgsConfigParser::appendCRSElementsToLayer( QDomElement& layerElement, QDomD
|
||||
{
|
||||
for ( int i = constrainedCrsList.size() - 1; i >= 0; --i )
|
||||
{
|
||||
appendCRSElementToLayer( layerElement, titleElement, constrainedCrsList.at( i ), doc );
|
||||
#if 0
|
||||
QDomElement crsElement = doc.createElement( "CRS" );
|
||||
QDomText crsText = doc.createTextNode( constrainedCrsList.at( i ) );
|
||||
crsElement.appendChild( crsText );
|
||||
layerElement.insertAfter( crsElement, titleElement );
|
||||
#endif
|
||||
appendCRSElementToLayer( layerElement, CRSPrecedingElement, constrainedCrsList.at( i ), doc );
|
||||
}
|
||||
}
|
||||
else //no crs constraint
|
||||
{
|
||||
foreach( QString crs, crsList )
|
||||
{
|
||||
appendCRSElementToLayer( layerElement, titleElement, crs, doc );
|
||||
#if 0
|
||||
QDomElement crsElement = doc.createElement( "CRS" );
|
||||
QDomText crsText = doc.createTextNode( *crsIt );
|
||||
crsElement.appendChild( crsText );
|
||||
layerElement.insertAfter( crsElement, titleElement );
|
||||
#endif
|
||||
appendCRSElementToLayer( layerElement, CRSPrecedingElement, crs, doc );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void QgsConfigParser::appendCRSElementToLayer( QDomElement& layerElement, const QDomElement& titleElement, const QString& crsText, QDomDocument& doc ) const
|
||||
void QgsConfigParser::appendCRSElementToLayer( QDomElement& layerElement, const QDomElement& precedingElement, const QString& crsText, QDomDocument& doc ) const
|
||||
{
|
||||
QString version = doc.documentElement().attribute( "version" );
|
||||
QDomElement crsElement = doc.createElement( version == "1.1.1" ? "SRS" : "CRS" );
|
||||
QDomText crsTextNode = doc.createTextNode( crsText );
|
||||
crsElement.appendChild( crsTextNode );
|
||||
layerElement.insertAfter( crsElement, titleElement );
|
||||
layerElement.insertAfter( crsElement, precedingElement );
|
||||
}
|
||||
|
||||
QgsComposition* QgsConfigParser::createPrintComposition( const QString& composerTemplate, QgsMapRenderer* mapRenderer, const QMap< QString, QString >& parameterMap ) const
|
||||
|
@ -170,7 +170,7 @@ class QgsConfigParser
|
||||
@return true in case of success*/
|
||||
bool crsSetForLayer( const QDomElement& layerElement, QSet<QString> &crsSet ) const;
|
||||
void appendCRSElementsToLayer( QDomElement& layerElement, QDomDocument& doc, const QStringList &crsList ) const;
|
||||
void appendCRSElementToLayer( QDomElement& layerElement, const QDomElement& titleElement, const QString& crsText, QDomDocument& doc ) const;
|
||||
void appendCRSElementToLayer( QDomElement& layerElement, const QDomElement& precedingElement, const QString& crsText, QDomDocument& doc ) const;
|
||||
|
||||
void setDefaultLegendSettings();
|
||||
};
|
||||
|
@ -239,10 +239,24 @@ void QgsProjectParser::addLayers( QDomDocument &doc,
|
||||
layerElem.appendChild( nameElem );
|
||||
|
||||
QDomElement titleElem = doc.createElement( "Title" );
|
||||
QDomText titleText = doc.createTextNode( currentLayer->name() );
|
||||
QString titleName = currentLayer->title();
|
||||
if ( titleName.isEmpty() )
|
||||
{
|
||||
titleName = currentLayer->name();
|
||||
}
|
||||
QDomText titleText = doc.createTextNode( titleName );
|
||||
titleElem.appendChild( titleText );
|
||||
layerElem.appendChild( titleElem );
|
||||
|
||||
QString abstract = currentLayer->abstract();
|
||||
if ( !abstract.isEmpty() )
|
||||
{
|
||||
QDomElement abstractElem = doc.createElement( "Abstract" );
|
||||
QDomText abstractText = doc.createTextNode( abstract );
|
||||
abstractElem.appendChild( abstractText );
|
||||
layerElem.appendChild( abstractElem );
|
||||
}
|
||||
|
||||
//CRS
|
||||
QStringList crsList = createCRSListForLayer( currentLayer );
|
||||
appendCRSElementsToLayer( layerElem, doc, crsList );
|
||||
|
@ -1724,11 +1724,41 @@
|
||||
<attribute name="title">
|
||||
<string>Metadata</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout">
|
||||
<property name="margin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_6">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="mLayerTitleLabel">
|
||||
<property name="text">
|
||||
<string>Title</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLineEdit" name="mLayerTitleLineEdit"/>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QLabel" name="mLayerAbstractLabel">
|
||||
<property name="text">
|
||||
<string>Abstract</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0">
|
||||
<widget class="QTextEdit" name="mLayerAbstractTextEdit">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Minimum">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="0">
|
||||
<widget class="QTextBrowser" name="txtbMetadata"/>
|
||||
</item>
|
||||
</layout>
|
||||
@ -1771,22 +1801,24 @@
|
||||
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'Ubuntu'; font-size:10pt; font-weight:400; font-style:normal;">
|
||||
</style></head><body style=" font-family:'Ubuntu'; font-size:9pt; font-weight:400; font-style:normal;">
|
||||
<table border="0" style="-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;">
|
||||
<tr>
|
||||
<td style="border: none;">
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans';"></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;"></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:11pt;"></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans';"></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans';"></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans';"></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans';"></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans';"></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans';"></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans';"></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans';"></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans';"></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:9pt;"></p></td></tr></table></body></html></string>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif';"></p></td></tr></table></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -6,7 +6,7 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>777</width>
|
||||
<width>762</width>
|
||||
<height>672</height>
|
||||
</rect>
|
||||
</property>
|
||||
@ -20,49 +20,7 @@
|
||||
<property name="modal">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="1" column="0">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<widget class="QPushButton" name="pbnLoadDefaultStyle">
|
||||
<property name="text">
|
||||
<string>Restore Default Style</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pbnSaveDefaultStyle">
|
||||
<property name="text">
|
||||
<string>Save As Default</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pbnLoadStyle">
|
||||
<property name="text">
|
||||
<string>Load Style ...</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pbnSaveStyleAs">
|
||||
<property name="text">
|
||||
<string>Save Style ...</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QDialogButtonBox" name="buttonBox">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="standardButtons">
|
||||
<set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<layout class="QGridLayout" name="gridLayout_8">
|
||||
<item row="0" column="0">
|
||||
<widget class="QTabWidget" name="tabWidget">
|
||||
<property name="currentIndex">
|
||||
@ -372,8 +330,8 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>755</width>
|
||||
<height>542</height>
|
||||
<width>746</width>
|
||||
<height>569</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_3">
|
||||
@ -590,8 +548,47 @@
|
||||
<attribute name="title">
|
||||
<string>Metadata</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_8">
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="mLayerTitleLabel">
|
||||
<property name="text">
|
||||
<string>Title</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLineEdit" name="mLayerTitleLineEdit"/>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QLabel" name="mLayerAbstractLabel">
|
||||
<property name="text">
|
||||
<string>Abstract</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0">
|
||||
<widget class="QTextEdit" name="mLayerAbstractTextEdit">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>50</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>80</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="0">
|
||||
<widget class="QTextEdit" name="teMetadata">
|
||||
<property name="lineWidth">
|
||||
<number>2</number>
|
||||
@ -1197,6 +1194,48 @@
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<widget class="QPushButton" name="pbnLoadDefaultStyle">
|
||||
<property name="text">
|
||||
<string>Restore Default Style</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pbnSaveDefaultStyle">
|
||||
<property name="text">
|
||||
<string>Save As Default</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pbnLoadStyle">
|
||||
<property name="text">
|
||||
<string>Load Style ...</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pbnSaveStyleAs">
|
||||
<property name="text">
|
||||
<string>Save Style ...</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QDialogButtonBox" name="buttonBox">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="standardButtons">
|
||||
<set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<layoutdefault spacing="6" margin="11"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user