get image function

This commit is contained in:
Бычков Андрей
2022-10-18 18:07:32 +03:00
parent 1afa4ea368
commit 0f993e6c1c
4 changed files with 23 additions and 4 deletions

View File

@@ -173,6 +173,9 @@ public:
void setCurrentAction(RendererService::HandleAction ha) {renderer_.rend_service.setCurrentAction(ha);}
void setContextActions(QList<QAction*> al) {context_menu.clear(); context_menu.addActions(al);}
void popupMenu(const QPoint &pos, QAction *at = nullptr) {context_menu.popup(pos, at);}
void setGrabImage(bool on) {renderer_.setGrabImage(on);}
bool isGrabImage() const {return renderer_.isGrabImage();}
QImage getImage() const {return renderer_.getImage();}
GLfloat aspect, iaspect;
Renderer renderer_;