#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 () |
Protected Slots | |
void | slotSymbolActivated () |
Protected Attributes | |
QString | _category |
QList< KLFLatexSymbol > | _symbols |
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().
void KLFLatexSymbolsView::buildDisplay | ( | ) | [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().
QString KLFLatexSymbolsView::category | ( | ) | const [inline] |
Definition at line 118 of file klflatexsymbols.h.
void KLFLatexSymbolsView::recalcLayout | ( | ) | [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().
void KLFLatexSymbolsView::searchAbort | ( | ) | [virtual] |
Reimplemented from KLFIteratorSearchable< int >.
Definition at line 618 of file klflatexsymbols.cpp.
virtual SearchIterator KLFLatexSymbolsView::searchIterBegin | ( | ) | [inline, virtual] |
Implements KLFIteratorSearchable< int >.
Definition at line 122 of file klflatexsymbols.h.
virtual SearchIterator KLFLatexSymbolsView::searchIterEnd | ( | ) | [inline, virtual] |
Implements KLFIteratorSearchable< int >.
Definition at line 123 of file klflatexsymbols.h.
bool KLFLatexSymbolsView::searchIterMatches | ( | const SearchIterator & | pos, |
const QString & | queryString | ||
) | [virtual] |
Implements KLFIteratorSearchable< int >.
Definition at line 589 of file klflatexsymbols.cpp.
References _symbols, QList::contains(), QString::contains(), KLF_FUNC_NAME, klfDbg, and QList::size().
void KLFLatexSymbolsView::searchPerformed | ( | const SearchIterator & | result | ) | [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().
void KLFLatexSymbolsView::slotSymbolActivated | ( | ) | [protected, slot] |
Definition at line 578 of file klflatexsymbols.cpp.
References _symbols, KLF_FUNC_NAME, QObject::property(), QList::size(), and symbolActivated().
Referenced by buildDisplay().
void KLFLatexSymbolsView::symbolActivated | ( | const KLFLatexSymbol & | symb | ) | [signal] |
Referenced by slotSymbolActivated().
QString KLFLatexSymbolsView::_category [protected] |
Definition at line 141 of file klflatexsymbols.h.
QList<KLFLatexSymbol> KLFLatexSymbolsView::_symbols [protected] |
Definition at line 142 of file klflatexsymbols.h.
Referenced by appendSymbolList(), buildDisplay(), searchIterMatches(), setSymbolList(), and slotSymbolActivated().