#1548 calltip can not work on qt

Bug
open-accepted
Neil Hodgson
4
2013-12-20
2013-11-08
cubetan
No

Calltip can not work on Qt.

CustomSciEdit derived from ScintillaEdit.

// .h file
class CustomSciEdit : public ScintillaEdit
{
Q_OBJECT
public:
CustomSciEdit(QWidget *parent = 0);

private slots:
void charAdded(int ch);
};

//.cpp file
CustomSciEdit::CustomSciEdit(QWidget *parent) : ScintillaEdit(parent)
{
connect(this, SIGNAL(charAdded(int)), SLOT(charAdded(int)));
}

void CustomSciEdit::charAdded(int ch)
{
if (ch == '(') {
callTipSetBack(0xffffff);
callTipSetFore(0);
if (!callTipActive()) {
callTipShow(currentPos(), "abc");
}
}
}

when type '(' in edit window, can only get a blank popup window.

Discussion

  • Neil Hodgson
    Neil Hodgson
    2013-11-08

    Calltips are not implemented on Qt.

     
  • Neil Hodgson
    Neil Hodgson
    2013-12-20

    • status: open --> open-accepted
    • Priority: 5 --> 4