-
Notifications
You must be signed in to change notification settings - Fork 620
Tab double click and renaming #673
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi, I just added a new config flag to master to enable / disable undocking on double-click. So if you want to implement point 2, feel free to create a pull request. |
Thanks, will see what I can do. |
Extensible menu would be nice and a more generic solution for more users so I would prefer this. |
@pylessard have a look to the latest changes involving the popup menu, specifically commit f237863 and the MyDockAreaTitleBar class in the demo subdirectory. IIUC, that should help you with the implementation. |
Thanks, will have a look. I am focusing on something else right now. But when the time comes, I will consider this |
Altough this issue is closed, I have opened a PR to enable custom contextmenu extension. See #742 Adding custom action could have been possible with a custom component factory, the solution i'm proposing allow per-dock widget features and also is more future-proof for the users as the context menu coming from the library can be extended instead of rebuilt from scratch with a duplicated logic. |
Hi,
For my use case, I would like to have 2 behaviours:
For 1. I think a simple flag to disable the event would be enough
For 2, I see 2 options:
a. Fully implemented within this project
b. Add a hook to enable custom QActions inside the context menu of a right click. Then I could add a Rename option that pops a window.
I can make a Pull Request fort 1. and 2.b. Would you be open for it?
The text was updated successfully, but these errors were encountered: