2022-04-07 22:21:23 +00:00
|
|
|
#ifndef DISPLAY_LIBRARY_H
|
|
|
|
#define DISPLAY_LIBRARY_H
|
|
|
|
|
|
|
|
#include <QListWidget>
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
|
|
#include <comdel/domain/library.h>
|
2022-05-23 06:48:13 +00:00
|
|
|
#include "library_list.h"
|
2022-04-07 22:21:23 +00:00
|
|
|
|
|
|
|
namespace display {
|
|
|
|
|
2022-05-27 06:18:17 +00:00
|
|
|
class Library : public QWidget {
|
|
|
|
public:
|
|
|
|
Library();
|
2022-04-07 22:21:23 +00:00
|
|
|
|
2022-06-01 23:37:14 +00:00
|
|
|
void refreshContent();
|
2022-04-07 22:21:23 +00:00
|
|
|
|
2022-05-27 06:18:17 +00:00
|
|
|
private:
|
|
|
|
std::optional<domain::Library> library;
|
2022-04-07 22:21:23 +00:00
|
|
|
|
2022-05-27 06:18:17 +00:00
|
|
|
LibraryList *componentList;
|
|
|
|
LibraryList *busList;
|
2022-04-07 22:21:23 +00:00
|
|
|
|
2022-05-27 06:18:17 +00:00
|
|
|
};
|
2022-04-07 22:21:23 +00:00
|
|
|
|
|
|
|
} // namespace display
|
|
|
|
|
|
|
|
#endif // DISPLAY_LIBRARY_H
|