Go to the documentation of this file.
11 #ifndef __MULTIBOXCOMBO_H__
12 #define __MULTIBOXCOMBO_H__
17 #include <QListWidget>
18 #include <QVBoxLayout>
19 #include <QStylePainter>
38 void addItem(
const QString&
text,
const QVariant& userData = QVariant());
QString m_DisplayText_
hold the main display text
int popheight_
the height of the popup
int screenbound_
lower/upper screen bound
void addItem(const QString &text, const QVariant &userData=QVariant())
add a item to the list
QMultiComboBox(QWidget *widget=0)
Constructor.
virtual ~QMultiComboBox()
QVariant itemData(int row)
void itemChanged()
item changed
virtual void paintEvent(QPaintEvent *e)
custom paint
void setItemChecked(int row, bool checked)
QString GetDisplayText() const
get the main display text
QString itemText(int row)
QListWidget vlist_
multi selection list in the popup frame
void setPopupHeight(int h)
set the height of the popup
void showPopup()
replace standard QComboBox Popup
GLM_FUNC_DECL genType::row_type row(genType const &m, length_t const &index)
int count()
replace neccessary data access
Array< double, 1, 3 > e(1./3., 0.5, 2.)
void SetDisplayText(QString text)
the main display text
QFrame popframe_
popup frame
void initStyleOption(QStyleOptionComboBox *option) const
the init style
void scanItemSelect(QListWidgetItem *item)
react on changes of the item checkbox
void setCurrentIndex(int index)
rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:15