On lun, 2009-03-02 at 11:12 -0800, Brent Villalobos wrote:
> Brian Kelley wrote:
> > When you start another mainwindow (or top level widget for that
> > matter) you don’t need to call exec_ or make another QApplication.
>
> That's good. Along those same lines does Qt provide a way of querying
>
On Mon Mar 2 19:12:00 GMT 2009, Brent Villalobos wrote:
> Brian Kelley wrote:
> > When you start another mainwindow (or top level widget for that
> > matter) you don’t need to call exec_ or make another QApplication.
>
> That's good. Along those same lines does Qt provide a way of querying
> whethe
I am unaware of one. It seems safer to re-organize your code a bit. I tend to
have a lot of functional objects, widgets/mainwindows seperated into modules
and then I compose them into applications under a single Qapplication, but you
may have reasons for doing otherwise.
Brian
On 3/2/09 2:1
On Montag, 2. März 2009, Phil Thompson wrote:
> On Mon, 2 Mar 2009 19:31:26 +0100, Detlev Offenbach
>
> wrote:
> > On Montag, 2. März 2009, Phil Thompson wrote:
> >> On Mon, 2 Mar 2009 18:33:01 +0100, Detlev Offenbach
> >>
> >> wrote:
> >> > On Montag, 2. März 2009, Phil Thompson wrote:
> >> >> O
Brian Kelley wrote:
When you start another mainwindow (or top level widget for that
matter) you don’t need to call exec_ or make another QApplication.
That's good. Along those same lines does Qt provide a way of querying
whether a QApplication loop is already running so you can avoid making a
Hi and thanks for your answer! :)
> Depends on the goal. The "correct" way to package an app on Linux is to
> make a distribution-dependent package (.deb/.rpm mostly).
>
That's right, I'm about to build a deb package, but I'm not sure if
yust having my app directory copied somewhere is "the right
On Mon, 2 Mar 2009 19:31:26 +0100, Detlev Offenbach
wrote:
> On Montag, 2. März 2009, Phil Thompson wrote:
>> On Mon, 2 Mar 2009 18:33:01 +0100, Detlev Offenbach
>>
>> wrote:
>> > On Montag, 2. März 2009, Phil Thompson wrote:
>> >> On Mon, 2 Mar 2009 18:19:57 +0100, Detlev Offenbach
>> >>
>> >>
When you start another mainwindow (or top level widget for that matter) you
don't need to call exec_ or make another QApplication.
The way I normally import things like this is the following:
Foo.py
class MainWindow()...
...
def Start():
m = MainWindow()
m.show()
if __name__ == "__mai
I have a pyqt application that imports and runs another pyqt
application. I am not launching the second application in its own
process, but I'm just relying on python's module importing
architecture. Both applications seems to run fine without any problems,
but I'm seeing this warning message
On Montag, 2. März 2009, Phil Thompson wrote:
> On Mon, 2 Mar 2009 18:33:01 +0100, Detlev Offenbach
>
> wrote:
> > On Montag, 2. März 2009, Phil Thompson wrote:
> >> On Mon, 2 Mar 2009 18:19:57 +0100, Detlev Offenbach
> >>
> >> wrote:
> >> > Hi,
> >> >
> >> > I am trying to write a subclass of QN
On Mon, 2 Mar 2009 18:33:01 +0100, Detlev Offenbach
wrote:
> On Montag, 2. März 2009, Phil Thompson wrote:
>> On Mon, 2 Mar 2009 18:19:57 +0100, Detlev Offenbach
>>
>> wrote:
>> > Hi,
>> >
>> > I am trying to write a subclass of QNetworkReply. This subclass needs
>> > to
>> > have
>> > it's own v
On Montag, 2. März 2009, Phil Thompson wrote:
> On Mon, 2 Mar 2009 18:19:57 +0100, Detlev Offenbach
>
> wrote:
> > Hi,
> >
> > I am trying to write a subclass of QNetworkReply. This subclass needs to
> > have
> > it's own variant of the readData protected method. However, it seems,
>
> that
>
> >
On Mon, 2 Mar 2009 18:19:57 +0100, Detlev Offenbach
wrote:
> Hi,
>
> I am trying to write a subclass of QNetworkReply. This subclass needs to
> have
> it's own variant of the readData protected method. However, it seems,
that
> this method doesn't work correctly. How do I have to do this correc
Hi,
I am trying to write a subclass of QNetworkReply. This subclass needs to have
it's own variant of the readData protected method. However, it seems, that
this method doesn't work correctly. How do I have to do this correctly. My
code is shown below.
--
class HelpNetworkReply(QNe
You could use QStackedWidget for that, if how i use in my application. I
have a QMainWindow and a QStackedWidget which i load the modules GUIs of my
application.
Here you could digg the code of my opensource application:
svn co svn://svn.tuxfamily.org/svnroot/opencoffee/opencoffee opencoffee
Che
I am trying to build an executable for windows for PyQt project.
Everything seems to work except for data stored by pyrcc4. There are
no images I used for icons and I have no idea why this happens. Have
anyone encountered similar problem and managed to overcome it?
--
Filip Gruszczyński
If you are using a ListWidget, you can add a checkbox as follows:
item = QtGui.QListWidgetItem(text)
item.setCheckState(QtCore.Qt.Checked)
item.setFlags( QtCore.Qt.ItemIsSelectable |
QtCore.Qt.ItemIsUserCheckable |
QtCore.Qt.ItemIsEditable
chrysl666 escribió:
please how to meake a QTableWidget cell no Editable ?
thanks for help me !
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputin
Before you add a QTableWidgetItem to a cell, call the setFlags function on the
item without the ItemIsEditable flag.
For editable:
item.setFlags( QtCore.Qt.ItemIsSelectable | QtCore.Qt.ItemIsEditable |
QtCore.Qt.ItemIsEnabled )
For not editable;
item.setFlags( QtCore.Qt.ItemIsSelectable | Qt
please how to meake a QTableWidget cell no Editable ?
thanks for help me !
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
When the project became more popular or more people joins to help me (since
i am the only one developing it right now..) I will try to translate the
site in English too, so the user could chose.
2009/3/1 Arthur Pemberton
> On Sun, Mar 1, 2009 at 2:41 PM, Gustavo A. Díaz
> wrote:
> > Hi.
> >
> >
Hi Nahuel, list,
On Thu, Feb 26, 2009 at 10:41 PM, Nahuel Defossé
wrote:
> Hi
> I've created pdf output in a StringIO file which I'd like to print in my PyQt4
> app. Should I save it and send it to the system default reader? or could I
> automate this task? Is it possible to pirnt the file direc
For those who want to play...
Current SIP and PyQt4 snapshots implement the new-style API for connecting,
disconnecting and emitting signals described in the Roadmap. I've updated
the 14 tutorial examples to use it, I'll get around to the other examples
later on.
Also, the restrictions on the use
23 matches
Mail list logo