[Qgis-developer] Re: [Qgis-community-team] Context sensitive help id generator

Mailing Lists lists at linfiniti.com
Tue Nov 17 18:48:31 EST 2009


Hi

>> But my initial idea doesn't work.  You can't do slots on Non-QObjects and you
>> can't inherit from different QObjects.   And moc doesn't expand macros.
>>
>> So I had to add following slot to all the classes:
>>
>> void contextHelp() { QgsContextHelp::run( metaObject()->className() ); }
>>
>> The patch is at [1].   Opinions on commiting?
>
> I would prefer to see some opinions from others before committing. It
> doesn't matter to me as long as things are maintained...
>

I think the major load of context help is on help writers and
translators and it would be good to make life easy for them at the
expense of a little added maintenance on devs when renaming dialogs.
The dialog names dont change that often and getting things set so that
they fine doc folks can go for it makes sense to me.

So +1 from me for using help files based on dialog class names (and
Juergens patch).

Regards



--
Tim Sutton - QGIS Project Steering Committee Member (Release  Manager)
==============================================
Visit http://linfiniti.com to find out about:
 * QGIS programming services
 * Mapserver and PostGIS based hosting plans
 * FOSS Consulting Services
Skype: timlinux Irc: timlinux on #qgis at freenode.net
==============================================
_______________________________________________
Qgis-community-team mailing list
Qgis-community-team at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-community-team



-- 
Tim Sutton - QGIS Project Steering Committee Member (Release  Manager)
==============================================
Please do not email me off-list with technical
support questions. Using the lists will gain
more exposure for your issues and the knowledge
surrounding your issue will be shared with all.

Visit http://linfiniti.com to find out about:
 * QGIS programming and support services
 * Mapserver and PostGIS based hosting plans
 * FOSS Consulting Services
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
==============================================


More information about the Qgis-developer mailing list