Re: [Qgis-developer] Adding buttons to the attribute table toolbar

2016-08-31 Thread Hugo Mercier
Ah indeed :) I see. I don't know very well this part of the code, but I don't think there is a direct way to add a button in the attribute table. You could always use QT introspection to look for the QToolBar and add your own button ... but it's quite hacky. Or we could extend a bit the concept

Re: [Qgis-developer] Adding buttons to the attribute table toolbar

2016-08-31 Thread Hugo Mercier
Hi Andreas, I think you can create Python-based actions and use the new option "show them in the attribute table" On 31/08/2016 09:27, Neumann, Andreas wrote: > Hi, > > Is it possible to add my own buttons to the toolbar of the attribute > table window? > > If yes - do you have some sample

[Qgis-developer] Adding buttons to the attribute table toolbar

2016-08-31 Thread Neumann, Andreas
Hi, Is it possible to add my own buttons to the toolbar of the attribute table window? If yes - do you have some sample code how to do this? My goal is to trigger some Python code that would process the currently selected features of the attribute table. Thanks, Andreas