##// END OF EJS Templates
Implements test execute() method...
Implements test execute() method For each iteration of the test, this method generates available operations according to states of the variables, and execute an operation that has been chosen randomly.

File last commit:

r1194:73d5f3ef941a
r1205:0c07405da56c
Show More
CatalogueTreeWidgetItem.h
36 lines | 1.1 KiB | text/x-c | CLexer
/ gui / include / Catalogue / CatalogueTreeWidgetItem.h
Display catalogues and events with CatalogueAPI
r1162 #ifndef SCIQLOP_CATALOGUETREEWIDGETITEM_H
#define SCIQLOP_CATALOGUETREEWIDGETITEM_H
#include <Common/spimpl.h>
#include <QTreeWidgetItem>
Adaptation to the shared pointers of catalogue controller
r1176 class DBCatalogue;
Display catalogues and events with CatalogueAPI
r1162
class CatalogueTreeWidgetItem : public QTreeWidgetItem {
public:
Adaptation to the shared pointers of catalogue controller
r1176 CatalogueTreeWidgetItem(std::shared_ptr<DBCatalogue> catalogue,
int type = QTreeWidgetItem::Type);
Display catalogues and events with CatalogueAPI
r1162
QVariant data(int column, int role) const override;
Rename a catalogue
r1173 void setData(int column, int role, const QVariant &value) override;
Display of the save & cancel button next to a catalogue
r1175 /// Returns the catalogue represented by the item
Adaptation to the shared pointers of catalogue controller
r1176 std::shared_ptr<DBCatalogue> catalogue() const;
Display catalogues and events with CatalogueAPI
r1162
Edition of catalogues from the inspector
r1180 /// Displays or hides the save and cancel buttons indicating that the catalogue has unsaved
/// changes
Display of the save & cancel button next to a catalogue
r1175 void setHasChanges(bool value);
"Apply" and "cancel" buttons on an event
r1194 /// Returns true if the widget indicating the event has unsaved changes is displayed
bool hasChanges();
Edition of catalogues from the inspector
r1180 /// Refreshes the data displayed by the item from the catalogue
void refresh();
Display catalogues and events with CatalogueAPI
r1162 private:
class CatalogueTreeWidgetItemPrivate;
spimpl::unique_impl_ptr<CatalogueTreeWidgetItemPrivate> impl;
};
#endif // SCIQLOP_CATALOGUETREEWIDGETITEM_H