MultiComboBox Class Reference

#include <multicombobox.h>

+ Inheritance diagram for MultiComboBox:

Signals

void valueChanged ()
 

Public Member Functions

 MultiComboBox (QWidget *widget=0)
 
QString displayText () const
 
bool eventFilter (QObject *object, QEvent *event)
 
virtual void paintEvent (QPaintEvent *)
 
QStringList selectedItemTexts () const
 
void setSelectedTexts (const QStringList &texts)
 

Detailed Description

Based on: http://stackoverflow.com/questions/6505627/how-to-make-qcombobox-as-multiselect-in-qt

This probably shouldn't be a subclass of QComboBox because there are plenty QComboBox native methods that won't work here. Current item index, and current item text have no meaning here. Instead, use getters defined directly in this class.

Definition at line 39 of file multicombobox.h.


The documentation for this class was generated from the following files: