mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-18 00:06:00 -04:00
more minor fixes to vector dialog
git-svn-id: http://svn.osgeo.org/qgis/trunk@2370 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
5718f85046
commit
4f216df47f
@ -856,6 +856,7 @@ static void buildSupportedVectorFileFilter_(QString & fileFilters)
|
|||||||
*/
|
*/
|
||||||
static void openFilesRememberingFilter_(QString const &filterName, QString const &filters, QStringList & selectedFiles)
|
static void openFilesRememberingFilter_(QString const &filterName, QString const &filters, QStringList & selectedFiles)
|
||||||
{
|
{
|
||||||
|
|
||||||
bool haveLastUsedFilter = false; // by default, there is no last
|
bool haveLastUsedFilter = false; // by default, there is no last
|
||||||
// used filter
|
// used filter
|
||||||
|
|
||||||
@ -908,6 +909,7 @@ static void openFilesRememberingFilter_(QString const &filterName, QString const
|
|||||||
*/
|
*/
|
||||||
void QgisApp::addLayer()
|
void QgisApp::addLayer()
|
||||||
{
|
{
|
||||||
|
|
||||||
QString fileFilters;
|
QString fileFilters;
|
||||||
|
|
||||||
buildSupportedVectorFileFilter_(fileFilters);
|
buildSupportedVectorFileFilter_(fileFilters);
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>488</width>
|
<width>492</width>
|
||||||
<height>600</height>
|
<height>600</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
@ -8,8 +8,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>490</width>
|
<width>491</width>
|
||||||
<height>572</height>
|
<height>575</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
|
@ -29,93 +29,19 @@
|
|||||||
<property name="exclusive">
|
<property name="exclusive">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QPushButton">
|
<grid>
|
||||||
<property name="name">
|
<property name="name">
|
||||||
<cstring>dashdot</cstring>
|
<cstring>unnamed</cstring>
|
||||||
</property>
|
</property>
|
||||||
<property name="geometry">
|
<widget class="QPushButton" row="2" column="0">
|
||||||
<rect>
|
|
||||||
<x>110</x>
|
|
||||||
<y>36</y>
|
|
||||||
<width>95</width>
|
|
||||||
<height>31</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string></string>
|
|
||||||
</property>
|
|
||||||
<property name="toggleButton">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<widget class="QPushButton">
|
|
||||||
<property name="name">
|
|
||||||
<cstring>solid</cstring>
|
|
||||||
</property>
|
|
||||||
<property name="geometry">
|
|
||||||
<rect>
|
|
||||||
<x>9</x>
|
|
||||||
<y>36</y>
|
|
||||||
<width>95</width>
|
|
||||||
<height>31</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string></string>
|
|
||||||
</property>
|
|
||||||
<property name="toggleButton">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<widget class="QPushButton">
|
|
||||||
<property name="name">
|
|
||||||
<cstring>dashdotdot</cstring>
|
|
||||||
</property>
|
|
||||||
<property name="geometry">
|
|
||||||
<rect>
|
|
||||||
<x>110</x>
|
|
||||||
<y>73</y>
|
|
||||||
<width>95</width>
|
|
||||||
<height>31</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string></string>
|
|
||||||
</property>
|
|
||||||
<property name="toggleButton">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<widget class="QPushButton">
|
|
||||||
<property name="name">
|
|
||||||
<cstring>nopen</cstring>
|
|
||||||
</property>
|
|
||||||
<property name="geometry">
|
|
||||||
<rect>
|
|
||||||
<x>110</x>
|
|
||||||
<y>110</y>
|
|
||||||
<width>95</width>
|
|
||||||
<height>31</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string></string>
|
|
||||||
</property>
|
|
||||||
<property name="toggleButton">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<widget class="QPushButton">
|
|
||||||
<property name="name">
|
<property name="name">
|
||||||
<cstring>dot</cstring>
|
<cstring>dot</cstring>
|
||||||
</property>
|
</property>
|
||||||
<property name="geometry">
|
<property name="maximumSize">
|
||||||
<rect>
|
<size>
|
||||||
<x>9</x>
|
<width>60</width>
|
||||||
<y>110</y>
|
<height>30</height>
|
||||||
<width>95</width>
|
</size>
|
||||||
<height>31</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string></string>
|
<string></string>
|
||||||
@ -124,17 +50,66 @@
|
|||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QPushButton">
|
<widget class="QPushButton" row="2" column="1">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>nopen</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>60</width>
|
||||||
|
<height>30</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string></string>
|
||||||
|
</property>
|
||||||
|
<property name="toggleButton">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QPushButton" row="1" column="1">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>dashdotdot</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>60</width>
|
||||||
|
<height>30</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string></string>
|
||||||
|
</property>
|
||||||
|
<property name="toggleButton">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QPushButton" row="0" column="1">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>dashdot</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>60</width>
|
||||||
|
<height>30</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string></string>
|
||||||
|
</property>
|
||||||
|
<property name="toggleButton">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QPushButton" row="1" column="0">
|
||||||
<property name="name">
|
<property name="name">
|
||||||
<cstring>dash</cstring>
|
<cstring>dash</cstring>
|
||||||
</property>
|
</property>
|
||||||
<property name="geometry">
|
<property name="maximumSize">
|
||||||
<rect>
|
<size>
|
||||||
<x>9</x>
|
<width>60</width>
|
||||||
<y>73</y>
|
<height>30</height>
|
||||||
<width>95</width>
|
</size>
|
||||||
<height>31</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string></string>
|
<string></string>
|
||||||
@ -143,6 +118,24 @@
|
|||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
|
<widget class="QPushButton" row="0" column="0">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>solid</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>60</width>
|
||||||
|
<height>30</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string></string>
|
||||||
|
</property>
|
||||||
|
<property name="toggleButton">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</grid>
|
||||||
</widget>
|
</widget>
|
||||||
<spacer row="1" column="3">
|
<spacer row="1" column="3">
|
||||||
<property name="name">
|
<property name="name">
|
||||||
|
@ -960,9 +960,9 @@ dump_( QMap< QString, PropertyKey > const & property_list )
|
|||||||
curr_scope != property_list.end();
|
curr_scope != property_list.end();
|
||||||
curr_scope++ )
|
curr_scope++ )
|
||||||
{
|
{
|
||||||
qDebug( "<%s>", curr_scope.key() );
|
// qDebug( "<%s>", curr_scope.key() );
|
||||||
curr_scope.data().dump( );
|
curr_scope.data().dump( );
|
||||||
qDebug( "</%s>", curr_scope.key() );
|
// qDebug( "</%s>", curr_scope.key() );
|
||||||
}
|
}
|
||||||
} // dump_
|
} // dump_
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>406</width>
|
<width>366</width>
|
||||||
<height>373</height>
|
<height>373</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
@ -474,7 +474,7 @@
|
|||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="title">
|
<property name="title">
|
||||||
<string>Fill Pattern:</string>
|
<string>Fill Patterns:</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="exclusive">
|
<property name="exclusive">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user