itom
Loading...
Searching...
No Matches
ito::WordHoverTooltipMode Class Reference
Inheritance diagram for ito::WordHoverTooltipMode:
ito::Mode

Public Member Functions

 WordHoverTooltipMode (const QString &name="WordHoverTooltipMode", const QString &description="", QObject *parent=nullptr)
 
virtual void onStateChanged (bool state)
 
void hideTooltip ()
 
- Public Member Functions inherited from ito::Mode
 Mode (const Mode &copy)
 
 Mode (const QString &name, const QString &description="")
 
bool operator== (const Mode &other) const
 
virtual void onInstall (CodeEditor *editor)
 
virtual void onUninstall ()
 
QString name () const
 
bool enabled () const
 
void setEnabled (bool enabled)
 
CodeEditoreditor () const
 
bool onClose () const
 
virtual QList< QAction * > actions () const
 

Protected Member Functions

void emitWordHover (QTextCursor cursor)
 
QPair< QStringList, QString > parseTooltipDocstring (const QString &docstring) const
 

Protected Attributes

QTextCursor m_cursor
 

Private Slots

void onMouseMoved (QMouseEvent *e)
 
void onJediGetHelpResultAvailable (QVector< ito::JediGetHelp > helps)
 

Private Attributes

DelayJobRunnerBasem_pTimer
 
QObject * m_pPythonEngine
 
int m_requestCount
 
int m_tooltipsMaxLength
 
bool m_tooltipVisible
 

Additional Inherited Members

- Public Types inherited from ito::Mode
typedef QSharedPointer< ModePtr
 

Member Function Documentation

◆ onStateChanged()

void ito::WordHoverTooltipMode::onStateChanged ( bool state)
virtual

Reimplemented from ito::Mode.


The documentation for this class was generated from the following files: