Wed, 28 Jul 2021 13:22:51 +0300
rework rendering of vertices
#pragma once #include <QWidget> #include "main.h" #include "libraries.h" class LibrariesEditor : public QWidget { Q_OBJECT public: LibrariesEditor(Configuration* settings, QWidget* parent = nullptr); ~LibrariesEditor(); void saveSettings(Configuration* settings); private Q_SLOTS: void searchPathForNewLibrary(); void addNewLibrary(); void showContextMenu(const QPoint position); void setCurrentLibraryRole(); void removeCurrentLibrary(); void moveCurrentLibraryUp(); void moveCurrentLibraryDown(); private: enum { RoleColumn, PathColumn }; LibraryManager libraries; class Ui_LibrariesEditor& ui; int currentLibraryIndex() const; };