UKTAG#3: User Interface Design - Splitters, Panes and SubPanels
HTML-код
- Опубликовано: 19 сен 2024
- The highest rated LabVIEW training course on Udemy (created my me): www.udemy.com/...
Purchasing the course using this link is the best way to learn LabVIEW and support the channel.
In this talk, I go through the three key elements to make a professional user interface.
LabVIEW UI Tips and Tricks
A demonstration and code walk-through of a user interface prototype that utilises several UI tips and tricks that give applications a professional look and feel.
The UK Test and Automation Group - UKTAG
forums.ni.com/...
We are the first user group in the UK to focus on TestStand, LabVIEW and Test Automation as a whole. Our user group meetings are based around Northants, Beds and Bucks region of the UK. We stream the event using Microsoft Teams and is open to everyone. Please signup and subscribe for updates.
Tom McQuillan
#LabVIEW #SoftwareDesign #UKTAG
The best video ever on LabVIEW UI and probably on LabVIEW too. You unlocked new knowledge to me.
Thank you a ton!
Nice how easy you teach this fews concepts in a pratical way. I am loving working with LabVIEW and even more watching your videos and see what should I be able to do with more years of experiences.
Excellent Presentation
I just wanna know how you got the subpanel to move slowly and smoothly when clicking the splitter!
The trick is to use the position properly sparingly. Instead of setting the position property node in for loop for every pixel, set the position to 10%, 25%, 50%, 75%, 90%, and 100% with a ~80ms delay between each. To the user it will appear smooth, but use significantly less processing power. Play around with the percentage values and the delay until you get something just right.
Hey, cool presentation. How you have done the GUI, that the panes comes out and then back in? could you please give me the vi in lv version 2018?
hello, a very inspiring presentation. How to make this disappearable menu that can be pinned? I will be grateful for help. I have tried Pane Position but it is read only.
Nice presentation. Is the example code available anywhere? I'm particularly interested in how you did the scrollbar at 11:25! Is that a QControl?
Hi Jonathan, unfortunately I can't share the code with you, but to answer your question about the scroll bar:
There's a mouse enter event (for the array of picture boxes) that checks if the length of the array is greater than the length of the pane. If yes, then the scroll bar is visbale (else, it isn't), then the mouse leave event hides the scroll bar.
When there's a mouse down event, I calculate which element of the array the mouse was over (google how to do that, someone posted a fancy trick, which I can't remember off hand).
It isn't a Q Contol, but it would be a good contender for one :)
great