This forum has been archived. All content is frozen. Please use KDE Discuss instead.

What's the Command Link?

Tags: None
(comma "," separated)
User avatar
jstaniek
Moderator
Posts
1027
Karma
2
OS

What's the Command Link?

Fri Nov 07, 2014 10:49 am
Hi,
Diring this discussion another question popped up: what's the Command Link?

Is it the Command Link Button available in Qt?

Image

If so, this widget has no flat option and no (hyper)links. The HIG page mentions these attributes in the Appearance section.

Still, I am using this widget class in Assistants to let users easily pick one of two or more options by just clicking a button:

Image


Best regards,
Jarosław Staniek
• Qt Certified Specialist
KEXI - Open Source Visual DB Apps Builder
• Request a feature or fix for KEXI here
May I help you? Please mention your app's version and OS when asking for help
User avatar
colomar
Registered Member
Posts
947
Karma
2
OS

Re: What's the Command Link?

Fri Nov 07, 2014 10:17 pm
The command link was our description of a UI element which didn't really exist yet. It was inspired by other OSes. However, the way it's meant to be used is in fact similar to what you use the "Command Link Button".
The only Issue I see with the widget is that its default look is rather "heavyweight".
Would it be possible to make it appear more lightweight at least in Breeze?
User avatar
jstaniek
Moderator
Posts
1027
Karma
2
OS

Re: What's the Command Link?

Sun Nov 09, 2014 11:12 pm
Could you present a mockup to show your idea of the lightweight widget?

The widget as presented takes so many space to make it easy to hit, and it resides on Assistant pages that contain no other elements.

I see one bit that's troubling: if the command link buttons are present, existence Next button makes no sense. On subsequent pages where the command link buttons are not present, Next button re-appears.


Best regards,
Jarosław Staniek
• Qt Certified Specialist
KEXI - Open Source Visual DB Apps Builder
• Request a feature or fix for KEXI here
May I help you? Please mention your app's version and OS when asking for help
User avatar
Heiko Tietze
Registered Member
Posts
593
Karma
0
OS

Re: What's the Command Link?

Mon Nov 10, 2014 10:34 am
Flat buttons would do the lightness, I guess. Here is how MS uses command links: http://msdn.microsoft.com/en-us/library ... 85%29.aspx
User avatar
colomar
Registered Member
Posts
947
Karma
2
OS

Re: What's the Command Link?

Mon Nov 10, 2014 12:31 pm
Heiko Tietze wrote:Flat buttons would do the lightness, I guess. Here is how MS uses command links: http://msdn.microsoft.com/en-us/library ... 85%29.aspx


Yup, that's what this HIG was inspired by.
User avatar
jstaniek
Moderator
Posts
1027
Karma
2
OS

Re: What's the Command Link?

Mon Nov 10, 2014 9:23 pm
Heiko Tietze wrote:Flat buttons would do the lightness, I guess. Here is how MS uses command links: http://msdn.microsoft.com/en-us/library ... 85%29.aspx

Then I see no reason why this couldn't be expressed in the breeze QStyle (and Qt Quick Control Style).

@luebking @Hugo?

Current implementation in Breeze is as I presented by the 1st screenshot.


Best regards,
Jarosław Staniek
• Qt Certified Specialist
KEXI - Open Source Visual DB Apps Builder
• Request a feature or fix for KEXI here
May I help you? Please mention your app's version and OS when asking for help


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]