25 #ifndef HDF5SELECTIONDIALOG_HH 26 #define HDF5SELECTIONDIALOG_HH 32 #include <QtGui/QDialog> 33 #include <QtGui/QTreeWidget> 39 class QTreeWidgetItem;
63 void setSelectable(ChannelSpecs::ChannelTypes types,
bool enable =
true);
73 void _createGroupItem(
75 std::string
const &groupName);
76 void _createDatasetItem(
78 std::string
const &dsName);
79 void _addH5Objects(QTreeWidgetItem* group,
const BlitzH5File& inFile);
82 std::string _fileName;
83 std::map<QTreeWidgetItem*, ItemType> _itemTypes;
84 std::map<QTreeWidgetItem*, ChannelSpecs::ChannelType> _itemChannelTypes;
97 static std::string selectColorMap(
98 QString
const &filename, QWidget *parent = NULL);
105 std::string selectedItem()
const;
121 static std::vector<std::string> selectObjects(
123 QWidget* parent = NULL, ChannelSpecs::ChannelTypes types =
126 static std::string selectObject(
128 QWidget* parent = NULL, ChannelSpecs::ChannelTypes types =
135 QWidget *parent, ChannelSpecs::ChannelTypes types);
138 std::vector<std::string> selectedItems()
const;
145 ChannelSpecs::ChannelTypes _channelTypes;
Lightweight alternative to libBlitzHDF5 providing its basic functionality.
static ChannelTypes const Any