[Qt-interest] currentVerticalAlignmentChanged signal of QTextEdit
Andre Somers
andre at familiesomers.nl
Fri Aug 27 11:46:07 CEST 2010
Op Vr, 27 augustus, 2010 11:12 am, schreef Nishant Sharma:
> Hello,
> I'm trying to add following signal-slot connection, but it gives an error
> while my GUI loads:
> connect( editor, SIGNAL(
> currentVerticalAlignmentChanged(QTextEdit::VerticalAlignment
> )),this,SLOT(verticalAlignChanged(QTextEdit::VerticalAlignment )));
>
> Here, editor is an object of class QTextEdit. My QT version is 3.3.6
>
> The error that comes is:
> QObject::connect: No such signal
> AotPlatTextEdit::currentVerticalAlignmentChanged(QTextEdit::VerticalAlignment)
> QObject::connect: (sender name: 'formatedit_textEdit1')
> QObject::connect: (receiver name: 'formatedit_1')
>
> Any suggestions as to what could be the possible error?
That seems obvious, the error above is quite clear: you have no signal
currentVerticalAlignmentChanged(QTextEdit::VerticalAlignment).
André
More information about the Qt-interest-old
mailing list