schema_editor/comdel/display/library_display.h

32 lines
546 B
C++

#ifndef DISPLAY_LIBRARY_H
#define DISPLAY_LIBRARY_H
#include <QListWidget>
#include <QWidget>
#include <comdel/domain/library.h>
#include <QLabel>
#include "library_list.h"
namespace display {
class Library : public QWidget {
public:
Library();
void refreshContent();
private:
std::optional<domain::Library> library;
LibraryList *componentList;
LibraryList *busList;
QLabel *componentsLabel;
QLabel *busLabel;
};
} // namespace display
#endif // DISPLAY_LIBRARY_H