14 #if QT_VERSION < 0x040000
15 #include <qlistview.h>
17 #include <q3listview.h>
22 using namespace hippodraw;
41 setNames (
const std::vector < std::string > & names )
43 for (
unsigned int i = 0; i < names.size (); i++ ) {
44 const string & n = names[i];
46 #if QT_VERSION < 0x040000
59 #if QT_VERSION < 0x040000
72 for (
unsigned int i = 0; i <
m_item_list.size(); i++ ) {
73 #if QT_VERSION < 0x040000
78 if ( item -> isSelected () ) {
void setNames(const std::vector< std::string > &names)
Sets the names of the of the top level objects that might be valid DataSource objects.
unsigned int selectedItem() const
Returns the index of the selected item.
virtual void doubleClicked()
Responds to a double click on the contained QListView object.
ListDialog(QWidget *parent)
The constructor.
setSelected(QListViewItem *item, bool selected)
std::vector< QListViewItem * > m_item_list
The list of items added to the list of data source names.
The base class for the ListDialog class.
hippodraw::ListDialog class interface