Logo Search packages:      
Sourcecode: qt4-x11 version File versions

src_qt3support_widgets_q3combobox.cpp

//! [0]
Q3ComboBox *c = new Q3ComboBox(this, tr("read-only combobox"));
//! [0]


//! [1]
Q3ComboBox *c1 = new Q3ComboBox(false, this, tr("read-only combobox"));
Q3ComboBox *c2 = new Q3ComboBox(true, this, tr("editable combobox"));
//! [1]


//! [2]
static const char* items[] = { "red", "green", "blue", 0 };
combo->insertStrList( items );
//! [2]

Generated by  Doxygen 1.6.0   Back to index