Hello,
I have found a strange behavior with a combo of QTableView,
QSortFilterProxyView and disabled items. If you select a row in the
table from the example below then sort by a column, the cell in the last
column will be deselected after sorting. This happens only for cells
with ItemIsSelec
Hello,
I was trying to connect the dataChanged signal of a QTableView instance
the "new style way" via its string name and __getattr__ like so:
treeview.__getattr__("dataChanged").connect(someSlot)
Instead of getting a bound signal (like I do with a ComboBox for
example), I am getting a pyqt
Thank you I understand your point. I was just wondering why it worked in
previous versions and thought this might be a bug.
On 07/09/2012 06:20 PM, Phil Thompson wrote:
On Mon, 09 Jul 2012 17:28:31 +0200, Sebastian Elsner
wrote:
Hello,
I am updating some code to use PyQt-Py2.6-x86-gpl-4.9.4
Hello,
I am updating some code to use PyQt-Py2.6-x86-gpl-4.9.4-1.exe. I have
previously used PyQt-Py2.6-x86-gpl-4.8.6-1.exe. With the code attached I
get a runtime error in 4.9.4 I did not get in the 4.8.6.
Please execute the attached py file and click the open button in the
window appearing
Hello,
my folder structure for an application I want to restructure is like this:
src
lib
ui
__init__.py
MainWindow
__init__.py
MainWindow.ui
MainWindow.py
ui_MainWindow.py
resources.qrc
resources_rc.py
Hallo,
inserting widgets with a negative index does not work as expected. I was
expecting -1 to add a widget to the end and -2 to insert it right before
the last widget in the layout. Is my assumption wrong?
Demo code:
from PyQt4.QtGui import QLineEdit, QCheckBox, QPushButton, QDialog,
QFor
Nokia fixed this with their 4.7.2 update, which was released March 1st.
Now we just have to wait for a PyQt update.
Am 03.03.2011 00:53, schrieb mw:
> Any ideas why this could be?
>
>
> I have the same issue here with a 4.8.1 install.
> Sample app attached.
>
> Whether using the VideoPlayer
Jansen wrote:
On Thursday 25 November 2010, 14:17:55 Sebastian Elsner wrote:
Hello,
switching to 4.8.1 gave me this error:
WARNING: Phonon::createPath: Cannot connect Phonon::MediaObject ( no
objectName ) to Phonon::VideoWidget ( no objectName ).
The VideoPlayer worked well in previous ver
Hello,
switching to 4.8.1 gave me this error:
WARNING: Phonon::createPath: Cannot connect Phonon::MediaObject ( no
objectName ) to Phonon::VideoWidget ( no objectName ).
The VideoPlayer worked well in previous versions without any errors? i
tried to track it down, but had no luck. Could i
Hmm interesting topic, I recently had to switch back from ui files to
py files because I couldnt get py2exe to package the ui files correctly
(Any help appreciated though)
Secondly using ui files I loose the comfort of auto-completion with
pydev and Eclipse, because pydev wouldnt know how to de
I've had the exact same issue with py2exe today. I just deleted the
port_v3 folder and it worked.
Am 22.09.2010 20:42, schrieb Phil Thompson:
On Thu, 23 Sep 2010 06:37:43 +1200, Matthew Huck
wrote:
Hi,
I'm in the process of trying cx_freeze an PyQt app I've written and
have
discov
Of course thats it, thanks :)
On 09/14/2010 08:01 PM, Doug Bell wrote:
Sebastian Elsner wrote:
I would like to start a QTimer from a mainwindow's menu, creating a
new instance of a custom class. See the example below. All works
except the timer's callback is never called. Asking if
Hello,
I would like to start a QTimer from a mainwindow's menu, creating a new
instance of a custom class. See the example below. All works except the
timer's callback is never called. Asking if the timer is active returns
True. I ran out of ideas. Maybe I misunderstand how timers work?! Any
honon needs QCoreApplication::applicationName to be set to
export audio output names through the DBUS interface
I've added that line to my script, no more error but still a black
square with no video :(
On Wed, 07 Jul 2010 09:52 +0200, "Sebastian Elsner"
wrote:
Hey Hugo,
i
Hey Hugo,
it's not working here either. But this might be because the backend is
not able to play it. Which OS are you on? I am on windows XP and I think
QT is not supported there for phonon. Start the capabilities app, which
comes with the pyqt phonon examples. There you can find what is
sup
Ah, thanks Sybren, this works.
Regards,
Sebastian
On Wed, 28 Apr 2010 16:31:05 +0200, Sybren A. Stüvel
wrote:
On 28-4-2010 16:23, Sebastian Elsner wrote:
Ah, thanks Sybren, this works.
Great!
Perhaps you could forward your reply to the list too? It may be useful
for others to read that
Hello,
I designed a GUI with Qt Designer. The GUI has several QLineEdits. I'd
like to be able to drop files from the windows explorer to this line edits
and display the path of the files. Documentation suggests that I subclass
the line edit and reimplement the dropEvent. Would not be a pro
Apr 2010 15:50:16 +0200, Sebastian Elsner
wrote:
Hello Nick,
my setup.py is autogenerated by GUI2exe. Find the contents below. As you
can see, I included the icon as data and icon file (even if I did not
have to when I was using ressources). both ways work when not compiled
with py2exe
se,
"skip_archive": False,
"ascii": False,
"custom_boot_script": '',
}
},
zipfile = None,
console = [],
windows = [GUI2Exe_Target_1],
Hello,
My application has a system tray icon, which gets its data from a
ressource compiled via pyrcc. When started via double click on the .py
script the icon shows up as expected. But when I compile with py2exe It
does not. I also tried not using pyrcc, same result. Is this a known
prob
Try using QAbstractItemModel instead. ANd have a look at the table
examples coming with PyQt. They helped me a lot.
TheyAm 18.04.2010, 19:43 Uhr, schrieb Dom :
Hi-
I'm looking to create a table with checkable items based off a
dictionary using the QStandardItemModel class, what is the bes
Hello,
In the __init__ method of a standard QDialog I check for some requirements
to be fulfilled before the gui is shown (I communicate with a server over
a QTcpSocket for that matter) If the conditions fail I want to exit the
Application. How would I properly do that?
Currently I tried:
*bump*
No ideas on this one?
On Wed, 07 Apr 2010 18:14:28 +0200, Sebastian Elsner
wrote:
One additional question:
You wrote, that internalPointer() is not meant to be used outside of the
model. But how would I get the associated object from a QModelIndex?
I am using selectedIndex
Hello,
i created a dialog with some widgets. Now I'd like to connect every widget
to a slot, so when the user changes values (for lets say a spinbox) a
"dirty" flag for the dialog is set. Is there a way to accomplish this
without connecting every widget explicitly?
regards
Sebastian
--
Hello,
I am using a QTreeView to display data coming from a sqlalchemy query. All
is fine for displaying, but when I add rows, which also adds records to
the database the "internal pointers", the QAbstractItemModel so heavily
depends on, suddenly point to nowhere, because they don't keep st
Hello,
the simple tree model example seems to work fine at first, but when closed
the terminal prints:
QObject::startTimer: QTimter can only be used with threads started with
QThread
I run the example unchanged from within Eclipse with Pydev using the
latest PyQt 4.7 on Windows XP 64bit
Hello,
seems like palettes are not working on QInputDialogs. Please see the
script attached. Setting a palette on an QErrorMessage works fine, but not
on a InputDialog. Using PyQt 4.6.2 on Windows XP 64bit SP2 with python
2.6.4 32bit.
from PyQt4 import QtCore
from PyQt4 import QtGui
cla
27 matches
Mail list logo