Active Topics

 


Reply
Thread Tools
Posts: 50 | Thanked: 45 times | Joined on Dec 2009 @ France
#1
Hi,

I try to use two QListWidget for select number.

One for unit and an other for decimal. I want to do something like hour and minute selection in the alarm application of the n900.

It's work great on my laptop but on the N900, when i click on a QListWidget, the selection on the other vanish.

Do you know how to fix it ?
 
Posts: 246 | Thanked: 2,574 times | Joined on Jan 2010 @ Egypt, Cairo
#2
Well it really disappears but it's still selected, so you can get the current row or item normally. Don't know though how to show this selection when it loses focus ..
 

The Following User Says Thank You to tgalal For This Useful Post:
Posts: 432 | Thanked: 645 times | Joined on Mar 2009
#3
Originally Posted by mymybib View Post
It's work great on my laptop but on the N900, when i click on a QListWidget, the selection on the other vanish.

Do you know how to fix it ?
This seems to be a 4.5 issue. Try it out with the 4.6 beta and it should work.

Daniel
 

The Following User Says Thank You to danielwilms For This Useful Post:
Posts: 50 | Thanked: 45 times | Joined on Dec 2009 @ France
#4
Thanks for your answer.

I use the 4.6 beta.

With the answer of tgalal, now I think it's a only a display colour problem.

When i launch the program with root account, all widget looks differents (they don't use n900 theme) and it's work.

I will try to fix it with QPalette.
 
Posts: 50 | Thanked: 45 times | Joined on Dec 2009 @ France
#5
Ok, it's progress.

I have change color of item in one QListWidget.

When I start the app with user account, the default theme apply and I see no change.

When I start the app with root account, I've got this :

qgtkstyle cannot be used together with the gtk_qt engine
Somebody have a clue to help me to fix this ?
 
VDVsx's Avatar
Posts: 1,070 | Thanked: 1,604 times | Joined on Sep 2008 @ Helsinki
#6
Originally Posted by mymybib View Post
Ok, it's progress.

I have change color of item in one QListWidget.

When I start the app with user account, the default theme apply and I see no change.

When I start the app with root account, I've got this :



Somebody have a clue to help me to fix this ?
As root you should use: run-standalone.sh app_name
__________________
Valério Valério
www.valeriovalerio.org
 
Reply


 
Forum Jump


All times are GMT. The time now is 03:58.