30 for (
int i = 0; i < modes.
count(); i++ )
QgsPaintEffect::DrawMode drawMode() const
Returns the currently selected draw mode for the combo box.
const T & at(int i) const
QString tr(const char *sourceText, const char *disambiguation, int n)
void addItem(const QString &text, const QVariant &userData)
const char * name() const
int count(const T &value) const
int toInt(bool *ok) const
QVariant itemData(int index, int role) const
DrawMode
Drawing modes for effects.
int findData(const QVariant &data, int role, QFlags< Qt::MatchFlag > flags) const
void setDrawMode(QgsPaintEffect::DrawMode drawMode)
Sets the currently selected draw mode for the combo box.
QgsEffectDrawModeComboBox(QWidget *parent=nullptr)