Comments (8)
Hi Eric,
Is it standard behavior somewhere?
I think Tab and Shift+Tab are supposed to navigate among controls in direct and reversed order.
Now in QntProperty user can press "arrow down" to move selection one item down and press "enter" or "space" to start edit.
Do you need some single shortcut for these two steps?
Regards,
Alex
from qtnproperty.
Hi Alex,
Yes, you right. Almost software use the Tab key to navigate control (Tab in direct and Shift+Tab in reversed order).
I know QtnProperty use "Arrow down/up"+"Enter" to navigate the controls. And I also try to re-implement it, but I still have to use the "Enter" key to start editing (Tab + "Enter).
So I want you help me merge them to the single shortcut.
Regards,
Eric
from qtnproperty.
OK, but Shift+Tab is reserved as standard shortcut for reversed navigation.
What another keyboard combination do you want to use as "move next and edit" command?
from qtnproperty.
"move next and edit" = Tab
"move previous and edit" = Shift+Tab
Regards,
Eric
from qtnproperty.
I meant Tab already reserved for "Go to next control" and Shift+Tab - "Go to previous control".
If you press Tab while on PropertyWidget now You will switch focus to the next control on the form.
You should choose other shortcuts.
from qtnproperty.
OK, I meant.
"move next and edit" = Ctrl+Tab
"move previous and edit" = Ctrl+Shift+Tab
Regards,
Eric
from qtnproperty.
OK
from qtnproperty.
After some thinking I realize it's hard to implement now.
There are several possibilities for every property delegate:
-
Delegate doesn't support any input popup widget (like delegate for PropertyBool that directly handles mouse clicks and key presses).
How Ctrl+Tab should work in this case? -
Delegate has one QtnSubItem object that has input widget (for example delegate for PropertyFloat).
Ctrl+Tab should activate input widget. Simple case. -
Delegate has several QtnSubItem objects with different input widgets (I don't have such delegates now but can imagine something like PropertyDate where user can activate day, month or year widget independently).
How Ctrl+Tab should work in this case? -
Complex delegates (PropertySet, PropertyFont, PropertyEnumFlags ...) that have sub-properties.
How Ctrl+Tab should work in this case?
So I know only solution for case 2 and have no any clear and simple solution for other cases.
What do you think?
P.S. If it hard to understand what I wrote I can make some pictures to illustrate my ideas.
from qtnproperty.
Related Issues (20)
- implement sub-attributes for property delegates
- remove QtScript module dependency HOT 5
- refactor QPen property delegate and add QBrush property and delegate
- Doccumentation issue HOT 3
- LINK : fatal error LNK1181: cannot open input file 'release\QtnCoreUnity.obj' HOT 5
- ASSERT: "data.ptr->ref.isStatic()" in file kernel\qmetaobject.cpp, line 152 in debug mode HOT 4
- Improved QtnProperties HOT 1
- Does not support msvc2013? HOT 2
- Cannot find default delegate for property "" HOT 5
- Add virtual method to QtnPropertySet HOT 2
- Can you provide me the precompiled binary?
- when use QObjectPropertyWidget show object property, then drag splitter crash HOT 3
- How enter and display properties of double type in scientific notation HOT 2
- QtnPropertyQColorLineEditBttnHandler::onToolButtonClicked crash HOT 1
- Inplace editing must start by both Key_Return and Key_Enter HOT 5
- Inplace editing is possible only after updating visuals
- Use existing delegate for custom data type HOT 2
- Qt 5.14.2 Error while building/deploying project QtnProperty
- Qt 5.15.2 MinGW build error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qtnproperty.