Changeset View
Changeset View
Standalone View
Standalone View
libs/ui/KisViewManager.cpp
Show First 20 Lines • Show All 699 Lines • ▼ Show 20 Line(s) | 657 | { | |||
---|---|---|---|---|---|
700 | KisAction *a = dynamic_cast<KisAction*>(actionCollection()->action("format_italic")); | 700 | KisAction *a = dynamic_cast<KisAction*>(actionCollection()->action("format_italic")); | ||
701 | if (a) { | 701 | if (a) { | ||
702 | a->setDefaultShortcut(QKeySequence()); | 702 | a->setDefaultShortcut(QKeySequence()); | ||
703 | } | 703 | } | ||
704 | 704 | | |||
705 | a = actionManager()->createAction("edit_blacklist_cleanup"); | 705 | a = actionManager()->createAction("edit_blacklist_cleanup"); | ||
706 | connect(a, SIGNAL(triggered()), this, SLOT(slotBlacklistCleanup())); | 706 | connect(a, SIGNAL(triggered()), this, SLOT(slotBlacklistCleanup())); | ||
707 | 707 | | |||
708 | actionManager()->createAction("ruler_pixel_multiple2"); | ||||
708 | d->showRulersAction = actionManager()->createAction("view_ruler"); | 709 | d->showRulersAction = actionManager()->createAction("view_ruler"); | ||
709 | d->showRulersAction->setChecked(cfg.showRulers()); | 710 | d->showRulersAction->setChecked(cfg.showRulers()); | ||
710 | connect(d->showRulersAction, SIGNAL(toggled(bool)), SLOT(slotSaveShowRulersState(bool))); | 711 | connect(d->showRulersAction, SIGNAL(toggled(bool)), SLOT(slotSaveShowRulersState(bool))); | ||
711 | 712 | | |||
712 | d->rulersTrackMouseAction = actionManager()->createAction("rulers_track_mouse"); | 713 | d->rulersTrackMouseAction = actionManager()->createAction("rulers_track_mouse"); | ||
713 | d->rulersTrackMouseAction->setChecked(cfg.rulersTrackMouse()); | 714 | d->rulersTrackMouseAction->setChecked(cfg.rulersTrackMouse()); | ||
714 | connect(d->rulersTrackMouseAction, SIGNAL(toggled(bool)), SLOT(slotSaveRulersTrackMouseState(bool))); | 715 | connect(d->rulersTrackMouseAction, SIGNAL(toggled(bool)), SLOT(slotSaveRulersTrackMouseState(bool))); | ||
715 | 716 | | |||
▲ Show 20 Lines • Show All 663 Lines • Show Last 20 Lines |