schema_editor/comdel/display/library_display.h

30 lines
466 B
C
Raw Normal View History

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>
#include "library_list.h"
2022-04-07 22:21:23 +00:00
namespace display {
class Library: public QWidget
{
public:
Library();
void setLibrary(std::optional<domain::Library> library);
private:
std::optional<domain::Library> library;
LibraryList *componentList;
LibraryList *busList;
2022-04-07 22:21:23 +00:00
};
} // namespace display
#endif // DISPLAY_LIBRARY_H