Skip to content

Krita's Plugin - Quickly and easily get widget panel under the cursor

License

Notifications You must be signed in to change notification settings

Aqaao/DockerUnderCursor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Under Cursor

Overview

DockerUnderCursor is a plugin of Krita, it can make any docker float and display in the mouse position with keyboard shotcuts. Support Plugin Panel, E.g Pigment.O.

Features

  • You can set a shortcut key for each docker to switch between floating and hidden(docked).
  • In addition you can set three optional functions.
    • Remember position of cursor relative to docker when docker was last hidden.
    • Keep floating docker inside the main window.
    • Auto-hide docker after cursor leaves docker.
  • You can fix the floating docker on the screen so that you can use shortcuts to move the docker between the cursor position and the fixed position. Press the dedicated shortcut key(Default Ctrl+`) on the floating docker you want to fix, and it is fixed.
  • If you want to preserve position and state of the fixed docker in the switch between only canvas mode and normal mode, you can bind the "tab" key to "DUC only canvas mode" action.

Preview

Quick show docker Preview Remember position of cursor relative to docker RememberRelativePosition Keep floating docker inside the main window KeepInMainwindow Fix docker. FixedFloattingDocker

Install

  1. Click Code at the top of this page,then click Download ZIP in pop-up menu。
  2. Open Krita, click in order the top menu bar Tools - Scripts - Import Python Plugin from File, find zip file you downloaded,click open。
  3. Select Yes in pop-up window,then restart Krita.

Useage

If it's the first time you use the plugin, you won't find anything in the keyboard shortcuts configuration, you need to enable in settings。Click in order in the top menu bar Tools - Scripts - DUC Settings panel open setting dialog。Select the docker you need,and click Save,then restart Krita。Right now, open configure Krita,in keyboard shortcuts find Scripts - Docker Under Cursor ,you can see the items you have enabled, set a shortcut key for it!

Known issues

  • Some dockers with scroll bars(E.g Palette), the height of docker becomes smaller after switching the display multiple times.You need to drag the docker in the floating state to get it to attach and docked to the main window, and then it's normal.

About

Krita's Plugin - Quickly and easily get widget panel under the cursor

Resources

License

Stars

Watchers

Forks

Packages

No packages published