Re: [PyQt] How to start an app in max size?

2012-01-16 Thread Nick Gaens
t it hides the windows bar. > > thx, > > Fab > ___ > PyQt mailing listPyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- Nick Gaens ___ PyQ

Re: [PyQt] Delaying splash screen

2011-09-08 Thread Nick Gaens
msecs = 0 > QThread.msleep(msecs) > aSplashScreen = TeSplashScreen(self.sPixmap) > aSplashScreen.show > for i in range(len(messages)): > aSplashScreen.showMessage(messages[i], alignment, color) > SleeperThread.msleep(delay) > > > > > - > > Best Regards > Muhammad Bashir Al-Noimi > My Blog: http://mbnoimi.net > > > ___ > PyQt mailing listPyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- Nick Gaens ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] Delaying splash screen

2011-09-07 Thread Nick Gaens
nt, const QColor& color) > { > class SleeperThread : public QThread > { > public: > static void msleep(unsigned long msecs) {QThread::msleep(msecs);} > }; > > TeSplashScreen* aSplashScreen = new TeSplashScreen(sPixmap); > aSplashS

Re: [PyQt] Text and Image Alignment

2011-08-17 Thread Nick Gaens
SIGNAL('clicked()'), >> > partial(calluser, user_Handle)) >> > >> > Thank You >> > >> > Ahmed >> > >> > ___ >> > PyQt mailing listPyQt@riverbankcomputing.com >> > http://www.riverbankcomputing.com/mailman/listinfo/pyqt >> > >> > > > ___ > PyQt mailing listPyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- Nick Gaens ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] Help with Login Dialog / QThread issues

2011-08-08 Thread Nick Gaens
ion with: > >self.lt.finished.connect(self.**accept) > > (obviously, i haven't tested this at all, but hopefully it will give you > the general idea). > > > __**_ > PyQt mailing listPyQt@riverbankcomputing.com > http://www.r

Re: [PyQt] widget swap/widget on top

2011-07-27 Thread Nick Gaens
p32145442.html > Sent from the PyQt mailing list archive at Nabble.com. > > ___ > PyQt mailing listPyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- Nick Gaens ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] How to convert days to year,month & days

2011-02-15 Thread Nick Gaens
PyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- Nick Gaens ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] 'module' object has no attribute 'StackedWidget'

2011-01-24 Thread Nick Gaens
Indeed, IIRC, "StackedWidget" had to be renamed to "QStackedWidget".. Wkr, -- Nick Gaens ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] problem in invoking event of QDateEdit embedded in QTableWidget cell

2011-01-21 Thread Nick Gaens
archive at Nabble.com. > > ___ > PyQt mailing listPyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- Nick Gaens ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] QMainWindow bug?

2011-01-18 Thread Nick Gaens
meone confirm this behavior? Thanks. > > Vicent > > -- > Share what you know, learn what you don't. > > ___ > PyQt mailing listPyQt@riverbankcomputing.com > http://www.river

Re: [PyQt] Load font form file

2010-12-15 Thread Nick Gaens
a QFont object to use with QLabel.setFont()? > > Kind regards > Mikael > ___ > PyQt mailing listPyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- Nick Gaens _

Re: [PyQt] QDoubleValidate and Locale

2010-11-25 Thread Nick Gaens
add other imput > check in code to avoid that. > Im look for in QDoubleValidate documentation any reference to milliar comma > or similar, but i dont find nothing to solve it, is this a bug or is normal? > > ___ > PyQt mailing list Py

Re: [PyQt] Range slider

2010-11-22 Thread Nick Gaens
w. > > Thanks a lot for your help! > Michael > > > ___ > PyQt mailing listPyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- Nick Gaens __

Re: [PyQt] adjusting layouts question

2010-11-12 Thread Nick Gaens
abble.com. > > ___ > PyQt mailing listPyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- Nick Gaens ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] How can i capture activated signal of Tray Icon??

2010-11-10 Thread Nick Gaens
>> PyQt mailing list >> PyQt@riverbankcomputing.com >> http://www.riverbankcomputing.com/mailman/listinfo/pyqt >> >> End of PyQt Digest, Vol 76, Issue 18 >> >> > > > ___ > PyQt mailing listPyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- Nick Gaens ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] simple charts with PyQT

2010-11-05 Thread Nick Gaens
_ > PyQt mailing listPyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- Nick Gaens ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] Last update: Code Example -- Performance of QTreeView

2010-10-10 Thread Nick Gaens
parent_view_item = parent_view_item.parent >if grandparent_view_item is None: >return QtCore.QModelIndex() >grandparent_view_item >row = grandparent_view_item.children.index(parent_view_item) >assert row != -1 >return self.createIndex(row, 0, parent_view_item) > >def view_item_from_index(self, index): >return (index.internalPointer() >if index.isValid() else self.aux_root_view_item) > > > if __name__ == "__main__": > >run_time_item = RuntimeItem("Test", "test_12", "Test Item") >view_factory = DummieViewItemFactory(run_time_item, max_items=5000) >active_colums = ActiveColumns(["name", "ident", "item_type"]) > >app = QtGui.QApplication(sys.argv) >tree_view = TreeView(view_factory.aux_root_view_item, active_colums) >app.setApplicationName("IPDM") >tree_view.show() >app.exec_() > > > > > > ___ > PyQt mailing listPyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- Nick Gaens ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] Clearing and disabling a QLineEdit causes a cursor to be shown?

2010-10-09 Thread Nick Gaens
f this problem). Is this normal behavior? How do I disable this vertical line to be shown? -- Nick Gaens <>___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] Optimizing WebView display

2010-09-01 Thread Nick Gaens
__ >> PyQt mailing listPyQt@riverbankcomputing.com >> http://www.riverbankcomputing.com/mailman/listinfo/pyqt >> > > > _______ > PyQt mailing listPyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- Nick Gaens ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] StyleSheet

2010-08-24 Thread Nick Gaens
go Léveillé > hu...@fastmail.net > > ___ > PyQt mailing listPyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- Nick Gaens ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] Pixel Manipulation Very Slow?

2010-08-20 Thread Nick Gaens
active. I'd like to > know is there any way to do stuff like that faster? Or calculating a million > pixels in PyQt is just a bad idea? Any advice should be appreciated. > > Thanks, > > zhang > > ___ > PyQt mailing list

Re: [PyQt] possible to change the central widget in a QMainWindow

2010-08-11 Thread Nick Gaens
You might want to set a QStackedWidget as your centralWidget and toggle the content of that first one? On Wed, Aug 11, 2010 at 6:51 PM, Danny Shevitz wrote: > ilman/listinfo/pyqt<http://www.riverbankcomputing.com/mailman/listinfo/pyqt> -- N

Re: [PyQt] Clear/delete widget in a Layout

2010-08-09 Thread Nick Gaens
doing that. > Any ideas. > > Thanks in advance. > > ___ > PyQt mailing listPyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- Nick Gaens ___ P

Re: [PyQt] Add menu at runtime

2010-07-05 Thread Nick Gaens
t; > > Tnanks > > Frans. > > > ___ > PyQt mailing listPyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- Nick Gaens ___ PyQt mailing listPyQt@riv

Re: [PyQt] signal twice emit

2010-06-29 Thread Nick Gaens
t; Csaba > ___ > PyQt mailing listPyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- Nick Gaens ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] widgets and references in python

2010-06-29 Thread Nick Gaens
bage collection. > > Armando > > > ___ > PyQt mailing listPyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- Nick Gaens ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] Setting QComboBox "clicked on" width

2010-05-27 Thread Nick Gaens
Qt mailing listPyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- Nick Gaens ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] QTableWidget: cannot alter text of header labels

2010-05-20 Thread Nick Gaens
1, twi) self.tw.horizontalHeader().setVisible(True) # Nope, this doesn't work > either _twi = self.tw.horizontalHeaderItem(1) _twi.setText("b") # Nope, doesn't get updated by this either.. What am I doing wrong? How much more combinations of horizontalHeader-stuff do

Re: [PyQt] Problem with pyqt (python 2.6)

2010-05-06 Thread Nick Gaens
y 10 seconds FOREVER.... > > Thank you very much and sorry for my bad english > > ___ > PyQt mailing listPyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- Nick Gaens ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] Searching method for QTableVew

2010-05-04 Thread Nick Gaens
> > -- > Passion is my style > > ___ > PyQt mailing listPyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- Nick Gaens ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] QLineEdit drop event

2010-04-28 Thread Nick Gaens
> > Sebastian > > > > > -- > Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ > ___ > PyQt mailing listPyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt >

Re: [PyQt] QSystemTrayIcon not working with py2exe

2010-04-27 Thread Nick Gaens
happen? > > Thanks > > Sebastian > > > -- > Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ > ___ > PyQt mailing listPyQt@riverbankcomputing.com > http:

Re: [PyQt] Carol Newman

2010-04-20 Thread Nick Gaens
ineer > Zindagi Games > ___ > PyQt mailing listPyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- Nick Gaens ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] How to disable delete button on forms

2010-04-19 Thread Nick Gaens
, 2010 at 4:24 PM, Jothybasu K Selvaraj > wrote: > >> Hi all, >> >> How can I disable the delete button on a form? >> >> Any hints? >> >> Thanks, >> >> Jothy >> > > > ___ > PyQ

Re: [PyQt] Drag and drop: Pixmap and lineedit/label problem

2010-04-13 Thread Nick Gaens
ise(). but it's alredy a keyword in python!! how to > use it? > > > On Tue, Apr 13, 2010 at 9:36 PM, Anshul Jain wrote: > >> Can you just give me an example on how to use this? >> Thanks for your reply. >> >> >> >> >> On Tue, Apr 13, 2010 at

Re: [PyQt] Drag and drop: Pixmap and lineedit/label problem

2010-04-12 Thread Nick Gaens
should i do. > > > Regards > Anshul > > > > > ___ > PyQt mailing listPyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt - -- - -- Nick Gaens -BEGIN PGP SIGNATURE- Ver

Re: [PyQt] [SOLVED]Syntax to access a blob column on sqlite

2010-03-29 Thread Nick Gaens
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Why do you copy construct blobField on the line where you bindValue() it? I assume it's verbose and can be omitted.. On 29/03/2010 15:36, IloChab wrote: > 2010/3/28 IloChab : >> I tried in this way: >> >> blobField = QtCore.QVariant ( QtCore.QByteArra

Re: [PyQt] stylesheet sub-controlls

2010-03-24 Thread Nick Gaens
sh all of you a good day! > -- > Sicherer, schneller und einfacher. Die aktuellen Internet-Browser - > jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/chbrowser > ___ > PyQt mailing listPyQt@riverbankcomputing.com > http://www

Re: [PyQt] Delete a Laytou

2010-03-20 Thread Nick Gaens
is there any python example? > The example that is in *Rapid GUI Programming With Python and Qt* is only > for stackedwidgets. > > Thank you. > > > > On 19 March 2010 10:38, Nick Gaens wrote: > >> Take a look at a QStackedLayout.. You can add multiple widgets, each

Re: [PyQt] Delete a Laytou

2010-03-19 Thread Nick Gaens
> PyQt mailing listPyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- Nick Gaens ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] Writing user defined function in the existing application

2010-03-11 Thread Nick Gaens
PyQt mailing listPyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- Nick Gaens ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] Style sheet properties..

2010-03-10 Thread Nick Gaens
gt; >> Can you show a small piece of code (small stylesheet and the way you apply >> it) please? >> >> On Tue, Mar 9, 2010 at 9:05 PM, Jebagnana Das > >wrote: >> >> > Hello all, >> > >> > If i apply a proper

Re: [PyQt] Style sheet properties..

2010-03-10 Thread Nick Gaens
; PyQt mailing listPyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- Nick Gaens ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] How to minimize the QMainwindow to the system Tray

2010-03-08 Thread Nick Gaens
_ >> PyQt mailing listPyQt@riverbankcomputing.com >> http://www.riverbankcomputing.com/mailman/listinfo/pyqt >> > > ___ > PyQt mailing listPyQt@riverbankcomputing.com > http://www.riverbankcomput

Re: [PyQt] Problem displaying images in QLabel (Newbie)

2010-03-01 Thread Nick Gaens
nce. > > On Thu, Feb 25, 2010 at 3:00 PM, Nick Gaens wrote: > > I'm guessing it has to do with the .png file not being found, but without > > some example code, only supernatural powered humans can help you :-). > > > > On Wed, Feb 24, 2010 at 4:11 PM, bar tomas

Re: [PyQt] Problem displaying images in QLabel (Newbie)

2010-02-25 Thread Nick Gaens
> PyQt mailing listPyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- Nick Gaens ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] help with Qdate

2010-02-16 Thread Nick Gaens
om > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- Nick Gaens ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] QGraphicsPixmapItem not showing set pixmap

2010-01-29 Thread Nick Gaens
> > > > -- > View this message in context: > http://old.nabble.com/QGraphicsPixmapItem-not-showing-set-pixmap-tp27229352p27358788.html > Sent from the PyQt mailing list archive at Nabble.com. > > ___ > PyQt mailing listPyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- Nick Gaens ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] Downloading PyQt for Python 2.6

2010-01-21 Thread Nick Gaens
On the page you link to, there is this link: http://riverbankcomputing.com/static/Downloads/PyQt4/PyQt-Py2.6-gpl-4.7-1.exe Isn't this what you are looking for? On 21/01/2010 1:04, Chris Bergstresser wrote: On Wed, Jan 20, 2010 at 5:57 PM, Demetrius Cassidy wrote: Er, you could compile i

Re: [PyQt] QGraphicsPixmapItem not showing set pixmap

2010-01-21 Thread Nick Gaens
Did you try QFile.exists('/.../.../pic1.png') ? I'm guessing you are trying to do: pic = QPixmap('../../pic1.png') <- note the change in the path to the image file. Nick On 20/01/2010 22:21, dizou wrote: The PNG does exist. I did DisplayItem.ensureVisible(10, 10, 10, 10) and DisplayItem.en

Re: [PyQt] QGraphicsGridLayout

2009-12-09 Thread Nick Gaens
Aron Bierbaum wrote: I have been trying to use the QGraphicsGridLayout but I am running into problems when I try to have a QGraphicsWidget span multiple columns. The basic problem is that if I try to span a large widget in the second row under four smaller widgets in the top row, the widgets in t

Re: [PyQt] TextEdit background color

2009-12-08 Thread Nick Gaens
Take a look at style sheets. On 8-dec-2009, at 09:44, Nadav Chernin wrote: Hi, i'm new for PyQt I use TextEdit widget, and i want that it's background color will black (for example) I tried to use TextEdit.setTextBackgroundColor but only background of text painted by black color. How

[PyQt] Corrupted data in QDataStream

2009-12-02 Thread Nick Gaens
g()) # crashes here already.. if myTcpSocket.isWritable(): print "writing data to ", str(socket.peerAddress().toString()) myTcpSocket.write(block) ----- How on earth can this be? -- Nick Gaens ___ PyQt maili

Re: [PyQt] Problem with class inheriting QDialog

2009-11-23 Thread Nick Gaens
dizou schreef: What does that mean? One thing I thought I could do is have my TreeWidget have a GetSelectedItem function. Then in my Main Window, when I click the button, it calls a function that will call the GetSelectedItem function, then emit a signal with the return value as a parameter

Re: [PyQt] Having a problem with QTcpSocket

2009-11-23 Thread Nick Gaens
Hans-Peter Jansen schreef: On Monday 23 November 2009, 15:19:06 Nick Gaens wrote: Hans-Peter Jansen schreef: [...] def __init__(self):     self.server = QtNetwork.QTcpServer(self)     self.server.serverPort = 5

Re: [PyQt] Having a problem with QTcpSocket

2009-11-23 Thread Nick Gaens
Hans-Peter Jansen schreef: On Monday 23 November 2009, 13:27:52 Nick Gaens wrote: Nick Gaens schreef: Phil Thompson schreef: On Sat, 21 Nov 2009 17:19:00 +0100, Nick Gaens wrote: Hello all, I'm trying to get two clients to speak to each other, using an instanc

Re: [PyQt] Having a problem with QTcpSocket

2009-11-23 Thread Nick Gaens
Nick Gaens schreef: Phil Thompson schreef: On Sat, 21 Nov 2009 17:19:00 +0100, Nick Gaens wrote: Hello all, I'm trying to get two clients to speak to each other, using an instance of QtNetwork.QTcpSocket for each client. The client

Re: [PyQt] Having a problem with QTcpSocket

2009-11-22 Thread Nick Gaens
Phil Thompson schreef: On Sat, 21 Nov 2009 17:19:00 +0100, Nick Gaens wrote: Hello all, I'm trying to get two clients to speak to each other, using an instance of QtNetwork.QTcpSocket for each client. The clients are on different computers with

[PyQt] Having a problem with QTcpSocket

2009-11-21 Thread Nick Gaens
e socket state remains "UnconnectedState".. What am I doing wrong here? Wkr, Nick Gaens ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt