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:
gsherman 2004-11-29 05:46:51 +00:00
parent 5718f85046
commit 4f216df47f
6 changed files with 114 additions and 119 deletions

View File

@ -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);

View File

@ -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>

View File

@ -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">

View File

@ -29,120 +29,113 @@
<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> <property name="name">
<x>110</x> <cstring>dot</cstring>
<y>36</y> </property>
<width>95</width> <property name="maximumSize">
<height>31</height> <size>
</rect> <width>60</width>
</property> <height>30</height>
<property name="text"> </size>
<string></string> </property>
</property> <property name="text">
<property name="toggleButton"> <string></string>
<bool>true</bool> </property>
</property> <property name="toggleButton">
</widget> <bool>true</bool>
<widget class="QPushButton"> </property>
<property name="name"> </widget>
<cstring>solid</cstring> <widget class="QPushButton" row="2" column="1">
</property> <property name="name">
<property name="geometry"> <cstring>nopen</cstring>
<rect> </property>
<x>9</x> <property name="maximumSize">
<y>36</y> <size>
<width>95</width> <width>60</width>
<height>31</height> <height>30</height>
</rect> </size>
</property> </property>
<property name="text"> <property name="text">
<string></string> <string></string>
</property> </property>
<property name="toggleButton"> <property name="toggleButton">
<bool>true</bool> <bool>true</bool>
</property> </property>
</widget> </widget>
<widget class="QPushButton"> <widget class="QPushButton" row="1" column="1">
<property name="name"> <property name="name">
<cstring>dashdotdot</cstring> <cstring>dashdotdot</cstring>
</property> </property>
<property name="geometry"> <property name="maximumSize">
<rect> <size>
<x>110</x> <width>60</width>
<y>73</y> <height>30</height>
<width>95</width> </size>
<height>31</height> </property>
</rect> <property name="text">
</property> <string></string>
<property name="text"> </property>
<string></string> <property name="toggleButton">
</property> <bool>true</bool>
<property name="toggleButton"> </property>
<bool>true</bool> </widget>
</property> <widget class="QPushButton" row="0" column="1">
</widget> <property name="name">
<widget class="QPushButton"> <cstring>dashdot</cstring>
<property name="name"> </property>
<cstring>nopen</cstring> <property name="maximumSize">
</property> <size>
<property name="geometry"> <width>60</width>
<rect> <height>30</height>
<x>110</x> </size>
<y>110</y> </property>
<width>95</width> <property name="text">
<height>31</height> <string></string>
</rect> </property>
</property> <property name="toggleButton">
<property name="text"> <bool>true</bool>
<string></string> </property>
</property> </widget>
<property name="toggleButton"> <widget class="QPushButton" row="1" column="0">
<bool>true</bool> <property name="name">
</property> <cstring>dash</cstring>
</widget> </property>
<widget class="QPushButton"> <property name="maximumSize">
<property name="name"> <size>
<cstring>dot</cstring> <width>60</width>
</property> <height>30</height>
<property name="geometry"> </size>
<rect> </property>
<x>9</x> <property name="text">
<y>110</y> <string></string>
<width>95</width> </property>
<height>31</height> <property name="toggleButton">
</rect> <bool>true</bool>
</property> </property>
<property name="text"> </widget>
<string></string> <widget class="QPushButton" row="0" column="0">
</property> <property name="name">
<property name="toggleButton"> <cstring>solid</cstring>
<bool>true</bool> </property>
</property> <property name="maximumSize">
</widget> <size>
<widget class="QPushButton"> <width>60</width>
<property name="name"> <height>30</height>
<cstring>dash</cstring> </size>
</property> </property>
<property name="geometry"> <property name="text">
<rect> <string></string>
<x>9</x> </property>
<y>73</y> <property name="toggleButton">
<width>95</width> <bool>true</bool>
<height>31</height> </property>
</rect> </widget>
</property> </grid>
<property name="text">
<string></string>
</property>
<property name="toggleButton">
<bool>true</bool>
</property>
</widget>
</widget> </widget>
<spacer row="1" column="3"> <spacer row="1" column="3">
<property name="name"> <property name="name">

View File

@ -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_

View File

@ -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>