[Qgis-developer] Re: QgsProject.instance().isDirty()

Martin Dobias wonder.sk at gmail.com
Mon Sep 5 17:08:38 EDT 2011


On Fri, Sep 2, 2011 at 4:18 PM, Bob English <bobengl at gmail.com> wrote:
> Hi Martin,
>
> Thanks for taking the time to reply.  Since I had to meet a deadline for the
> CAPS app I'm working on, I just wrote my own "is.dirty()" check in Python.
> I thought maybe the QgsProject.instance().isDirty() function depended on the
> layer list panel or some other part of QGIS that isn't part of my app.  I
> looked through the developer list archives, but I didn't find anything
> detailed about how the QgsProject class works.  I guess I'd have to read
> through the C++ code, but my understanding of C++ is limited at this
> point--something I intend to remedy in the near future.  If there is a good
> intermediate level C++ book you know of, please let me know.

Oh, if the library users have to read through the c++ then we are
really lacking some developer documentation.

I cannot recommend any intermediate level c++ books however there
should be plenty of online resources like tutorials on object-oriented
programming in c++ (that is what I would consider as intermediate
level of c++).


> Also, thanks for your work on the Python documentation.  I would not been
> able to develop the CAPS app without that help.  I will be posting my code
> soon, and hopefully there will be some stuff in there that is useful for
> creating documentation.  I am also willing to help out with some of the
> PyQgis documentation if that is useful.

Any help with PyQGIS documentation would be highly appreciated!

Martin


More information about the Qgis-developer mailing list