Squashed commit of the following:
commit 60c0f65c5e3c2faf1f7b0ae10b4131dabbcf715b
Author: itsmattkc <34096995+itsmattkc@users.noreply.github.com>
Date: Wed Feb 15 22:34:16 2023 -0800
mainwindow: don't close last timeline panel when removing sequence
commit bc892810d67c1dd4f9c0639767c563681f29701d
Merge: 69051a120 aef08f8cd
Author: itsmattkc <34096995+itsmattkc@users.noreply.github.com>
Date: Tue Feb 14 17:05:25 2023 -0800
Merge branch 'master' into kddockwidgets
commit 69051a120b8423d0ad7b38def2f7555d323cd74d
Author: itsmattkc <34096995+itsmattkc@users.noreply.github.com>
Date: Tue Feb 14 15:29:24 2023 -0800
finished kddockwidgets integration
commit 9a39dbeade871a0b9454b424c7f7a7482671d40b
Author: itsmattkc <34096995+itsmattkc@users.noreply.github.com>
Date: Tue Feb 14 11:54:25 2023 -0800
switch to kddockwidgets
This commit is contained in:
@@ -188,8 +188,6 @@ MainMenu::MainMenu(MainWindow *parent) :
|
||||
window_menu_ = new Menu(this, this, &MainMenu::WindowMenuAboutToShow);
|
||||
window_menu_separator_ = window_menu_->addSeparator();
|
||||
window_maximize_panel_item_ = window_menu_->AddItem("maximizepanel", parent, &MainWindow::ToggleMaximizedPanel, tr("`"));
|
||||
window_lock_layout_item_ = window_menu_->AddItem("lockpanels", PanelManager::instance(), &PanelManager::SetPanelsLocked);
|
||||
window_lock_layout_item_->setCheckable(true);
|
||||
window_menu_->addSeparator();
|
||||
window_reset_layout_item_ = window_menu_->AddItem("resetdefaultlayout", parent, &MainWindow::SetDefaultLayout);
|
||||
|
||||
@@ -403,7 +401,7 @@ void MainMenu::WindowMenuAboutToShow()
|
||||
// Alphabetize actions - keeps actions in a consistent order since PanelManager::panels() is
|
||||
// ordered from most recently focused to least, which may be confusing user experience.
|
||||
foreach (PanelWidget* panel, PanelManager::instance()->panels()) {
|
||||
QAction* panel_action = panel->toggleViewAction();
|
||||
QAction* panel_action = panel->toggleAction();
|
||||
|
||||
bool inserted = false;
|
||||
|
||||
@@ -422,8 +420,6 @@ void MainMenu::WindowMenuAboutToShow()
|
||||
|
||||
// Add new items
|
||||
window_menu_->insertActions(window_menu_separator_, panel_actions);
|
||||
|
||||
window_lock_layout_item_->setChecked(PanelManager::instance()->ArePanelsLocked());
|
||||
}
|
||||
|
||||
void MainMenu::PopulateOpenRecent()
|
||||
@@ -757,7 +753,6 @@ void MainMenu::Retranslate()
|
||||
// Window menu
|
||||
window_menu_->setTitle(tr("&Window"));
|
||||
window_maximize_panel_item_->setText(tr("Maximize Panel"));
|
||||
window_lock_layout_item_->setText(tr("Lock Panels"));
|
||||
window_reset_layout_item_->setText(tr("Reset to Default Layout"));
|
||||
|
||||
// Tools menu
|
||||
|
||||
Reference in New Issue
Block a user