Opened 14 years ago
Closed 14 years ago
#2469 closed enhancement (fixed)
advancedDigitizeToolBar is not visible for plugin development
Reported by: | skiefer | Owned by: | gsherman |
---|---|---|---|
Priority: | minor: annoyance | Milestone: | Version 1.5.0 |
Component: | Python plugins and bindings | Version: | Trunk |
Keywords: | plugin c++ python toolbar | Cc: | |
Must Fix for Release: | No | Platform: | All |
Platform Version: | Awaiting user input: | no |
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;
Change History (2)
comment:1 by , 14 years ago
Component: | Build/Install → Python plugins and bindings |
---|
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
added in r13175