parley
latexwidget.cpp
Go to the documentation of this file.
118 } else if (text.startsWith(QString::fromUtf8("§§")) && text.endsWith(QString::fromUtf8("§§"))) {
129 void LatexDelegate::setModelData(QWidget * editor, QAbstractItemModel * model, const QModelIndex & index) const
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const
QModelIndexList indexes() const
void slotDocumentChanged(KEduVocDocument *doc)
Called when a KEduVocDocument change happened.
Definition: latexwidget.cpp:61
void setupUi(QWidget *widget)
void setMathModeCheckBox(QCheckBox *checkBox)
Definition: latexwidget.h:81
void setEditorData(QWidget *editor, const QModelIndex &index) const
Definition: latexwidget.cpp:105
Definition: vocabularyfilter.h:26
Definition: vocabularymodel.h:34
Definition: latexrenderer.h:27
Definition: latexwidget.h:73
void setResultLabel(QLabel *label)
Definition: latexrenderer.h:33
LatexWidget(VocabularyFilter *model, KEduVocDocument *doc, QWidget *parent=0)
Definition: latexwidget.cpp:23
bool isValid() const
QString fromUtf8(const char *str, int size)
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
bool endsWith(const QString &s, Qt::CaseSensitivity cs) const
virtual QVariant data(const QModelIndex &index, int role) const =0
void clearMapping()
void setItemDelegate(QAbstractItemDelegate *delegate)
void slotSelectionChanged(const QItemSelection &, const QItemSelection &)
Called when the selection changed in the vocabulary view.
Definition: latexwidget.cpp:66
void setChecked(bool)
void addMapping(QWidget *widget, int section)
const QAbstractItemModel * model() const
QString mid(int position, int n) const
void setModel(QAbstractItemModel *model)
void setCurrentModelIndex(const QModelIndex &index)
int count() const
void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const
Definition: latexwidget.cpp:129
virtual bool setData(const QModelIndex &index, const QVariant &value, int role)
void setTranslation(KEduVocExpression *entry, int translation)
Sets the selected word (KEduVocExpression) from the vocabularyView.
Definition: latexwidget.cpp:45
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QString toString() const
static bool isLatex(const QString &tex)
Definition: latexrenderer.cpp:96
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:15:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:15:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.