Alle QActions eines Menüs --> Dann deren QActions
Verfasst: 13. November 2008 19:38
Tachchen,
Ich möchte gerne alle QActions in meinem Hauptmenü programmatisch ermitteln. Via QMenu::getActions() bekomme ich ja bereits die Haupt-Menüpunkte ("Datei", "Bearbeiten", ...), aber wie geht es von da aus weiter? QAction selbst hat ja soetwas wie getActions() oder getChilds() nicht, oder bin ich einfach nur blind?
Viele Grüße,
Markus
Ich möchte gerne alle QActions in meinem Hauptmenü programmatisch ermitteln. Via QMenu::getActions() bekomme ich ja bereits die Haupt-Menüpunkte ("Datei", "Bearbeiten", ...), aber wie geht es von da aus weiter? QAction selbst hat ja soetwas wie getActions() oder getChilds() nicht, oder bin ich einfach nur blind?
Viele Grüße,
Markus