Hi, can someone help me with this
i'm new to Qt so it could be something simple..
--
from PyQt4.QtGui import *
app = QApplication([])
mainWin = QMainWindow()
mainWin.showMaximized()
menu = mainWin.menuBar()
menu.addAction("test")
frame = QFrame(mainWin)
frame.move(0, menu.height())
Vsplitter = QS
Well, what you say makes sense and I follow your reasoning, however it still
doesn't seem to work for making the line-edit show the size I want it to.
Giving the group-box an explicit parent doesn't work, that is.
The only thing I could find in the documentation regarding
QToolBar.addWidget() is
Some more poking around revealed that while QLineEdit.setGeometry() and
QLineEdit.setSizePolicy() are disregarded by the toolbar, that
QLineEdit.setFixedSize() _is_ respected! It results in the appropriately
sized line-edit being shown centered in the middle of the toolbar, with its
label on the f
On Thu Sep 4 19:25:24 BST 2008, Sven Grunewaldt wrote:
> I'm facing a problem with data from a SQL database and my GUI.
>
> Let's assume I have the following key => value dict:
> sqlresult = {1: 20080909, 4: 202020, 5: 'bla', 6: 'blubb'}
>
> How do I link it to a QComboBox?
You can add values for
On Fri Sep 5 19:47:31 BST 2008, Scott Price wrote:
> So using PyQt4x I set up a toolbar, add a line edit to it, set the geometry
> and sizepolicy of the line-edit widget, and watch as the toolbar promptly
> ignores any directions I give the child widget!
I understand why you think this, but the p
On Fri Sep 5 22:19:22 BST 2008, Jake Richards wrote:
> I've done a bit of googling and looked at the docs but haven't seen an
> example of how to place a checkbox (or other widgets) into a QTreeWidget.
You need to change the flags for the item so that it is editable:
http://www.riverbankcomputin
Hello:
I've done a bit of googling and looked at the docs but haven't seen an
example of how to place a checkbox (or other widgets) into a QTreeWidget.
Does anyone have a small sample of code they can share that shows how to
insert a widget such as a QCheckbox into either a QTree or QList? Thank
Now that's a 'yeesh' moment if I've ever seen one! Thanks!
After reading the QPainter, QPaintDevice, QPaintEngine, etc documentation
assuming it was something to do with one of those classes, it never occurred
to me that it could be the scroll-area...
The reason for using a scroll-area in the
On Fri, Sep 5, 2008 at 7:47 PM, Scott Price <[EMAIL PROTECTED]> wrote:
> So, using PyQt4/WindowsXP:
>
> I'm attempting to adapt the basic drawing example for the simple purpose of
> drawing an arc on the background of a widget. The following code opens a
> main window with a child widget inside, b
Few weeks ago I posted here to find help about a problem with my application
[http://www.mail-archive.com/pyqt@riverbankcomputing.com/msg14774.html] :
running the very same code on different operating systems produced
different results.
In particular on Fedora9 and Mac-OsX my program never registe
So, using PyQt4/WindowsXP:
I'm attempting to adapt the basic drawing example for the simple purpose of
drawing an arc on the background of a widget. The following code opens a
main window with a child widget inside, but doesn't draw the arc. Probably
something simple that I'm missing, but I ca
Hi there,
I'm running WindowsXP.
So using PyQt4x I set up a toolbar, add a line edit to it, set the geometry
and sizepolicy of the line-edit widget, and watch as the toolbar promptly
ignores any directions I give the child widget!
Is there a secret to making the toolbar respect the size polici
Hey, can anyone help me with some code snippets how to use python to receive
data from akonadi?
Is it possible to get all emails from a certain address?
//Jens
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailm
On Wed, 03 Sep 2008 15:27:19 +0200, charles matthew chen
<[EMAIL PROTECTED]> wrote:
>
> Hi Phil,
>
>Thanks for getting back to us.
>
> On Tue, Sep 2, 2008 at 11:09 PM, Phil Thompson
> <[EMAIL PROTECTED]> wrote:
> > You want to force programmers to keep an explicit reference to a
> lambda?
On Wed, 3 Sep 2008 14:31:38 -0700, Matt Newell <[EMAIL PROTECTED]> wrote:
>
> If I understand correctly, there is currently no way to "handle" python
> exceptions that occur inside a python member function when called via a
> c++
> virtual function.
>
> %MethodCode is insufficient because it is
15 matches
Mail list logo