#include <ListDialog.h>
Inheritance diagram for ListDialog:
It provides dialog which presents the names of the top level DataSource objects in the file that can be used. The user can then select one.
Examples of files that can have multiple DataSource objects are ROOT and FITS files.
Definition at line 39 of file ListDialog.h.
Public Member Functions | |
virtual void | doubleClicked () |
Responds to a double click on the contained QListView object. | |
ListDialog (QWidget *parent) | |
The constructor. | |
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. | |
Private Attributes | |
std::vector< QListViewItem * > | m_item_list |
The list of items added to the list of ntuple names. |
|
The constructor. The constructor using parent as its parent widget. Definition at line 24 of file ListDialog.cxx. |
|
Responds to a double click on the contained QListView object. Responds to a double click on the contained QListView object by issuing QDialog::done with return code the index of selected QListViewItem. Definition at line 87 of file ListDialog.cxx. References selectedItem(). |
|
Returns the index of the selected item.
Definition at line 67 of file ListDialog.cxx. References m_item_list. Referenced by doubleClicked(). |
|
Sets the names of the of the top level objects that might be valid Datasource objects.
Definition at line 39 of file ListDialog.cxx. References m_item_list. |
|
The list of items added to the list of ntuple names.
Definition at line 50 of file ListDialog.h. Referenced by selectedItem(), and setNames(). |