libkdegames/highscore
kexthighscore_tab.cpp
Go to the documentation of this file.
QLayout * layout() const
QString prettyName() const
Definition: kexthighscore_internal.h:198
QVariant read(uint i) const
Definition: kexthighscore_internal.cpp:75
void setMovable(bool movable)
HistogramTab(QWidget *parent)
Definition: kexthighscore_tab.cpp:218
StatisticsTab(QWidget *parent)
Definition: kexthighscore_tab.cpp:122
void setSelectionMode(QAbstractItemView::SelectionMode mode)
PlayersCombo(QWidget *parent=0)
Definition: kexthighscore_tab.cpp:43
void addWidget(QWidget *widget, int row, int column, QFlags< Qt::AlignmentFlag > alignment)
bool showDrawGames
Definition: kexthighscore_internal.h:257
QVector< T > & fill(const T &value, int size)
void playerSelected(uint i)
int histoSize() const
Definition: kexthighscore_internal.cpp:394
virtual void setData(int column, int role, const QVariant &value)
static QString percent(uint n, uint total, bool withBraces=false)
Definition: kexthighscore_tab.cpp:100
void setItemText(int index, const QString &text)
void setSpacing(int spacing)
void addItem(const QString &text, const QVariant &userData)
int width() const
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
QString number(int n, int base)
uint toUInt(bool *ok) const
void resize(int size)
This class defines how to convert and how to display a highscore element (such as the score...
Definition: kexthighscore_item.h:39
int toInt(bool *ok) const
QString histoName(int i) const
Definition: kexthighscore_internal.cpp:385
const QVector< uint > & histogram() const
Definition: kexthighscore_internal.h:210
void setObjectName(const QString &name)
void activated(int index)
void allSelected()
void setText(const QString &)
PlayerInfos & playerInfos()
Definition: kexthighscore_internal.h:247
void setAllColumnsShowFocus(bool enable)
void setMargin(int margin)
AdditionalTab(QWidget *parent)
Definition: kexthighscore_tab.cpp:69
QTreeWidgetItem * headerItem() const
void setSortingEnabled(bool enable)
void addStretch(int stretch)
virtual void display(uint i)=0
void setClickable(bool clickable)
int count(const T &value) const
void setText(int column, const QString &text)
void setCurrentIndex(int index)
virtual QString pretty(uint i, const QVariant &value) const
Definition: kexthighscore_item.cpp:110
QString fromLatin1(const char *str, int size)
uint nbEntries() const
Definition: kexthighscore_internal.cpp:366
void setTextAlignment(int column, int alignment)
QHeaderView * header() const
QTreeWidgetItem * topLevelItem(int index) const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
const ItemContainer * item(const QString &name) const
Definition: kexthighscore_internal.cpp:125
int size() const
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
void setSpacing(int spacing)
void noneSelected()
void addLayout(QLayout *layout, int stretch)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:46 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:18:46 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.