granatier
playerselectoritem.cpp
Go to the documentation of this file.
33 PlayerSelectorItem::PlayerSelectorItem(const QString& playerId, PlayerSettings* playerSettings, QWidget* parent) : QWidget(parent), m_playerId(playerId), m_playerSettings(playerSettings)
66 verticalLayoutKeySequence->addSpacerItem(new QSpacerItem(0, 0, QSizePolicy::Minimum, QSizePolicy::Expanding));
68 verticalLayoutKeySequence->addSpacerItem(new QSpacerItem(0, 0, QSizePolicy::Minimum, QSizePolicy::Expanding));
93 m_labelMoveRight = new QLabel(i18nc("Label for the key sequence to move the player.", "Right:"));
166 m_playerAuthor->setText("<i>" + i18nc("Author attribution, e.g. \"by Jack\"", "by %1", name) + "</i>" + mailString);
void fill(const QColor &color)
void addSpacerItem(QSpacerItem *spacerItem)
void addWidget(QWidget *widget, int row, int column, QFlags< Qt::AlignmentFlag > alignment)
const QKeySequence keyUp(const QString &strPlayerID) const
Definition: playersettings.cpp:149
void setPixmap(const QPixmap &)
void setPlayerAuthor(const QString &name, const QString &mail)
Definition: playerselectoritem.cpp:159
const QString playerName(const QString &strPlayerID) const
Definition: playersettings.cpp:129
void setKeyLeft(const QString &strPlayerID, const QKeySequence &key)
Definition: playersettings.cpp:307
const QKeySequence keyRight(const QString &strPlayerID) const
Definition: playersettings.cpp:154
void setPlayerPreviewPixmap(const QPixmap &pixmap)
Definition: playerselectoritem.cpp:149
bool enabled(const QString &strPlayerID) const
Definition: playersettings.cpp:144
const QKeySequence keyDown(const QString &strPlayerID) const
Definition: playersettings.cpp:159
void setKeyDown(const QString &strPlayerID, const QKeySequence &key)
Definition: playersettings.cpp:298
const QKeySequence keyPutBomb(const QString &strPlayerID) const
Definition: playersettings.cpp:169
void setEnabled(bool)
bool isEmpty() const
PlayerSelectorItem(const QString &playerId, PlayerSettings *playerSettings, QWidget *parent=0)
Definition: playerselectoritem.cpp:33
Definition: playersettings.h:27
void setKeyPutBomb(const QString &strPlayerID, const QKeySequence &key)
Definition: playersettings.cpp:316
void setText(const QString &)
void setMargin(int margin)
void setKeyUp(const QString &strPlayerID, const QKeySequence &key)
Definition: playersettings.cpp:280
void setChecked(bool)
void setKeyRight(const QString &strPlayerID, const QKeySequence &key)
Definition: playersettings.cpp:289
void setAlphaChannel(const QPixmap &alphaChannel)
const QKeySequence keyLeft(const QString &strPlayerID) const
Definition: playersettings.cpp:164
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void setEnabled(const QString &strPlayerID, const bool enabled)
Definition: playersettings.cpp:271
void setPlayerName(const QString &strPlayerID, const QString &strName)
Definition: playersettings.cpp:262
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:10 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:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.