parley
multiplechoicewidget.cpp
Go to the documentation of this file.
39 connect(m_choicesModel, SIGNAL(dataChanged(const QModelIndex &, const QModelIndex &)), SLOT(slotDataChanged(const QModelIndex &, const QModelIndex &)));
48 void MultipleChoiceWidget::slotDataChanged(const QModelIndex & topLeft, const QModelIndex & bottomRight)
124 m_choicesModel->setData(m_choicesModel->index(multipleChoiceListView->model()->rowCount() - 1), choice);
bool insertRow(int row, const QModelIndex &parent)
bool eventFilter(QObject *obj, QEvent *event)
Definition: multiplechoicewidget.cpp:100
Type type() const
virtual void dropEvent(QDropEvent *event)
void setupUi(QWidget *widget)
const QMimeData * mimeData() const
QStringList split(const QString &sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const
virtual void dragEnterEvent(QDragEnterEvent *event)
virtual const char * format(int n) const
virtual bool setData(const QModelIndex &index, const QVariant &value, int role)
bool hasText() const
virtual int rowCount(const QModelIndex &parent) const
bool isValid() const
QStringList stringList() const
void setEnabled(bool)
virtual bool removeRows(int row, int count, const QModelIndex &parent)
QString text() const
void setTranslation(KEduVocExpression *entry, int translation)
Definition: multiplechoicewidget.cpp:57
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const
int row() const
virtual bool eventFilter(QObject *watched, QEvent *event)
MultipleChoiceWidget(QWidget *parent=0)
Definition: multiplechoicewidget.cpp:29
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
virtual bool event(QEvent *event)
void setStringList(const QStringList &strings)
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.