Re: KDE/kdebase/workspace/plasma/generic/applets/devicenotifier

2010-07-15 Thread Chani
On July 15, 2010 17:22:24 Markus Slopianka wrote:
> On Thursday 15 July 2010 17:57:11 Aaron J. Seigo wrote:
> > i really dislike text-on-graphics from a design
> > perspective. text is fine detail, and a progress bar is visually fairly
> > complex. maybe it's time to think outside the box. e.g. maybe colourize
> > the device icon showing what % of it is filled and provide the usage text
> > where the current progress bar is. the pie chart solution as seen in
> > Lancelot would likely break up the layout in visually unpleasing ways
> > here, so i wouldn't consider that too much.
> 
> I guess you don't have a portable MP3 player. If you had one, you wouldn't
> make such ridiculous proposals.
> 

could you be a little nicer please? :P I'm tired of people snapping at each 
other.


btw, I've only had a quick glance at what you guys are doing, but here's some 
food for thought: the user is most likely to care how much free space there is 
when there isn't much of it. (although with 1TB usb drives it becomes a bit 
hard to quantify "not much", hmm...)
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: KDE/kdebase/workspace/plasma/generic/applets/devicenotifier

2010-07-15 Thread Aaron J. Seigo
On July 15, 2010, Markus Slopianka wrote:
> On Thursday 15 July 2010 17:57:11 Aaron J. Seigo wrote:
> > i really dislike text-on-graphics from a design
> > perspective. text is fine detail, and a progress bar is visually fairly
> > complex. maybe it's time to think outside the box. e.g. maybe colourize
> > the device icon showing what % of it is filled and provide the usage text
> > where the current progress bar is. the pie chart solution as seen in
> > Lancelot would likely break up the layout in visually unpleasing ways
> > here, so i wouldn't consider that too much.
> 
> I guess you don't have a portable MP3 player. If you had one, you wouldn't
> make such ridiculous proposals.

let me quote the relevant bit that you evidently missed: "and provide the 
usage text where the current progress bar is." 

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks


signature.asc
Description: This is a digitally signed message part.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: KDE/kdebase/workspace/plasma/generic/applets/devicenotifier

2010-07-15 Thread Markus Slopianka
On Thursday 15 July 2010 17:57:11 Aaron J. Seigo wrote:
 
> i really dislike text-on-graphics from a design
> perspective. text is fine detail, and a progress bar is visually fairly
> complex. maybe it's time to think outside the box. e.g. maybe colourize
> the device icon showing what % of it is filled and provide the usage text
> where the current progress bar is. the pie chart solution as seen in
> Lancelot would likely break up the layout in visually unpleasing ways
> here, so i wouldn't consider that too much.

I guess you don't have a portable MP3 player. If you had one, you wouldn't 
make such ridiculous proposals.

Colors, pie charts, etc. are OK for quick and dirty checks -- for disks that 
have hundreds of gigs available and a single MB isn't of any significance.
With common MP3 players a single MB makes the difference if I can have a song 
stored on the device or not.

Design decisions that require tooltips or additional clicks to find out basic 
information (be it space available on external drives such as MP3 players or 
Plasmoid descriptions) are counter usability and may have their space in the 
realm of GNOME.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: KDE/kdebase/workspace/plasma/generic/applets/devicenotifier

2010-07-15 Thread Aaron J. Seigo
On July 14, 2010, Jacopo De Simoi wrote:
> > On Wednesday 14 July 2010 20:10:42 Jacopo De Simoi wrote:
> > > SVN commit 1149977 by jacopods:
> > > 
> > > First attempt to get rid of the capacity bar in the device notifier:
> > > use a Plasma::Meter with tooltips. Screenshot:
> > > http://imagebin.ca/view/ccJ3dD.html
> > 
> > No longer displays amount of free space --> regression.
> > Avoidable tooltips -> Usability problem.
> 
> I agree, suggestions?

is it worth the extra text (and therefore visual 
information) in this particular UI to always show the numeric amount of space 
left?

that you can find this out on hover via a tooltip is not 
particular discoverable, and this information only shown on hover of the item 
anyways.

i really dislike text-on-graphics from a design perspective. 
text is fine detail, and a progress bar is visually fairly complex. maybe it's 
time to think outside the box. e.g. maybe colourize the device icon showing 
what % of it is filled and provide the usage text where the current progress 
bar is. the pie chart solution as seen in Lancelot would likely break up the 
layout in visually unpleasing ways here, so i wouldn't consider that too 
much.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks


signature.asc
Description: This is a digitally signed message part.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: KDE/kdebase/workspace/plasma/generic/applets/devicenotifier

2010-07-14 Thread Markus Slopianka
On Wednesday 14 July 2010 23:46:41 Jacopo De Simoi wrote:

> > No longer displays amount of free space --> regression.
> > Avoidable tooltips -> Usability problem.
> 
> I agree, suggestions?

How about extending Plasma::Meter to show text/numbers in the progress bar? 
Maybe it could look like the percentage display on the battery Plasma applet.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: KDE/kdebase/workspace/plasma/generic/applets/devicenotifier

2010-07-14 Thread Jacopo De Simoi
> On Wednesday 14 July 2010 20:10:42 Jacopo De Simoi wrote:
> > SVN commit 1149977 by jacopods:
> > 
> > First attempt to get rid of the capacity bar in the device notifier: use a
> > Plasma::Meter with tooltips. Screenshot:
> > http://imagebin.ca/view/ccJ3dD.html
> 
> No longer displays amount of free space --> regression.
> Avoidable tooltips -> Usability problem.

I agree, suggestions?

> Bug you mentioned -> Qt bug (fixed in 4.7).

Indeed, since Qt 4.7 would probably be required for KDE SC 4.6, I agree that 
I could in principle leave it as-is. 
 
> What are the actual improvements then?
I'm just trying to experiment early in the release cycle to see if I can get 
some good ideas;
The point is to make sure to have a consistent look; right now the look of the 
capacitybar 
depends on the qt widget style, which doesn't sound exactly right to me.
I mean... I can live with it, but I'd like to come up with something more, 
well… elegant :)
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: KDE/kdebase/workspace/plasma/generic/applets/devicenotifier

2010-07-14 Thread Markus Slopianka
On Wednesday 14 July 2010 20:10:42 Jacopo De Simoi wrote:
> SVN commit 1149977 by jacopods:
> 
> First attempt to get rid of the capacity bar in the device notifier: use a
> Plasma::Meter with tooltips. Screenshot:
> http://imagebin.ca/view/ccJ3dD.html

No longer displays amount of free space --> regression.
Avoidable tooltips -> Usability problem.
Bug you mentioned -> Qt bug (fixed in 4.7).

What are the actual improvements then?
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: KDE/kdebase/workspace/plasma/generic/applets/devicenotifier

2010-07-14 Thread Aaron J. Seigo
On July 14, 2010, Jacopo De Simoi wrote:
> > On July 14, 2010, Jacopo De Simoi wrote:
> > > SVN commit 1149977 by jacopods:
> > > 
> > > First attempt to get rid of the capacity bar in the device notifier:
> > > use a Plasma::Meter with tooltips. Screenshot:
> > > http://imagebin.ca/view/ccJ3dD.html
> > 
> > the screenshot looks nice; but i'm curious: what were the issues with
> > KCapacityBar in this case?
> 
> I had in mind issues such as the following br:
> 
> https://bugs.kde.org/show_bug.cgi?id=231609

ok, thanks for the added info :)

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks


signature.asc
Description: This is a digitally signed message part.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: KDE/kdebase/workspace/plasma/generic/applets/devicenotifier

2010-07-14 Thread Jacopo De Simoi
> On July 14, 2010, Jacopo De Simoi wrote:
> > SVN commit 1149977 by jacopods:
> > 
> > First attempt to get rid of the capacity bar in the device notifier: use a
> > Plasma::Meter with tooltips. Screenshot:
> > http://imagebin.ca/view/ccJ3dD.html
> 
> the screenshot looks nice; but i'm curious: what were the issues with 
> KCapacityBar in this case? 

I had in mind issues such as the following br:

https://bugs.kde.org/show_bug.cgi?id=231609
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: KDE/kdebase/workspace/plasma/generic/applets/devicenotifier

2010-07-14 Thread Aaron J. Seigo
On July 14, 2010, Jacopo De Simoi wrote:
> SVN commit 1149977 by jacopods:
> 
> First attempt to get rid of the capacity bar in the device notifier: use a
> Plasma::Meter with tooltips. Screenshot:
> http://imagebin.ca/view/ccJ3dD.html

the screenshot looks nice; but i'm curious: what were the issues with 
KCapacityBar in this case? 

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks


signature.asc
Description: This is a digitally signed message part.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


KDE/kdebase/workspace/plasma/generic/applets/devicenotifier

2010-07-14 Thread Jacopo De Simoi
SVN commit 1149977 by jacopods:

First attempt to get rid of the capacity bar in the device notifier: use a 
Plasma::Meter with tooltips.
Screenshot: http://imagebin.ca/view/ccJ3dD.html

Feedback is more than welcome
CCMAIL:plasma-devel@kde.org


 M  +17 -17deviceitem.cpp  
 M  +3 -2  deviceitem.h  


--- 
trunk/KDE/kdebase/workspace/plasma/generic/applets/devicenotifier/deviceitem.cpp
 #1149976:1149977
@@ -33,7 +33,6 @@
 #include 
 #include 
 #include 
-#include 
 #include 
 
 //Plasma
@@ -42,6 +41,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
 
@@ -107,16 +107,16 @@
 m_descriptionLabel->setOpacity(0);
 updateColors();
 
-KCapacityBar *capacityBarWidget = new 
KCapacityBar(KCapacityBar::DrawTextInline);
-m_capacityBar = new QGraphicsProxyWidget(this);
-m_capacityBar->setWidget(capacityBarWidget);
-capacityBarWidget->setAttribute(Qt::WA_TranslucentBackground);
-capacityBarWidget->setContinuous(true);
-m_capacityBar->setAcceptHoverEvents(false);
-m_capacityBar->setOpacity(0);
+
+m_freeSpaceBar = new Plasma::Meter();
+m_freeSpaceBar->setMeterType(Plasma::Meter::BarMeterHorizontal);
+m_freeSpaceBar->setLabelAlignment(0, Qt::AlignCenter);
+m_freeSpaceBar->setOpacity(0);
+m_freeSpaceBar->setMaximumHeight(12);
+
 info_layout->addItem(m_nameLabel);
 info_layout->addItem(m_descriptionLabel);
-info_layout->addItem(m_capacityBar);
+info_layout->addItem(m_freeSpaceBar);
 
 m_leftActionIcon = new Plasma::IconWidget(this);
 
m_leftActionIcon->setMaximumSize(m_leftActionIcon->sizeFromIconSize(LEFTACTION_SIZE));
@@ -317,9 +317,9 @@
 }
 }
 
-const bool barVisible = m_capacityBar->isVisible();
-m_capacityBar->setVisible(m_mounted && allowsCapacityBar());
-if (!barVisible && m_capacityBar->isVisible()) {
+const bool barVisible = m_freeSpaceBar->isVisible();
+m_freeSpaceBar->setVisible(m_mounted && allowsCapacityBar());
+if (!barVisible && m_freeSpaceBar->isVisible()) {
 // work around for a QGraphicsLayout bug when used with proxy widgets
 m_mainLayout->invalidate();
 }
@@ -360,7 +360,7 @@
 m_barFade = 
Plasma::Animator::create(Plasma::Animator::FadeAnimation, this);
 
 m_labelFade->setTargetWidget(m_descriptionLabel);
-m_barFade->setTargetWidget(m_capacityBar);
+m_barFade->setTargetWidget(m_freeSpaceBar);
 
 m_labelFade->setProperty("targetOpacity", 0);
 m_barFade->setProperty("targetOpacity", 0);
@@ -378,15 +378,15 @@
 void DeviceItem::setHoverDisplayOpacity(qreal opacity)
 {
 m_descriptionLabel->setOpacity(opacity);
-m_capacityBar->setOpacity(opacity);
+m_freeSpaceBar->setOpacity(opacity);
 }
 
 void DeviceItem::setFreeSpace(qulonglong freeSpace, qulonglong size)
 {
 qulonglong usedSpace = size - freeSpace;
-KCapacityBar *capacityBarWidget = 
static_cast(m_capacityBar->widget());
-capacityBarWidget->setText(i18nc("@info:status Free disk space", "%1 
free", KGlobal::locale()->formatByteSize(freeSpace)));
-capacityBarWidget->setValue(size > 0 ? (usedSpace * 100) / size : 0);
+
+m_freeSpaceBar->setToolTip(i18nc("@info:status Free disk space", "%1 
free", KGlobal::locale()->formatByteSize(freeSpace)));
+m_freeSpaceBar->setValue(size > 0 ? (usedSpace * 100) / size : 0);
 }
 
 void DeviceItem::leftActionClicked()
--- 
trunk/KDE/kdebase/workspace/plasma/generic/applets/devicenotifier/deviceitem.h 
#1149976:1149977
@@ -33,6 +33,7 @@
 class IconWidget;
 class BusyWidget;
 class Label;
+class Meter;
 }
 
 namespace Notifier
@@ -332,8 +333,8 @@
 ///The label that draws the description of the device
 Plasma::Label *m_descriptionLabel;
 
-///The proxy hosting the capacity bar
-QGraphicsProxyWidget *m_capacityBar;
+///The meter that draws free space for the device
+Plasma::Meter *m_freeSpaceBar;
 
 ///The busy widget
 Plasma::BusyWidget *m_busyWidget;
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: KDE/kdebase/workspace/plasma/generic/applets/devicenotifier

2010-05-11 Thread Aaron J. Seigo
On May 11, 2010, todd rme wrote:
> On Tue, May 11, 2010 at 2:34 PM, Aaron J. Seigo  wrote:
> > "It is currently not safe to remove this device: applications may
> > be accessing other volumes on this device. Click the eject button  > src=\"devicenotifier://eject.png\" /> on these other volumes to safely
> > remove this device."
> 
> Would it be possible to list the other devices in the tooltip?

oh, and.. yes :)

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks


signature.asc
Description: This is a digitally signed message part.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: KDE/kdebase/workspace/plasma/generic/applets/devicenotifier

2010-05-11 Thread Aaron J. Seigo
On May 11, 2010, todd rme wrote:
> On Tue, May 11, 2010 at 2:34 PM, Aaron J. Seigo  wrote:
> > "It is currently not safe to remove this device: applications may
> > be accessing other volumes on this device. Click the eject button  > src=\"devicenotifier://eject.png\" /> on these other volumes to safely
> > remove this device."
> 
> Would it be possible to list the other devices in the tooltip?
> 
> Also, how does this all deal with encrypted removable devices, where
> you have to unmount the partition in the encrypted volume, then
> unmount the device itself?

the tooltips don't cover this scenario explicitly right now, but the code 
shows a lock/unlock button for this two-step process.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks


signature.asc
Description: This is a digitally signed message part.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: KDE/kdebase/workspace/plasma/generic/applets/devicenotifier

2010-05-11 Thread todd rme
On Tue, May 11, 2010 at 2:34 PM, Aaron J. Seigo  wrote:
> "It is currently not safe to remove this device: applications may be
> accessing other volumes on this device. Click the eject button  src=\"devicenotifier://eject.png\" /> on these other volumes to safely remove
> this device."

Would it be possible to list the other devices in the tooltip?

Also, how does this all deal with encrypted removable devices, where
you have to unmount the partition in the encrypted volume, then
unmount the device itself?

-Todd
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: KDE/kdebase/workspace/plasma/generic/applets/devicenotifier

2010-05-11 Thread Aaron J. Seigo
On May 11, 2010, Jacopo De Simoi wrote:
> SVN commit 1125556 by jacopods:
> 
> Try to clarify if it is safe or unsafe to remove the device via tooltips.

good idea. the strings you committed:

"Device is plugged in and the volume can be accessed by applications. It is 
not safe to remove this device."

"Device is plugged in and the volume is not mounted for access yet. The device 
can be safely removed."

"Device is plugged in and the volume is not mounted for access yet. Another 
volume is accessible on the same device, which cannot be safely removed."

i think we can assume in all cases that the device is plugged in. if it 
wasn't, we wouldn't be showing it :) so let's just remove that part.

i think we should also start with the important bit: if it is safe to remove 
it or not. and let's try to drop some of the jargon, such as what "mounted" 
is.

so .. maybe sth like:

"It is safe to remove this device."

"It is not safe to remove this device: applications may be accessing 
it. Click the eject button  to 
safely remove this device."

"It is currently not safe to remove this device: applications may be 
accessing other volumes on this device. Click the eject button  on these other volumes to safely remove 
this device."

the eject image can be added to the tooltipcontent with:

addResource(Plasma::ToolTipContent::ImageResource, 
"devicenotifier://eject.png", ejectPixmap);

thoughts?

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks


signature.asc
Description: This is a digitally signed message part.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


KDE/kdebase/workspace/plasma/generic/applets/devicenotifier

2010-04-11 Thread Jacopo De Simoi
SVN commit 1113686 by jacopods:

Show error messages inside the applet instead of using Plasma::MessageBox
As soon as a patch in solid is accepted, the notifier will be able to react to 
errors triggered by other applications, hence errors will be shown also when 
triggered from other applications (e.g. dolphin). 

Feedback is welcome!

CCMAIL:plasma-devel@kde.org


 M  +7 -1  devicenotifier.cpp  
 M  +69 -9 notifierdialog.cpp  
 M  +20 -0 notifierdialog.h  


--- 
trunk/KDE/kdebase/workspace/plasma/generic/applets/devicenotifier/devicenotifier.cpp
 #1113685:1113686
@@ -158,6 +158,7 @@
 } else {
 m_dialog->collapseDevices();
 }
+changeNotifierIcon();
 }
 
 void DeviceNotifier::dataUpdated(const QString &udi, Plasma::DataEngine::Data 
data)
@@ -445,7 +446,12 @@
 
 void DeviceNotifier::showErrorMessage(const QString &message)
 {
-showMessage(KIcon("dialog-error"), message, ButtonOk);
+m_dialog->showStatusBarMessage(message);
+emit activate();
+showPopup(NOTIFICATION_TIMEOUT);
+changeNotifierIcon("dialog-error");
+update();
+QTimer::singleShot(NOTIFICATION_TIMEOUT, m_dialog, 
SLOT(resetNotifierIcon()));
 }
 
 bool DeviceNotifier::areThereHiddenDevices()
--- 
trunk/KDE/kdebase/workspace/plasma/generic/applets/devicenotifier/notifierdialog.cpp
 #1113685:1113686
@@ -462,8 +462,8 @@
 m_widget->installEventFilter(this);
 m_widget->setFocusPolicy(Qt::ClickFocus);
 
-QGraphicsLinearLayout *l_layout = new QGraphicsLinearLayout(Qt::Vertical, 
m_widget);
-l_layout->setSpacing(0);
+m_mainLayout = new QGraphicsLinearLayout(Qt::Vertical, m_widget);
+m_mainLayout->setSpacing(0);
 
 Plasma::IconWidget *icon = new Plasma::IconWidget(m_widget);
 icon->setIcon(KIcon("emblem-mounted"));
@@ -486,7 +486,7 @@
 QGraphicsWidget *titleWidget = new QGraphicsWidget();
 titleWidget->setLayout(l_layout2);
 
-l_layout->addItem(titleWidget);
+m_mainLayout->addItem(titleWidget);
 
 m_devicesScrollWidget = new Plasma::ScrollWidget(m_widget);
 QGraphicsWidget *devicesWidget = new 
QGraphicsWidget(m_devicesScrollWidget);
@@ -496,7 +496,7 @@
 m_deviceLayout->setContentsMargins(0, 0, 0, 8);
 devicesWidget->setLayout(m_deviceLayout);
 
-l_layout->addItem(m_devicesScrollWidget);
+m_mainLayout->addItem(m_devicesScrollWidget);
 
 m_itemBackground = new Plasma::ItemBackground(devicesWidget);
 m_selectedItemBackground = new Plasma::ItemBackground(devicesWidget);
@@ -506,17 +506,72 @@
 connect(m_itemBackground, SIGNAL(animationStep(qreal)), this, 
SLOT(itemBackgroundMoving(qreal)));
 connect(m_selectedItemBackground, SIGNAL(animationStep(qreal)), this, 
SLOT(itemBackgroundMoving(qreal)));
 
+m_statusWidget = new QGraphicsWidget();
+QGraphicsLinearLayout *statusLayout = new 
QGraphicsLinearLayout(Qt::Vertical, m_statusWidget);
+
+m_statusWidget->setLayout(statusLayout);
+Plasma::Separator *statusSeparator = new Plasma::Separator();
+statusSeparator->setOrientation(Qt::Horizontal);
+statusSeparator->setSizePolicy(QSizePolicy::MinimumExpanding, 
QSizePolicy::Fixed);
+statusLayout->addItem(statusSeparator);
+
+m_statusText = new Plasma::Label();
+m_statusText->setSizePolicy(QSizePolicy::MinimumExpanding, 
QSizePolicy::Minimum);
+
+Plasma::IconWidget *closeButton = new Plasma::IconWidget();
+closeButton->setSvg("widgets/configuration-icons", "close");
+
closeButton->setMaximumSize(closeButton->sizeFromIconSize(KIconLoader::SizeSmall/2));
+closeButton->setMinimumSize(closeButton->maximumSize());
+
+connect(closeButton, SIGNAL(clicked()), this, SLOT(dismissStatusBar()));
+
+QGraphicsLinearLayout *labelLayout = new 
QGraphicsLinearLayout(Qt::Horizontal);
+Plasma::IconWidget *infoIcon = new Plasma::IconWidget();
+infoIcon->setIcon("preferences-desktop-notification");
+
infoIcon->setMaximumSize(infoIcon->sizeFromIconSize(KIconLoader::SizeSmall));
+
infoIcon->setMinimumSize(infoIcon->sizeFromIconSize(KIconLoader::SizeSmall));
+
+labelLayout->addItem(infoIcon);
+labelLayout->setAlignment(infoIcon, Qt::AlignVCenter);
+labelLayout->addItem(m_statusText);
+labelLayout->setAlignment(m_statusText, Qt::AlignVCenter);
+labelLayout->addItem(closeButton);
+labelLayout->setAlignment(closeButton, Qt::AlignVCenter);
+
+statusLayout->addItem(labelLayout);
+
 devicesWidget->adjustSize();
 updateMainLabelText();
 
-m_widget->setLayout(l_layout);
+m_widget->setLayout(m_mainLayout);
 m_widget->setMinimumSize(250, 300);
 }
 
+void NotifierDialog::dismissStatusBar()
+{
+m_statusWidget->hide();
+m_mainLayout->removeItem(m_statusWidget);
+}
+
+void NotifierDialog::showStatusBarMessage(const QString & me