KVIrc  4.9.2
DeveloperAPIs
Public Slots | Signals | Public Member Functions | Public Attributes | Protected Slots | Protected Member Functions | Protected Attributes | Properties | List of all members
ScriptEditorWidget Class Reference

#include <ScriptEditorImplementation.h>

+ Inheritance diagram for ScriptEditorWidget:

Public Slots

void checkReadyCompleter ()
 
void insertCompletion (const QString &szCompletion)
 
void slotFind ()
 
void slotHelp ()
 
void slotReplace ()
 

Signals

void keyPressed ()
 

Public Member Functions

QCompleter * completer () const
 
bool contextSensitiveHelp () const
 
void createCompleter (QStringList &list)
 
void disableSyntaxHighlighter ()
 
void enableSyntaxHighlighter ()
 
void loadCompleterFromFile ()
 
 ScriptEditorWidget (QWidget *pParent)
 
ScriptEditorSyntaxHighlightersyntaxHighlighter ()
 
QString textUnderCursor () const
 
void updateOptions ()
 
virtual ~ScriptEditorWidget ()
 

Public Attributes

QString m_szFind
 

Protected Slots

void asyncCompleterCreation ()
 

Protected Member Functions

void contextMenuEvent (QContextMenuEvent *e)
 
virtual void keyPressEvent (QKeyEvent *e)
 

Protected Attributes

int iIndex
 
int iModulesCount
 
QCompleter * m_pCompleter
 
QStringList * m_pListCompletition
 
QStringList * m_pListModulesNames
 
QWidget * m_pParent
 
QTimer * m_pStartTimer
 
ScriptEditorSyntaxHighlighterm_pSyntaxHighlighter
 
QString m_szHelp
 

Properties

bool contextSensitiveHelp
 

Constructor & Destructor Documentation

ScriptEditorWidget::ScriptEditorWidget ( QWidget *  pParent)
ScriptEditorWidget::~ScriptEditorWidget ( )
virtual

Member Function Documentation

void ScriptEditorWidget::asyncCompleterCreation ( )
protectedslot
void ScriptEditorWidget::checkReadyCompleter ( )
slot
QCompleter* ScriptEditorWidget::completer ( ) const
inline

References m_pCompleter.

void ScriptEditorWidget::contextMenuEvent ( QContextMenuEvent *  e)
protected
bool ScriptEditorWidget::contextSensitiveHelp ( ) const

Referenced by slotHelp().

void ScriptEditorWidget::createCompleter ( QStringList &  list)
void ScriptEditorWidget::disableSyntaxHighlighter ( )
void ScriptEditorWidget::enableSyntaxHighlighter ( )
void ScriptEditorWidget::insertCompletion ( const QString &  szCompletion)
slot

References m_pCompleter.

Referenced by createCompleter().

void ScriptEditorWidget::keyPressed ( )
signal
void ScriptEditorWidget::keyPressEvent ( QKeyEvent *  e)
protectedvirtual

References m_pCompleter, and textUnderCursor().

void ScriptEditorWidget::loadCompleterFromFile ( )
void ScriptEditorWidget::slotFind ( )
slot
void ScriptEditorWidget::slotHelp ( )
slot

References contextSensitiveHelp().

Referenced by contextMenuEvent().

void ScriptEditorWidget::slotReplace ( )
slot

References __tr2qs_ctx(), connect(), and m_pParent.

Referenced by contextMenuEvent().

ScriptEditorSyntaxHighlighter* ScriptEditorWidget::syntaxHighlighter ( )
inline

References m_pSyntaxHighlighter.

QString ScriptEditorWidget::textUnderCursor ( ) const

Referenced by keyPressEvent().

void ScriptEditorWidget::updateOptions ( )

Member Data Documentation

int ScriptEditorWidget::iIndex
protected
int ScriptEditorWidget::iModulesCount
protected
QCompleter* ScriptEditorWidget::m_pCompleter
protected
QStringList* ScriptEditorWidget::m_pListCompletition
protected

Referenced by asyncCompleterCreation().

QStringList* ScriptEditorWidget::m_pListModulesNames
protected

Referenced by asyncCompleterCreation().

QWidget* ScriptEditorWidget::m_pParent
protected
QTimer* ScriptEditorWidget::m_pStartTimer
protected
ScriptEditorSyntaxHighlighter* ScriptEditorWidget::m_pSyntaxHighlighter
protected
QString ScriptEditorWidget::m_szFind
QString ScriptEditorWidget::m_szHelp
protected

Referenced by ScriptEditorWidget().

Property Documentation

bool ScriptEditorWidget::contextSensitiveHelp
read

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