implemented the ability to modify bezier points in the curve editor

This commit is contained in:
itsmattkc
2019-12-28 22:40:30 +11:00
parent 4cd5e103b8
commit 1d3d52db9b
23 changed files with 744 additions and 282 deletions
+2 -1
View File
@@ -30,6 +30,7 @@
#include "ui/style/style.h"
#include "undo/undostack.h"
#include "widget/menu/menushared.h"
#include "mainwindow.h"
MainMenu::MainMenu(QMainWindow *parent) :
QMenuBar(parent)
@@ -207,7 +208,7 @@ MainMenu::MainMenu(QMainWindow *parent) :
window_lock_layout_item_ = window_menu_->AddItem("lockpanels", PanelManager::instance(), SLOT(SetPanelsLocked(bool)));
window_lock_layout_item_->setCheckable(true);
window_menu_->addSeparator();
window_reset_layout_item_ = window_menu_->AddItem("resetdefaultlayout", nullptr, nullptr);
window_reset_layout_item_ = window_menu_->AddItem("resetdefaultlayout", Core::instance()->main_window(), SLOT(SetDefaultLayout()));
//
// TOOLS MENU
+2 -3
View File
@@ -48,6 +48,8 @@ public slots:
void SetFullscreen(bool fullscreen);
void ToggleMaximizedPanel();
void SetDefaultLayout();
protected:
virtual void closeEvent(QCloseEvent* e) override;
@@ -65,9 +67,6 @@ private:
TaskManagerPanel* task_man_panel_;
CurvePanel* curve_panel_;
private slots:
void SetDefaultLayout();
};
#endif