parley
lessonstatisticsview.cpp
Go to the documentation of this file.
95 removeGradesChildrenAction->setText(i18n("Remove confidence levels from this unit and all sub-units"));
97 removeGradesChildrenAction->setWhatsThis(i18n("Remove confidence level from this unit and all sub-units"));
QModelIndex currentIndex() const
Definition: statisticsmodel.h:38
QItemSelectionModel * selectionModel() const
void addAction(QAction *action)
void paintColorBar(QPainter &painter, const QRect &rect, const WordCount &wordCount, const ConfidenceColors &colors)
Definition: utils.cpp:171
virtual void setVisible(bool visible)
T value() const
Definition: statisticsmodel.h:29
virtual void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
virtual void resizeEvent(QResizeEvent *event)
virtual void setModel(ContainerModel *model)
Set the model for the view.
Definition: containerview.cpp:42
bool isColumnHidden(int column) const
Definition: utils.h:30
int width() const
int columnWidth(int column) const
void setColumnWidth(int column, int width)
int toInt(bool *ok) const
Model for the tree of containers (lessons, word types).
Definition: containermodel.h:33
void setDefaultAlignment(QFlags< Qt::AlignmentFlag > alignment)
void setModel(ContainerModel *model)
Set the model for the view.
Definition: lessonstatisticsview.cpp:110
void drawText(const QPointF &position, const QString &text)
void * internalPointer() const
virtual void resizeEvent(QResizeEvent *event)
Definition: lessonstatisticsview.cpp:122
LessonStatisticsView(QWidget *parent)
Definition: lessonstatisticsview.cpp:77
QVariant data(int role) const
QStyle * style()
void setResizeMode(ResizeMode mode)
virtual int columnCount(const QModelIndex &parent=QModelIndex()) const
Definition: containermodel.cpp:187
virtual int columnCount(const QModelIndex &parent) const =0
Definition: utils.h:50
int column() const
virtual void drawPrimitive(PrimitiveElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget) const =0
QHeaderView * header() const
void setItemDelegateForColumn(int column, QAbstractItemDelegate *delegate)
QAbstractItemModel * model() const
void setStretchLastSection(bool stretch)
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QObject * parent() const
void fillFromContainer(KEduVocContainer &container, int translationIndex, KEduVocContainer::EnumEntriesRecursive recursive=KEduVocContainer::Recursive)
Definition: utils.cpp:75
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.