[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: comic plasmoid and soft freeze
From: Reza Shah <rshah0385 () kireihana ! com>
Date: 2012-10-27 13:51:32
Message-ID: CAPQiRUf-zEvKOhkERTn9m6jN0rt81YQ9HEecqQpNJLykzwfJcQ () mail ! gmail ! com
[Download RAW message or body]
I tried several ways as in this screen capture:
http://paste.opensuse.org/42234838
I tried with putting * for prefix, label overlay, and rectangle
overlay like below (simplified version), since i'm not sure which one
is the best.
PlasmaComponents.TabButton {
text: (comicApplet.tabBarButtonStyle & 0x1) ? ( (model.highlight ? "
* " : "") + model.title) : ""
PlasmaComponents.Label {
id:d
text:"*"
color: theme.highlightColor
anchors {
verticalCenter: parent.verticalCenter
left: parent.left
leftMargin: 18
}
}
Rectangle {
id:r
color: theme.highlightColor
width: 10
height: 8
anchors {
bottom: parent.bottom
left: parent.left
}
}
}
On Sat, Oct 27, 2012 at 8:59 PM, Marco Martin <notmart@gmail.com> wrote:
> On Saturday 27 October 2012, Reza Shah wrote:
>> In c++ version of plasma tabbar, the visual cue need highlight
>> property added to that component.
>> Not sure if this is a good way in qml version. May be like prefixing
>> the title or overlaying the icon can be an option.
>
> you have access directly to tabbar buttons, so just put something in when
> there is unread stuff like a little dot or something
>
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic