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
73 #if QT_VERSION < 0x040000
78 if ( item -> isSelected () ) {
virtual void doubleClicked()
Responds to a double click on the contained QListView object.
unsigned int selectedItem() const
Returns the index of the selected item.
void setNames(const std::vector< std::string > &names)
Sets the names of the of the top level objects that might be valid DataSource objects.
The base class for the ListDialog class.
std::vector< QListViewItem * > m_item_list
The list of items added to the list of data source names.
hippodraw::ListDialog class interface
setSelected(QListViewItem *item, bool selected)
ListDialog(QWidget *parent)
The constructor.