browser.h
30 lines
| 680 B
| text/x-c
|
CLexer
r1408 | #ifndef BROWSER_H | |||
#define BROWSER_H | ||||
#include <Catalogue/CatalogueController.h> | ||||
r1460 | #include <QWidget> | |||
r1408 | ||||
r1460 | namespace Ui | |||
{ | ||||
r1408 | class Browser; | |||
} | ||||
r1460 | class CataloguesBrowser : public QWidget | |||
r1408 | { | |||
Q_OBJECT | ||||
public: | ||||
r1460 | explicit CataloguesBrowser(QWidget* parent = nullptr); | |||
~CataloguesBrowser(); | ||||
r1408 | private slots: | |||
void repositorySelected(const QString& repo); | ||||
void catalogueSelected(const CatalogueController::Catalogue_ptr& catalogue); | ||||
void eventSelected(const CatalogueController::Event_ptr& event); | ||||
r1460 | void productSelected( | |||
const CatalogueController::Product_t& product, const CatalogueController::Event_ptr& event); | ||||
r1408 | private: | |||
r1460 | Ui::Browser* ui; | |||
r1408 | }; | |||
#endif // BROWSER_H | ||||