Mon, 20 Jun 2022 22:22:15 +0300
Substitute circular primitives in during file parsing
#pragma once #include <QWidget> #include "basics.h" #include "libraries.h" class LibrariesEditor : public QWidget { Q_OBJECT public: LibrariesEditor(QWidget* parent = nullptr); ~LibrariesEditor(); void saveSettings(); private Q_SLOTS: void searchPathForNewLibrary(); void addNewLibrary(); void showContextMenu(const QPoint position); void setCurrentLibraryRole(); void removeCurrentLibrary(); void moveCurrentLibraryUp(); void moveCurrentLibraryDown(); private: enum { RoleColumn, PathColumn }; LibrariesModel libraries; class Ui_LibrariesEditor& ui; int currentLibraryIndex() const; };