PDA

View Full Version : Nested Plugins Signals



qtnewbi3
9th September 2011, 14:54
Hi Guys,

I have a quick question. I have a few custom pushbutton plugins that i put in a frame and made that a custom plugin as well. I am currently using this frame as part of a custom widget. My question is how can I access the clicked() signal of the pushbuttons in the main widget.
I tried frame->Button->button,SIGNAL(clicked()) but I am getting an error saying its inaccessible within this context.

I am sure I made they are public.

I know the alternative is to emit a signal when clicked from the button to its plugin which emits a signal to the frame.
This works as I have tested it out. I am wondering if there was a way to access it directly.

Thanks