Skip to main content
Bumped by Community user
improved formatting
Source Link
mgri
  • 16.3k
  • 6
  • 48
  • 80

I installed the custom tool barCustomize ToolBars plugin and created a few custom tool barstoolbars. How ever i seeHowever, I saw they only get a label name and noinstead of the actual toolbar name. I checked customization and also printed all toolbars via pythonPython:

from PyQt4.QtGui import QToolBar

for x in iface.mainWindow().findChildren(QToolBar): 
    if x:
        print x.objectName()
from PyQt4.QtGui import QToolBar

for x in iface.mainWindow().findChildren(QToolBar): 
    if x:
        print x.objectName()

This results in the following outputs. The plugins iI want to find names for are showing up blank or empty.

Is there a way to just add some name to these unnamed toolbars?

output

I installed the custom tool bar plugin and created a few custom tool bars. How ever i see they only get a label name and no actual toolbar name. I checked customization and also printed all toolbars via python

from PyQt4.QtGui import QToolBar

for x in iface.mainWindow().findChildren(QToolBar): 
    if x:
        print x.objectName()

This results in the following outputs. The plugins i want to find names for are showing up blank or empty.

Is there a way to just add some name to these unnamed toolbars?

output

I installed the Customize ToolBars plugin and created a few custom toolbars. However, I saw they only get a label name instead of the actual toolbar name. I checked customization and also printed all toolbars via Python:

from PyQt4.QtGui import QToolBar

for x in iface.mainWindow().findChildren(QToolBar): 
    if x:
        print x.objectName()

This results in the following outputs. The plugins I want to find names for are showing up blank or empty.

Is there a way to just add some name to these unnamed toolbars?

output

I installed the custom tool bar plugin and created a few custom tool bars. How ever i see they only get a label name and no actual toolbar name. I checked customization and also printed all toolbars via python

from PyQt4.QtGui import QToolBar

for x in iface.mainWindow().findChildren(QToolBar): if x: print x.objectName()

from PyQt4.QtGui import QToolBar

for x in iface.mainWindow().findChildren(QToolBar): 
    if x:
        print x.objectName()

This results in the following outputs. The plugins i want to find names for are showing up blank or empty. 

Is there a way to just add some name to these unnamed toolbars?

output

I installed the custom tool bar plugin and created a few custom tool bars. How ever i see they only get a label name and no actual toolbar name. I checked customization and also printed all toolbars via python

from PyQt4.QtGui import QToolBar

for x in iface.mainWindow().findChildren(QToolBar): if x: print x.objectName()

This results in the following outputs. The plugins i want to find names for are showing up blank or empty. Is there a way to just add some name to these unnamed toolbars?

output

I installed the custom tool bar plugin and created a few custom tool bars. How ever i see they only get a label name and no actual toolbar name. I checked customization and also printed all toolbars via python

from PyQt4.QtGui import QToolBar

for x in iface.mainWindow().findChildren(QToolBar): 
    if x:
        print x.objectName()

This results in the following outputs. The plugins i want to find names for are showing up blank or empty. 

Is there a way to just add some name to these unnamed toolbars?

output

edited title
Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345

Can You Change Changing/Add aAdding Toolbar Name in QGIS?

Source Link
Loading