Web lists-archives.com

Re: Trouble with tool bars




On Sunday 01 April 2018, Albert Astals Cid wrote:
> El divendres, 30 de març de 2018, a les 17:36:32 CEST, Robin Atwood va
> 
> escriure:
> > I want to add a short-cut to one of the tool bars but I don't have a
> > QAction for it. I tried listing the contents of
> > actionCollection()->actions() but neither of the tool bars appeared. How
> > do I find the QAction?
> 
> QAction for what? showing/hiding the toolbar?

I want to add a shortcut and connect to the triggered() signal. I tried adding 
my own menu action to show/hide the toolbar but then I still get a duplicate 
action under "Toolbars Shown" which is automatically generated. Can that be 
suppressed? Doco for kpartgui seems a bit sparse and some attributes (noEdit, 
shortcut) don't seem to do anything.

Thanks
Robin


-- 
----------------------------------------------------------------------
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
         from "Mandalay" by Rudyard Kipling
----------------------------------------------------------------------









-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.