#include <CallTips.h>
Public Member Functions | |
CallTipsList (QPlainTextEdit *parent) | |
Construction. | |
void | keyboardSearch (const QString &) |
void | showTips (const QString &) |
void | validateCursor () |
~CallTipsList () | |
Destruction. | |
Protected Member Functions | |
bool | eventFilter (QObject *, QEvent *) |
Get all incoming events of the text edit and redirect some of them, like key up and down, mouse press events, . | |
void | hideEvent (QHideEvent *) |
void | showEvent (QShowEvent *) |
Definition at line 51 of file CallTips.h.
CallTipsList::CallTipsList | ( | QPlainTextEdit * | parent | ) |
CallTipsList::~CallTipsList | ( | ) |
Destruction.
Definition at line 94 of file CallTips.cpp.
bool CallTipsList::eventFilter | ( | QObject * | watched, | |
QEvent * | event | |||
) | [protected] |
Get all incoming events of the text edit and redirect some of them, like key up and down, mouse press events, .
.. to the widget itself.
Definition at line 496 of file CallTips.cpp.
References Mod::PartDesign::Scripts::Gear::hide(), and draftTools::p.
void CallTipsList::hideEvent | ( | QHideEvent * | e | ) | [protected] |
Definition at line 486 of file CallTips.cpp.
void CallTipsList::keyboardSearch | ( | const QString & | wordPrefix | ) |
Definition at line 98 of file CallTips.cpp.
References RobotExampleTrajectoryOutOfShapes::count.
Referenced by validateCursor().
void CallTipsList::showEvent | ( | QShowEvent * | e | ) | [protected] |
Definition at line 479 of file CallTips.cpp.
void CallTipsList::showTips | ( | const QString & | line | ) |
Definition at line 371 of file CallTips.cpp.
References Gui::BitmapFactory(), Gui::BitmapFactoryInst::BottomLeft, Gui::CallTip::Class, RobotExampleTrajectoryOutOfShapes::count, Gui::CallTip::Member, Gui::BitmapFactoryInst::merge(), Gui::CallTip::Method, Gui::CallTip::Module, Gui::BitmapFactoryInst::pixmap(), Gui::CallTip::Property, show(), and RobotExample::w.
Referenced by Gui::PythonConsole::keyPressEvent().
void CallTipsList::validateCursor | ( | ) |
Definition at line 121 of file CallTips.cpp.
References Mod::PartDesign::Scripts::Gear::hide(), and keyboardSearch().
Referenced by Gui::PythonConsole::keyPressEvent().