#include <klflatexsymbols.h>
Public Slots | |
void | buildDisplay () |
void | recalcLayout () |
Signals | |
void | symbolActivated (const KLFLatexSymbol &symb) |
Public Member Functions | |
KLFLatexSymbolsView (const QString &category, QWidget *parent) | |
void | setSymbolList (const QList< KLFLatexSymbol > &symbols) |
void | appendSymbolList (const QList< KLFLatexSymbol > &symbols) |
QString | category () const |
virtual SearchIterator | searchIterBegin () |
virtual SearchIterator | searchIterEnd () |
virtual bool | searchIterMatches (const SearchIterator &pos, const QString &queryString) |
virtual void | searchPerformed (const SearchIterator &result) |
virtual void | searchAbort () |
![]() | |
Alignment | |
QScrollArea (QWidget *parent=0) | |
ensureVisible (int x, int y, int xmargin=50, int ymargin=50) | |
ensureWidgetVisible (QWidget *childWidget, int xmargin=50, int ymargin=50) | |
setWidget (QWidget *widget) | |
takeWidget () | |
widget () | |
QScrollBar (QWidget *parent, const char *name) | |
QScrollBar (Qt::Orientation orientation, QWidget *parent, const char *name) | |
QScrollBar (int minimum, int maximum, int lineStep, int pageStep, int value, Qt::Orientation orientation, QWidget *parent=0, const char *name=0) | |
draggingSlider () | |
![]() | |
KLFIteratorSearchable () | |
virtual | ~KLFIteratorSearchable () |
virtual SearchIterator | searchIterAdvance (const SearchIterator &pos, bool forward) |
SearchIterator | searchIterNext (const SearchIterator &pos) |
SearchIterator | searchIterPrev (const SearchIterator &pos) |
virtual SearchIterator | searchIterStartFrom (bool forward) |
virtual SearchIterator | searchIterFind (const SearchIterator &startPos, const QString &queryString, bool forward) |
virtual SearchIterator | searchIterFindNext (bool forward) |
virtual bool | searchFind (const QString &queryString, bool forward) |
virtual bool | searchFindNext (bool forward) |
SearchIterator | searchAdvanceIteratorSafe (const SearchIterator &it, int n=1) |
![]() | |
KLFSearchable () | |
virtual | ~KLFSearchable () |
bool | searchFind (const QString &queryString) |
Protected Slots | |
void | slotSymbolActivated () |
Protected Attributes | |
QString | _category |
QList< KLFLatexSymbol > | _symbols |
Additional Inherited Members | |
![]() | |
typedef Iter | SearchIterator |
![]() | |
QString | searchQueryString () const |
SearchIterator | searchCurrentIterPos () const |
Definition at line 109 of file klflatexsymbols.h.
Definition at line 451 of file klflatexsymbols.cpp.
References QScrollArea::setWidget().
void KLFLatexSymbolsView::appendSymbolList | ( | const QList< KLFLatexSymbol > & | symbols | ) |
Definition at line 478 of file klflatexsymbols.cpp.
References _symbols, QList::append(), and QList::size().
Referenced by setSymbolList(), and KLFLatexSymbols::~KLFLatexSymbols().
|
slot |
Definition at line 487 of file klflatexsymbols.cpp.
References _symbols, QList::append(), KLFLatexSymbolsCache::getPixmap(), KLF_DEBUG_TIME_BLOCK, KLF_FUNC_NAME, recalcLayout(), QPalette::setColor(), QList::size(), slotSymbolActivated(), KLFLatexSymbolsCache::theCache(), and QPixmap::width().
|
inline |
Definition at line 118 of file klflatexsymbols.h.
|
slot |
Definition at line 537 of file klflatexsymbols.cpp.
References QGridLayout::addItem(), QGridLayout::addWidget(), klfconfig, QList::size(), KLFConfig::symbolsPerLine, and KLFConfig::UI.
Referenced by buildDisplay().
|
virtual |
Reimplemented from KLFIteratorSearchable< int >.
Definition at line 618 of file klflatexsymbols.cpp.
References QScrollArea::ensureWidgetVisible(), KLFIteratorSearchable< class >::searchAbort(), searchIterMatches(), KLFIteratorSearchable< int >::searchQueryString(), and QList::size().
|
inlinevirtual |
Implements KLFIteratorSearchable< int >.
Definition at line 122 of file klflatexsymbols.h.
|
inlinevirtual |
Implements KLFIteratorSearchable< int >.
Definition at line 123 of file klflatexsymbols.h.
|
virtual |
Implements KLFIteratorSearchable< int >.
Definition at line 589 of file klflatexsymbols.cpp.
References _symbols, QString::contains(), QList::contains(), KLF_FUNC_NAME, klfDbg, and QList::size().
Referenced by searchAbort().
|
virtual |
Reimplemented from KLFIteratorSearchable< int >.
Definition at line 612 of file klflatexsymbols.cpp.
References klfDbg, and QList::size().
void KLFLatexSymbolsView::setSymbolList | ( | const QList< KLFLatexSymbol > & | symbols | ) |
Definition at line 473 of file klflatexsymbols.cpp.
References _symbols, appendSymbolList(), and QList::clear().
|
protectedslot |
Definition at line 578 of file klflatexsymbols.cpp.
References _symbols, KLF_FUNC_NAME, QObject::property(), QList::size(), and symbolActivated().
Referenced by buildDisplay().
|
signal |
Referenced by slotSymbolActivated().
|
protected |
Definition at line 141 of file klflatexsymbols.h.
|
protected |
Definition at line 142 of file klflatexsymbols.h.
Referenced by appendSymbolList(), buildDisplay(), searchIterMatches(), setSymbolList(), and slotSymbolActivated().