View Single Post
Helmuth's Avatar
Posts: 1,259 | Thanked: 1,341 times | Joined on Oct 2009 @ Germany
#480
Originally Posted by xerxes2 View Post
This one was a bit tricky. On GTK you just use the set_transient_for() method but that doesn't seem to exist for Qt. i've switched to the Dialog flag now, see this commit:
https://github.com/xerxes2/panucci/c...357b541ce8c044
Okay, now it's a dialog, not a window anymore. Have a look at the screenshot. But works for me.


Originally Posted by xerxes2 View Post
Haha, yeah I forgot to add a scrollarea to the settings dialog, fixed it now.
Thanks, I haven't created a screenshot now. But what about adding a store button on the right, not inside the scrollarea?

At the moment the scroll area has only 50% screen width, it is centered to the left and the right area is empty.

And at maemo, the cancel behavior is always to click on the empty screen area outside the dialog. So no need for a button. You shoudn't store changes to the settings if someone cancels the dialog.


Originally Posted by xerxes2 View Post
Hmm, I don't think I'm using qstring no, maybe I should? Actually this was the first time I heard about it. First I can say to you that you probably can't use files with the old 8-bit iso encoding. UTF-8 should work fine though afaik. Can you point me to a file with this problem?
Hmm... At this podcast are several files with umlauts:
http://www1.swr.de/podcast/xml/swr2/impuls.xml

I've read at this forum very often about encoding problems at Qt applications. Using QString instead of String fixed the problems, as far as I know, always. Have a look at the screenshot, the Button in the lower right. In the GTK version the caption is correct shown.
Attached Images
 
 

The Following User Says Thank You to Helmuth For This Useful Post: