[Qt-interest] Battery Status

linux newbie linux.newbie79 at gmail.com
Thu Nov 26 00:23:31 CET 2009


Hi Frank,

Thanks for your email and sorry for not being much clear in my previous email.

I need to display this battery status on top of screen i.e. in the
place of title bar.

I can create a widget and draw the battery status in it and dock it on
top in server process, but since there are other client applications
that connects to server, the battery stauts will not be displayed.

So, is it possible to have floating window, that sits on top
irrespective of different client applications.

Thanks

On Thu, Nov 26, 2009 at 10:13 AM, Frank Mertens <frank at cyblogic.de> wrote:
> linux newbie wrote:
>> Hi All,
>>
>> I am using Qt in embedded ARM platform.
>>
>> I need to show battery stauts(progress bar) on top of the display
>> screen irrespective of multiple client applications running. can
>> anyone suggest me the way to accomplish this task?
>>
>
> Hi Linux newbie, try QFile on /proc/acpi and dump it into a QMessageBox.
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>



More information about the Qt-interest-old mailing list