maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Empty List View (https://talk.maemo.org/showthread.php?t=70648)

hezillion 2011-03-04 07:03

Empty List View
 
1 Attachment(s)
Hi,

I'm developing an application for N900.
I'm using python and PyQt.

Does anyone know how to make the empty QListView/Widget into the standard Maemo style like the attached picture?

Thank you in advance

mece 2011-03-04 07:14

Re: Empty List View
 
Quote:

Originally Posted by hezillion (Post 960281)
Hi,

I'm developing an application for N900.
I'm using python and PyQt.

Does anyone know how to make the empty QListView/Widget into the standard Maemo style like the attached picture?

Thank you in advance

Haven't checked how it's done usually but why not just display a label instead of the listview when it's empty?

hezillion 2011-03-04 07:42

Re: Empty List View
 
Thanks for the reply.
I have tried putting label in the list, but it didn't work.

and then I realized I could just put the label floating on the window and set the geometry (position).
I was too dependent to standard layout. Silly me. :p


All times are GMT. The time now is 19:26.

vBulletin® Version 3.8.8