KGantt
kganttpenstylecombobox.cpp
64 painter.drawLine(itemRect.left()+1, itemRect.center().y(), itemRect.right()-1, itemRect.center().y());
108 QRect r = style()->subControlRect(QStyle::CC_ComboBox, &option, QStyle::SC_ComboBoxEditField, this);
109 if (!option.frame) { // frameless combo boxes have smaller margins but styles do not take this into account
currentData
void setCurrentIndex(int index)
int findData(const QVariant &data, int role, Qt::MatchFlags flags) const const
bool hasFrame() const const
virtual void paintEvent(QPaintEvent *e) override
ListMode
virtual void paintEvent(QPaintEvent *e) override
virtual void resizeEvent(QResizeEvent *e) override
QMetaEnum fromType()
int keyCount() const const
int value(int index) const const
QVariant data(int role) const const
bool isValid() const const
const QRect & rect() const const
void setColor(const QColor &color)
void setStyle(Qt::PenStyle style)
void setWidth(int width)
int y() const const
void adjust(int dx1, int dy1, int dx2, int dy2)
QPoint center() const const
int height() const const
int left() const const
int right() const const
QPoint topLeft() const const
CC_ComboBox
CE_MenuEmptyArea
State_None
SH_ComboBox_Popup
SC_ComboBoxEditField
virtual QRect subControlRect(ComplexControl control, const QStyleOptionComplex *option, SubControl subControl, const QWidget *widget) const const=0
void initFrom(const QWidget *widget)
black
UserRole
PenStyle
int toInt(bool *ok) const const
QStyle * style() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:26 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:26 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.