KVIrc  4.9.2
DeveloperAPIs
Classes | Macros | Variables
KviInputEditor.cpp File Reference
#include "KviApplication.h"
#include "KviColorSelectionWindow.h"
#include "KviConsoleWindow.h"
#include "kvi_fileextensions.h"
#include "KviMainWindow.h"
#include "KviInput.h"
#include "KviInputEditor.h"
#include "KviInputHistory.h"
#include "KviIrcView.h"
#include "KviKvsScript.h"
#include "KviKvsKernel.h"
#include "KviKvsArrayCast.h"
#include "KviLocale.h"
#include "KviWindowStack.h"
#include "KviControlCodes.h"
#include "KviOptions.h"
#include "KviPixmapUtils.h"
#include "KviQString.h"
#include "kvi_out.h"
#include "KviTextIconWindow.h"
#include "KviTextIconManager.h"
#include "KviUserInput.h"
#include "KviUserListView.h"
#include "KviShortcut.h"
#include "KviKvsEventTriggers.h"
#include "KviChannelWindow.h"
#include <QClipboard>
#include <QLabel>
#include <QMimeData>
#include <QUrl>
#include <QStyle>
#include <QStyleOption>
#include <QPainter>
#include <QPixmap>
#include <QFileDialog>
#include <QFontMetrics>
#include <QKeyEvent>
#include <QDragEnterEvent>
#include <QMenu>
#include <QWidgetAction>
#include <QTextBoundaryFinder>
#include <qdrawutil.h>

Classes

class  KviInputEditorPrivate
 
class  KviInputEditorTextBlock
 

Macros

#define ADD_SPELLCHECKER_BLOCK(_lBuffer, _szText, _iStart, _bSpellCheckable, _bCorrect)
 
#define KVI_INPUT_MAX_UNDO_SIZE   256
 
#define NOT_CONTROL_CHAR()
 

Variables

KviColorWindowg_pColorWindow
 
QMenu * g_pInputPopup
 
KviTextIconWindowg_pTextIconWindow
 

Macro Definition Documentation

#define ADD_SPELLCHECKER_BLOCK (   _lBuffer,
  _szText,
  _iStart,
  _bSpellCheckable,
  _bCorrect 
)
Value:
do \
{ \
KviInputEditorSpellCheckerBlock * pBlock = new KviInputEditorSpellCheckerBlock(); \
pBlock->szText = _szText; \
pBlock->iStart = _iStart; \
pBlock->iLength = pBlock->szText.length(); \
pBlock->bSpellCheckable = _bSpellCheckable; \
pBlock->bCorrect = _bCorrect; \
_lBuffer.append(pBlock); \
} while(0)
Definition: KviInputEditor.h:69

Referenced by KviInputEditor::rebuildTextBlocks(), and KviInputEditor::splitTextIntoSpellCheckerBlocks().

#define KVI_INPUT_MAX_UNDO_SIZE   256
#define NOT_CONTROL_CHAR ( )
Value:
( \
char s char s char s s s s s char char c s *s c s s s d c s *s d c d d d d c
Definition: KviIrcNumericCodes.h:391
Definition: KviControlCodes.h:160
Definition: KviControlCodes.h:162
Definition: KviControlCodes.h:163
Definition: KviControlCodes.h:154
Definition: KviControlCodes.h:161
Color
Contains mIRC color codes.
Definition: KviControlCodes.h:125
Definition: KviControlCodes.h:159

Referenced by KviInputEditor::rebuildTextBlocks().

Variable Documentation

KviColorWindow* g_pColorWindow
QMenu* g_pInputPopup
KviTextIconWindow* g_pTextIconWindow