![]() |
2010-03-24
, 13:58
|
Posts: 103 |
Thanked: 8 times |
Joined on Jun 2009
|
#12
|
![]() |
2010-05-26
, 14:31
|
|
Posts: 141 |
Thanked: 267 times |
Joined on May 2010
@ Germany
|
#13
|
![]() |
2010-05-26
, 14:38
|
Posts: 144 |
Thanked: 134 times |
Joined on Jan 2010
@ Hamburg
|
#14
|
![]() |
2010-05-26
, 14:59
|
|
Posts: 1,012 |
Thanked: 817 times |
Joined on Jul 2007
@ France
|
#15
|
from PyQt4 import QtCore, QtGui from PyQt4.QtCore import Qt
def about(self,widget): #QtGui.QMessageBox.about(widget, ("About KhtEditor"), # ("<p><b>KhtEditor</b> is a source code editor " # "Mainly designed for Maemo and Meego.</p>")) aboutWin = QtGui.QMainWindow(widget) aboutWin.setAttribute(Qt.WA_Maemo5StackedWindow) aboutLabel = QtGui.QLabel('<center><b>KhtEditor</b> %s<br><br>A source code editor designed for ease of use on small screen<br><br>By Benoît HERVIER (Khertan) </center>' % self.version) aboutWin.setWindowTitle('About KhtEditor') aboutWin.setCentralWidget(aboutLabel) aboutWin.show()
![]() |
2010-05-26
, 17:42
|
|
Posts: 1,366 |
Thanked: 1,185 times |
Joined on Jan 2006
|
#16
|
![]() |
2010-05-26
, 19:04
|
Posts: 144 |
Thanked: 134 times |
Joined on Jan 2010
@ Hamburg
|
#17
|
![]() |
2010-05-26
, 19:05
|
|
Posts: 1,366 |
Thanked: 1,185 times |
Joined on Jan 2006
|
#18
|
you have to add foo.setAttribute(Qt.WA_Maemo5StackedWindow)
for every window down from the main window. then it worked for me.
![]() |
2010-05-26
, 19:24
|
|
Posts: 1,366 |
Thanked: 1,185 times |
Joined on Jan 2006
|
#19
|
![]() |
2010-05-26
, 19:39
|
|
Posts: 1,366 |
Thanked: 1,185 times |
Joined on Jan 2006
|
#20
|
class MainWindow(QMainWindow, Ui_MainWindow): """ Class documentation goes here. """ def __init__(self, parent = None): """ Constructor """ QMainWindow.__init__(self, parent) self.setupUi(self) self.configWin=configWindow(self) self.beatWin=beatWindow(self.configWin) try : self.setAttribute(Qt.WA_Maemo5StackedWindow) self.configWin.setAttribute(Qt.WA_Maemo5StackedWindow ) self.beatWin.setAttribute(Qt.WA_Maemo5StackedWindow ) USE_MAEMO=True except: USE_MAEMO=False
Help improve N900, vote for:
Information about what the email client is doing
Find applications easily with tags for sub-menus
A better help system
Limit download of emails per connection type (don't fetch attachments)
A better use of internal flash
Last edited by soeiro; 2010-03-24 at 13:44. Reason: Improved clarity