make it
compile with MSVC can be found in the KDE Windows repository) and
finally PyQt (the windows source doesn't include the dbus
subdirectory, it has to be copied from the X11 release; PyQt 4.9 is
the minimum requirement).
If you have any more questions feel free to ask me,
Lukas
2012/
and it compiled,
although i couldn't get it to work (more information about
that is in the thread mentioned above).
Is there any chance that we could get this great IPC framework
supported on all major operating systems?
Greetings,
Lukas
___
PyQt
hanks,
Lukas
from PyQt4.QtCore import *
from PyQt4.QtGui import *
class Test(QMainWindow):
def __init__(self):
QMainWindow.__init__(self)
self.tabWidget = QTabWidget(self)
self.td1 = QTextBrowser()
self.td1.setHtml(50 * "Tab 1 - Tab
Hello,
please make sure that you have the event loop running (QApplication.exec_)
and use finished(QNetworkReply *) instead of finished(QNetworkReply) as
argument
for the SIGNAL.
Lukas
Am Dienstag 13 April 2010 15:48:22 schrieb Andreas Neumann:
> Hi,
>
> I am trying to fetch an i
e().width()+1, self.size().height()+1)
self.resize(self.size().width()-1, self.size().height()-1)
(put this somewhere after you call show() on your widget (QTabWidget,
QDialog))
Greetings,
Lukas
Am Dienstag 23 März 2010 15:19:33 schrieb Paul Catalani:
> Lukas,
> Did you ever find a workarou
Hello,
Am Freitag 08 Januar 2010 19:33:50 schrieben Sie:
> In this case, the "on_load_finished" function is NOTcalled
What PyQt version are you using?
This worked for me without any problems:
lu...@laptop ~ $ python test.py
on load finish called
I'm using PyQt4 4.6.2
Hello,
Am Montag 14 Dezember 2009 14:49:37 schrieb David Boddie:
> On Sun Dec 13 20:17:49 GMT 2009, Lukas Hetzenecker wrote:
> > Could anybody help me with this issue?
> > It's the last bug in my application that needs to be fixed, before I can
> > release a new version
es that it needs
and copy these to /usr/lib/python2.6/site-packages?
Thanks for your help,
Lukas
Am Freitag 11 Dezember 2009 13:37:01 schrieb Darren Dale:
> On Fri, Dec 11, 2009 at 6:11 AM, Lukas Hetzenecker wrote:
> > Hello,
> >
> > I've developed a application using Py
s possible with distutils?
I looked in the source code of eric4 and found a setup.py script, which seems
to do everything manually. Is there a template for this?
What do you use for distributing your applications for Linux?
Thanks for your suggestions,
Lukas
___
hat I should try else?
Thanks for your help,
Lukas
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'mainwindow.ui'
#
# Created: Tue Dec 8 13:44:09 2009
# by: PyQt4 UI code generator 4.6.2
#
# WARNING! All changes made in this file will be lost!
from PyQt
This seems to work for me too.
lu...@laptop ~ $ python gb.py
None <__main__.A object at 0x7f9baff6ef30> >
None <__main__.A object at 0x7f9baff6ef30> >
2 []
python-2.6-9.fc11.x86_64 and PyQt4-4.5.4-1.fc11.x86_64 under Linux
Am Mittwoch 28 Oktober 2009 18:35:13 schrieb Martin Teichmann:
> Hi L
Hello,
thanks for your help again. It works like a charm now.
Lukas
Am Donnerstag 24 September 2009 21:11:34 schrieb David Boddie:
> On Tue Sep 22 01:37:33 BST 2009, David Boddie wrote:
> > I tried running your test case and found that the view displayed various
> > items in an
can't append the child item (it isn't shown in
the view). Can anybody look at my example and show me the right way?
Thanks,
Lukas
from PyQt4.QtCore import *
from PyQt4.QtGui import *
class GeneralItem(object):
def __init__(self, name = str(), parent = None, index=None, size = i
u only have to install a event filter for all widgets you want to get the
events and emit a signal in the eventFilter method.
>
> On Tue, Sep 8, 2009 at 6:19 AM, Lukas Hetzenecker wrote:
> > Hello,
> >
> > > The documentation for keyPressEvent for a QTextEdit says
> >
...), so you don't have to subclass QTextEdit and you
get the events for the text edit too - I could provide you an example if you
want.
http://series60-remote.svn.sf.net/viewvc/series60-
remote/trunk/pc/widget/MessageTextEdit.py?view=markup
#!/usr/bin/env python
# -*- coding: utf-
Hello,
just found this thread and wanted to know if it is possible to auto-stretch
the _first_ column?
Thanks,
Lukas
Am Donnerstag 04 Dezember 2008 01:07:56 schrieb David Boddie:
> On Wed Dec 3 17:10:00 GMT 2008, Anonymous wrote:
> > Thanks for the response, but i saw that in the docu
nstration. Comments are
welcome ;)
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2009 Lukas Hetzenecker
import random
from PyQt4.QtCore import *
from PyQt4.QtGui import *
class ThreadBase(QThread):
def __init__(self, parent=None):
QThread.__init__(self)
self.parent
19:04:46 Lukas Hetzenecker wrote:
> > is it possible to connect signals from a Widget to a slot in a QThread
> > and ensure that the Widget responds to keypress and mouse events?
> > I attached my first try, but it doesn't work, the UI blocks until the
> > execution of
Hello,
is it possible to connect signals from a Widget to a slot in a QThread and
ensure that the Widget responds to keypress and mouse events?
I attached my first try, but it doesn't work, the UI blocks until the execution
of the function is finished.
Thanks for your help,
Lukas
import
Hello,
try this:
for file in fileName:
print file
or:
fileName = list(fileName)
print fileName
Lukas
Am Samstag 08 August 2009 22:27:19 schrieb rudsonal...@yahoo.com.br:
> How I get names selected in QFileDialog.getOpenFileNames?
>
> >>> fileName = QFileDialog.getOpenFi
Just got this mail:
-- Forwarded message --
Subject: Re: [PyQt] Problem with resizing rubberband
Date: Donnerstag 30 Juli 2009
From: Shriramana Sharma
To: Lukas Hetzenecker
Hello. I have attached my rubberband label class which solves the
problem. I trust that you will be
Hello,
could anybody solve this issue?
I ran into a similar issue when I tried to use QRubberBand to select an area
of a QImage - are there any useful examples for this?
Thanks,
Lukas
Am Freitag 08 Mai 2009 11:45:53 schrieb Shriramana Sharma:
> Hello. I previously reported a problem w
Hello,
the matplotlib widget has an incorrect default size (the left one in the
attatched screenshot).
I couldn't reproduce this behaviour with any Qt widget - so it seems that this
is specific to matplotlib. But as I'm not really sure of the cause I posted it
to both lists.
Lukas
A
, self.size().height()-1)
if __name__ == "__main__":
import sys
app = QApplication(sys.argv)
plot_t = Plot_tab()
sys.exit(app.exec_())
Now it works, but I really want to know why..?
Is there a way to avoid this ugly workaround?
Thanks,
Lukas
Am Sonntag 19 Juli 200
bView.
Am Sonntag 19 Juli 2009 11:54:12 schrieb projetmbc:
> Lukas Hetzenecker a écrit :
> > I tried to embed a Matplotlib FigureCanvas into a QTabWidget.
> > But at the first start of my script - the main.py in the attatched
> > example - the widget in the Tab is incorr
shown correctly.
Sorry, but this is my first try of Matplotlib and I don't know what I could
have done wrong - maybe this is just because it's nearly 3 o'clock in the
night and I'm to tired to find this mistake. ;-)
Thanks for help,
Lukas
PyQt4_MPL.tar.bz2
Description: applica
23:32:26,Lukas Hetzenecker 写道:
>
> > Hello,
> >
> > you could redirect the interpreter’s standard error output stream:
> > sys.stderr = YourClass(window.edit, sys.__stderr__, QColor(Qt.red))
> > YourClass in an "file-like" object (it has an write fu
sy to get a "report bug"-dialog ;-)
If you have any questions please just ask.
Greetings,
Lukas
Am Donnerstag 07 Mai 2009 13:17:54 schrieb Jeremy Sanders:
> Is there a way to catch Python exceptions in all parts of a PyQt program?
>
> I have a "report bug" dialog box w
from MyObject!
Hello World from MyQObject!
Hello World from MyObject!
Traceback (most recent call last):
File "test.py", line 31, in
cq.print_()
File "test.py", line 10, in print_
print self.string
AttributeError: string
Thanks,
Lukas
import copy
from PyQt4.Qt
Hello,
could you please post the source of the python file?
Is it possible that you're using PyQt3 instead of PyQt4?
Greetings,
Lukas
Am Donnerstag 30 April 2009 11:29:38 schrieb ap:
> I did not get an answer for this query yet. :(
>
> On Mon, Apr 6, 2009 at 3:22 PM, Anoop wrote
Hello,
did you mean QAbstractItemView.setModel and QAbstractItemView.model?
Am Freitag 17 April 2009 21:15:44 schrieb F.A. Pinkse:
> Hello All,
>
> Yes I know it is probably the wrong group, but
>
> Am I missing the reverse of QAbstractItemModel.setModel...getModel or
> has it a different nam
Hello, try to use this:
from PyQt4.QtCore import *
from PyQt4.QtGui import *
class Main(QWidget):
def __init__(self, app):
QWidget.__init__(self)
self.app = app
self.show()
def mousePressEvent(self, event):
if (app.keyboardModifiers() ==
x27;t necessary (in the end it should pop up a
dialog that asks you if you want to backup the files).
Are there any simple examples for a similar task?
I only found the API reference for PyKDE4.kio.KIO.Slave, but that doesn't
really help me.
Thanks for any h
parameter) 177
Extension:152 (RENDER)
Minor opcode: 25 (RenderCompositeGlyphs32)
Resource id: 0x0
.. and so on
I attatched a small example to this mail.
Could anybody tell me what I'm doing wrong?
Thanks for you help,
Lukas
from PyQt4.QtCore import *
from PyQt4.QtGui import *
i
Hello,
is it possible to animate the move() of a QFrame?
Thanks,
Lukas
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
e previously checked one.
The property has no effect on buttons that belong to a button group.
autoExclusive is off by default, except for radio buttons.
Access functions:
*
bool autoExclusive () const
*
void setAutoExclusive ( bool )
> Regards
&g
Hello,
Am Montag 05 Januar 2009 19:47:25 schrieb Brent Villalobos:
> If I understand the documentation correctly, the
> QtCore.QSettings.value() method's second argument can be a QVariant
> default value. However, when I provide a key that does not exist, I'm
> not defaulting to that value. Obse
Nevermind, i just found the solution:
I studied the source code from Kontact and a few moments later I had it
working.
Here is a screenshot:
http://img132.imageshack.us/my.php?image=iconlist1tb9.png
I attached the source ui and my python class
from PyQt4.QtCore import *
from PyQt4.QtGui import
Am Mittwoch 24 Dezember 2008 16:40:32 schrieb Lukas:
> Hello,
>
> i want to create a QMainWindow whick looks similar to KDEs Kontact (I
> uploaded a screenshot here:
> http://img72.imageshack.us/img72/9964/kontacter1.png )
>
> There should be an ItemSelectionModel an the left
nSize to 48x48 and
maximumSize to 52 x anything
So if there is any item with an longer text, the text will be simply cut
off, but the size should be adjusted correctly.
Is there any way to work around these disadvantages?
Thanks for your help,
Lukas
p.s.: Merry Christmas!
main.ui
Descri
Am Dienstag 14 Oktober 2008 22:30:03 schrieb Filip Gruszczyński:
> Hello,
>
> I would like to pop up a menu on items in QTreeView. I decided to
> intercept pressed(const QModelIndex&) signal, because contextMenuEvent
> doesn't provide information about the tree view chosen index.
Not completly tr
Hello,
you could look the attachted file.
There is also a balloon available: QSystemTrayIcon.showMessage
"Shows a balloon message for the entry with the given title, message and icon
for the time specified in millisecondsTimeoutHint."
On Monday 04 August 2008 17:54:46 Vinod Khare wrote:
> How doe
and save and load from the
> resulting string. I'm not sure if there's a "better" way to do it,
> however.
>
> On Thu, Jul 31, 2008 at 2:38 PM, Lukas <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > I wanted to save a PyObject in my QSettings:
ry to save this I get the following error:
>>> settings.setValue("test", QVariant(myDevices))
>>> QVariant::save: unable to save type 446.
Is there a way to save python objects?
Thanks,
Lukas Hetzenecker
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
guage with ".setLocale(QLocale(QLocale.German, QLocale.Austria))"
>>> QLocale.languageToString(QLocale().language())
PyQt4.QtCore.QString(u'German')
Is there an other way to change the default language?
Thanks,
Lukas Hetzenecker
__
45 matches
Mail list logo