Changed the way button actions are implemented so that the slots are made by qt designer in the ABC and then reimplemented in the subclassed qgsdlgvectorlaye
rproperties.
Separated level dialog over four tabs instead of 2 in an effort to reduce size of vector dialog. Having 'tabs within tabs' is not really nice ui design, but
Ill leave it like that until we use get a decent implementation of kde / outlook style configuration panel.
Rearranged various other widgets within vector dialog to improve layout.
More changes to come.
sisy dialog is not right either - will change that in a follow up commit...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2254 c8812cc2-4d05-0410-92ff-de0c093fc19c
automatically (expand the feature node) if only one feature is identified
git-svn-id: http://svn.osgeo.org/qgis/trunk@2249 c8812cc2-4d05-0410-92ff-de0c093fc19c
doesn't make sense because qgis has either already chosen a display field
value by the time the user has opened the layer config dialog box, or it
has read in a value from a .qgs file.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2248 c8812cc2-4d05-0410-92ff-de0c093fc19c
Added option to set initial layer visibility to false for ogr providers (other layer types to follow). This has not been tested against the project loading code.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2246 c8812cc2-4d05-0410-92ff-de0c093fc19c
Updated _all_ plugins so that initGui() is implemented as a slot.
This is required if you wish to use qgsproject for storing and reinstating state in qgis. The reason for this is that the initGui() method is only called once at the moment when qgis starts up. I will be adding a signal to qgisproject 'projectLoaded' that will be emitted when a new project is loaded. I will also be adding connect() for each plugin when its initially loaded in qgisapp so that the initgui slot is called whenever the project loads.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2238 c8812cc2-4d05-0410-92ff-de0c093fc19c
Win ifdefs added
Now in sync with external plugins template (which was more up to date)
git-svn-id: http://svn.osgeo.org/qgis/trunk@2237 c8812cc2-4d05-0410-92ff-de0c093fc19c
field used as the top level field in the Identify Results dialog
box. The value is read from and written to .qgs files
git-svn-id: http://svn.osgeo.org/qgis/trunk@2222 c8812cc2-4d05-0410-92ff-de0c093fc19c
- added qgsvectordataprovider.cpp to library so that plug-ins could
successfully link
qgisapp :
- added projectRead() and newProject() signals
- project now clears any existing properties when a new one is created
qgsproject :
- clearProperties()
Note:
To take full advantage of having optional project properties, plug-ins would
need to know when a project was successfully read or when a new one created.
That way the plug-ins would know to check the properties of the newly loaded
project for plug-in relevent properties, or to reset their state when a new
project is loaded. So, projectRead() and projectNew() signals were added to
QgisApp to handle those cases, respectively.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2217 c8812cc2-4d05-0410-92ff-de0c093fc19c
- added back virtual reset() since I needed access to OGR data provider
reset function to ensure that I got all features in a given OGR backed
vector layer
qgsmaplayer :
- minor re-formatting
- made some functions const-correct; and now pass things by reference, thus
sparing unnecessary copying
- internalName now set in readXML() -- which is just the basename of the
data file
qgsvectorlayer :
- minor code re-formatting
git-svn-id: http://svn.osgeo.org/qgis/trunk@2216 c8812cc2-4d05-0410-92ff-de0c093fc19c
useful for plug-ins to store their own data with project files.
NOTE, that currently only the following QVariant types are supported: QString,
Bool, Int, UInt, LongLong, ULongLong, and Double. However, adding other
QVariant supported types should be trivial -- just expand the "else if" in
_getScopeProperties in qgsproject.cpp appropriately.
Tested for QString. Theoretically other types should work, too, but you never
know. Caveat programmor!
git-svn-id: http://svn.osgeo.org/qgis/trunk@2210 c8812cc2-4d05-0410-92ff-de0c093fc19c
implement _reading_ same. Still, there should be enough here for plug-in
maintainers to cobble up code to take advantage of this new capability.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2209 c8812cc2-4d05-0410-92ff-de0c093fc19c
access to items that weren't clicked on.
Updated and improved the What's This help for the Actions dialog
box.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2201 c8812cc2-4d05-0410-92ff-de0c093fc19c