Feature request #2469

advancedDigitizeToolBar is not visible for plugin development

Added by skiefer - over 10 years ago. Updated over 10 years ago.

Status:Closed
Priority:Low
Assignee:Gary Sherman
Category:Python plugins
Pull Request or Patch supplied: Resolution:fixed
Easy fix?:No Copied to github as #:12529

Description

There is no function in the main qgis interface to retrieve the advanced digitize toolbar from a plugin (in my case while developing in python).
In fact i identified that there is no member exposing this toolbar.
I am not a c++ developer, but I believe the following places (at least) must be changed, respectively other places. Whatsoever, it worked for me with this changes:

qgisinterface.h:

after line 190:
virtual QToolBar *advancedDigitizeToolBar() = 0;

qgisappinterface.cpp:

after line 233:
QToolBar *QgisAppInterface::advancedDigitizeToolBar() { return qgis->advancedDigitizeToolBar(); }

qgisinterface.sip:

after line 144:
virtual QToolBar *advancedDigitizeToolBar() = 0;

History

#1 Updated by Martin Dobias over 10 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

added in 26f4b451 (SVN r13176)

Also available in: Atom PDF