[Qt-interest] QLabel buddy and Custom Widget.
Bo Thorsen
bo at fioniasoftware.dk
Mon May 2 09:12:13 CEST 2011
Den 01-05-2011 18:01, NaGeL skrev:
> Hello its the newb again.
>
> And now i would like to ask. How does QLAbel's buddy function works?
> And how can I get it to work with my Custom Widget?
>
> My Widget Contains several tool button and a QTextEdit.
> I want to set QLabel's buddy the QTextEit, that is inside my Custom Widget.
>
> is this too a Q_Property stuff? if yes how? i looked into the QLabel's
> header and QTextEdits header files but i failed to find any indication...
I don't know this, but I know how I would find out: Read the Qt
sourcecode. This is a perfect case of a problem that most likely will
take you no longer than maximum 10 minutes to figure out by looking at
the QLabel sources.
I'm not trying to be clever here. This is a tool I use very often, and I
think it's important to keep reminding people that it's available.
Bo Thorsen,
Fionia Software.
--
Expert Qt and C++ developer for hire
Contact me if you need expert Qt help
http://www.fioniasoftware.dk
More information about the Qt-interest-old
mailing list