Active Topics

 


Reply
Thread Tools
Posts: 2,829 | Thanked: 1,459 times | Joined on Dec 2009 @ Finland
#121
I just found these powerpoint slides and thought that link to this probably belongs here:

Andreas Jakl, Qt Symbian Maemo Quickstart:
http://www.slideshare.net/NokiaAppFo...emo-quickstart

Looks like quite fresh.
 

The Following User Says Thank You to slender For This Useful Post:
Posts: 3 | Thanked: 0 times | Joined on Apr 2010
#122
Just wondering, would meego (if the n900 ever gets it) support python and qt development?
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#123
Certainly. A bit early to say what exact features will (not) be supported, but I'd be surprised if we did not have both PyQt and PySide on MeeGo.
__________________
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc
 
Helmuth's Avatar
Posts: 1,259 | Thanked: 1,341 times | Joined on Oct 2009 @ Germany
#124
In reply of post #59:

Originally Posted by fatalsaint View Post
Lets set the Main Window size to 800x400:
I'm not sure. Has anybody said this in this Tread before?
I think we can set the Main Window size without any problem to 800x425 pixel and use the space for more useful applications.
Our Screen Resolution is 800x480 pixel. And the Top Menu is 55 pixel height.
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#125
Originally Posted by Helmuth View Post
I'm not sure. Has anybody said this in this Tread before?
I think we can set the Main Window size without any problem to 800x425 pixel and use the space for more useful applications.
Our Screen Resolution is 800x480 pixel. And the Top Menu is 55 pixel height.
The way I designed the interface in the tutorial it was ultimately irrelevant. With the use of the spacers and the dynamic layouts it will expand and shrink as needed to fit whatever size you are launching it.

So on a Desktop it'll default to the 800x400 but on the N900 it'll simply be those 25 pixels taller but all of the buttons and stuff with adjust making it look identical.

You can of course set whatever settings you want in there; design your interface; then launch it on an N900 and see how it looks.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 

The Following User Says Thank You to fatalsaint For This Useful Post:
Helmuth's Avatar
Posts: 1,259 | Thanked: 1,341 times | Joined on Oct 2009 @ Germany
#126
Ah, okay. Thanks a lot fatalsaint.

What about PyQt and Screen Rotation?

Listening to DBus is not so hard. It works just fine. But I get a "Segmentation fault" with only this code added:
Code:
import hildon
So I can't request the portrait Mode for the UI:
Code:
hildon.hildon_gtk_window_set_portrait_flags(self._get_main_window(), hildon.PORTRAIT_MODE_REQUEST)
Okay. We have here a Qt application and the code example is GTK. But my question is, how works this in Qt?
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#127
rootwidget.setAttribute(Qt.WA_Maemo5PortraitOrient ation, True)
__________________
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc
 

The Following 2 Users Say Thank You to attila77 For This Useful Post:
helex's Avatar
Posts: 543 | Thanked: 802 times | Joined on Apr 2010 @ Germany
#128
Sorry, I don't want to create a extra Thread:

Could someone post me a hint how to show up a yellow note on the screen?

I wan't a small popup notifiaction that my program is at the moment storing some data. But I don't know how to get it.


Also I want to hide a verticalSlider at the ui in some moments.

I'm a Python and Qt beginner. From other Languages I worked with before the elements of the graphical UI has all a "visible" property (True and False). - Exists a similar mechanism at PyQt?
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#129
Yellow note:

Code:
import sys
from PyQt4.QtMaemo5 import QMaemo5InformationBox
from PyQt4.QtGui import QApplication

app = QApplication(sys.argv)
QMaemo5InformationBox.information(None, "Boxy !")
sys.exit(app.exec_())
As for the scrollbar, sure, you can call for example myscrollarea.verticalScrollBar().setVisible(False) on it and off you go ! Note that Qt4.6 mostly does this automatically.
__________________
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc
 

The Following 2 Users Say Thank You to attila77 For This Useful Post:
Posts: 17 | Thanked: 15 times | Joined on May 2010
#130
Originally Posted by mikec View Post
Get Python 2.6 from Python.org Here.
Quick question: does it have to be version 2.6?
I see there is a 2.7 beta 2 available on python.org.

The version on my N900 is 2.5.4
 
Reply


 
Forum Jump


All times are GMT. The time now is 00:08.