I was trying to create a Application which has multiple windows (QMainwindows
or QDialogs)
Those windows will be designed using QtDesigner and compiled to .py
On click of a button ... i must invoke those windows...
Just like Visualbasic ... multiple forms on click of a button...
form.show(
This is more of a PyQwt question than a PyQt question, but someone here may know
the answer.
I'm using the QwtPlot widgets with QtDesigner, on Windows XP. The numbers
labeling the ticks on the left y-axis are often (but not always) displayed with
the left edge cut off, so '8.0' looks like '3.
Undoubtedly, that would work for showing the widget. And yes, I've done that
much. Unless something has changed recently, I eventually have to call
app.exec_(), which would block until last window has closed...
I seems the previous email of calling eval() might be the right route.
- Or
Hello,
I wanted to know how to have a list widget contain a list of files.
Basically, I want to be able to give a path to a list of video files and
have the video file names displayed in a list widget. Then I want the user
be able to click a file which will open an external program.
I can alre
You should be able to 'setMaximumHeight' you can also use the
setSizePolicy and set the widgets size policy to what you want. And
there is a method for QBoxLayout where you set the 'stretch factor' when
you add a widget, so that certain widgets will stretch preferentially to
others. Maybe you cou
2010/3/2 Mark Summerfield :
> On 2010-02-27, Claudio Felix wrote:
>> Hi everyone,
>>
>> I'm using a QSqlRelationalTableModel for a simple dialog where I can
>> add/delete periods related to a particular customer, which is chosen
>> by a QComboBox. The periods table is filtered by customer (whose ID
On Wed Mar 3 12:51:32 GMT 2010, Anshul Jain wrote:
> I wanted to know how can I use the QX11EmbedContainer/ QX11EmbedWidget
> class in Mac OSX or windows. I know X11 is not supported by them by
> default.
You can't use the QX11Embed* classes on Mac OS X or Windows using native
builds of PyQt.
>
Hi Doug,
that's it I never try the setMaximumHeight because it only for widget and
the layouts are not widget,
but if I limit the height/width of every widget belonging to the layout I
get the result I want!
Thank for your help.
Regards,
Jorge
On 3 March 2010 13:33, Doug Bell wrote:
> stargli
On Wed, 03 Mar 2010 12:55:33 -0500, Josh wrote:
> Hi,
>
> I've been handed a Qt widget class (C++) that has several Q_PROPERTYs.
> I'm working on the sip file to wrap the class but can't find any info
> (in SIP docs or google) on how to wrap a Q_PROPERTY with SIP.
>
> Is there a way to do this
Hi,
I've been handed a Qt widget class (C++) that has several Q_PROPERTYs.
I'm working on the sip file to wrap the class but can't find any info
(in SIP docs or google) on how to wrap a Q_PROPERTY with SIP.
Is there a way to do this with SIP? Do I even need to? The Q_PROPERTYs'
getters & set
On Wed, 3 Mar 2010 16:02:05 +0200, Umit Oztosun wrote:
> Hello,
>
> I tried the latest PyQt4 snapshot together with the latest Sip snapshot.
I
> noticed a problem with the order of QSpacerItem parameters. Attached are
a
> test ui file, together with outputs of pyuic4 4.7 and
> snapshot-4.7.1-307e
It's generated code - it's not supposed to be pretty. All you do is
import the gui code from your dialog class which is in a separate file.
It keeps things clean and simple, and you won't have to start looking
around APIs for stuff that QtDesigner does for you.
On 3/3/2010 6:56 AM, starglider
Hello,
I tried the latest PyQt4 snapshot together with the latest Sip snapshot. I
noticed a problem with the order of QSpacerItem parameters. Attached are a
test ui file, together with outputs of pyuic4 4.7 and
snapshot-4.7.1-307e5cccaf6c. A quick diff reveals:
5,6c5,6
< # Created: Wed Mar 03 15:
starglider develop wrote:
> Thank you for your replay, but I'm doing everything by code,
> I try to simulate a form with QtDesigner but the genereted code is a mess.
Have you tried QWidget.setMaximumHeight(int) ?
Doug
> On 3 March 2010 01:37, wrote:
>
> > Are you using QtDesigner? You can set
Hello.
I wanted to know how can I use the QX11EmbedContainer/ QX11EmbedWidget class
in Mac OSX or windows. I know X11 is not supported by them by default.
Alternatively can anyone suggest me how can I create a process for each tab
i create in my application. This is possible using the QX11EmbedCon
Thank you for your replay, but I'm doing everything by code,
I try to simulate a form with QtDesigner but the genereted code is a mess.
Regards,
Jorge
On 3 March 2010 01:37, wrote:
> Are you using QtDesigner? You can set the min and max size for each widget,
> so I'd probably look at that.
> -
Could someone tell me how to convert python package (python setup.py
On Tue, Mar 2, 2010 at 8:10 PM, Scott Ballard wrote:
> You need to include sip:
> http://www.py2exe.org/index.cgi/Py2exeAndPyQt
>
> from distutils.core import setup
> import py2exe
> setup(windows=[{"script":"main.py"}], option
On Tue, 2 Mar 2010 15:04:37 -0800 (PST), Jason H
wrote:
> I am working on the new Qt/Kinetic stuff and one thing I would really
like
> to have is an interactive GUI for it. Ideally, I'd have something like
the
> interactive interpreter, which when I type x=QGrahpicsTextItem(...) and
add
> it to th
18 matches
Mail list logo