[Qt-interest] how to generate a hyperlink like button?
Gabriele Kahlout
gabriele at mysimpatico.com
Mon May 10 13:33:33 CEST 2010
but I'm not doing a hyperlink, actually. It's still a slot signal thing. I
just want to imitate the gui aspect of it.
So clicking on the label i want a signal emitted. Is that possible? I didn't
find it in the doc.
2010/5/10 Andre Somers <andre at familiesomers.nl>
> On 10-5-2010 12:37, Gabriele Kahlout wrote:
> > Hello,
> >
> > I flat QPushButton, is half the trick. I'd like it look underlined and
> > blue, just like a hyperlink. Etwas a clickable formatted QLabel.
> So... use a QLabel with a hyperlink set in the text, then? QLabel can
> handle hyperlinks just fine. Check out the linkActivated signal, for
> instance.
>
> André
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
--
Regards,
K. Gabriele
--- unchanged since 25/1/10 ---
P.S. Unless a notification (LON), please reply either with an answer OR with
" ACK" appended to this subject within 48 hours. Otherwise, I might resend.
In(LON, this) ∨ In(48h, TimeNow) ∨ ∃x. In(x, MyInbox) ∧ IsAnswerTo(x, this)
∨ (In(subject(this), subject(x)) ∧ In(ACK, subject(x)) ∧
¬IsAnswerTo(x,this)) ⇒ ¬IResend(this).
Also note that correspondence may be received only from specified a priori
senders, or if the subject of this email ends with a code, eg. -LICHT01X,
then also from senders whose reply contains it.
∀x. In(x, MyInbox) ⇒ In(senderAddress(x), MySafeSenderList) ∨ (∃y. In(y,
subject(this) ) ∧ In(y,x) ∧ isCodeLike(y, -LICHT01X) ).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100510/a9953a6d/attachment.html
More information about the Qt-interest-old
mailing list