of the search text area.
When you click on the *icon*, it will pop up a menu which let you narrow
the search range.
The following picture demos what i exactly want it to be:
You can take a look at my EvolutionSearch.py on my pyqtexamples little repo:
https://bitbucket.org/simozack/pyqtexamples/src
HTH
*Sorry, I answered with a private e-mail*
2011/3/17 Vicent Mas uve...@gmail.com:
can somebody help me with this problem, please? I've spent several
days thinking about it but I still don't know if it is a bug (as I
believe) or not and I have not a fix, not even a workaround.
Hi Vincent,
It
2011/3/22 Vicent Mas uve...@gmail.com:
it is explained in my second mail of this thread. Vincent Van de
Vyvre asked exactly the same. If it is not clear enough I can explain
it again. But let me insist, even if my script was purely an academic
exercise, without practical interest, *if it
2011/1/19 Antonio Valentino antonio.valent...@tiscali.it:
Segmentation fault on:
GNU/Linux x86_64 2.6.35 (Ubuntu 10.10)
Python 2.6.6
PyQt4 4.7.4
Qt4 4.7.0
No problem if I add
del toolbars_submenu
at the very and of the program
It seems that having around references to objects that
2010/1/4 Zhaohao Liang liang...@gmail.com:
Hi
I'm using PyQt 4.6.2 for Python 2.6. It seems that the
setItemDelegateForColumn() of QTableWidget doesn't work.
I have checked it with below code:
print ui.tableWidget.itemDelegateForColumn(0)
ui.tableWidget.setItemDelegateForColumn(0,
2009/10/21 Filippo Rebora filir...@gmail.com:
I'm using an extention of QtableWidget as table...is there anything like
isModified() or something?
Documentation didn't help (I could not find something similar in class or
parents)
You can use an attribute in the window class and set it to True
Problably the problem is between the desk and the chair, but I have this case:
for task in TASKS:
... print type(task)
... task_list = QStringList(task)
...
type 'list'
Traceback (most recent call last):
File stdin, line 3, in module
TypeError: argument 1 of
2009/9/16 Giovanni Bajo ra...@develer.com:
I can't see why you're surprised then... QStringList's constructor accepts
a list of strings, not a list of lists.
I know that, but I'm perfoming a for loop on the list of lists... :)
By the way, if I pass a list of QString it has no problem. For
2009/7/28 Saúl Ibarra sag...@gmail.com:
In an application I'm displaying a simple dialog (GUI designed with QT
designer) which show data from a database. Now I'm saving all data
when user hits 'OK' button, but I'd like to do that _only_ if window
data has been changed.
If you use a
In the init code of the window I have called:
self.view.setItemDelegate(ViewDelegate(self))
where self.view is the QTableView and self is the parent (a QMainWindow class).
I'm a newbie yet, it sounds very difficult to me. Anyway, I guess i need
to learn more on that topic, thank you Simozack
It works exactly like the QLineEdit, because the widget it calls IS a
QLineEdit (really not always: if it is a number it calls a QSpinBox or
a QDoubleSpinBox, if it is a date a QDateEdit or a QDateTimeEdit
etc...).
The widget is returned by the function QTableWidget.itemDelegate().
Bye,
Simone
Hi,
For a friend of mine, I'm trying to write a program that traces the
working hours.
I think that one simple way to track the hours is simulating an agenda
in a similar way that the Outlook Calendar does. I make some
experiment with a tableView and it seems possible.
Now I want to make a
2009/2/4, Yusuf X ys1...@gmail.com:
I have one question: when I run pyuic4 on a .ui file that has a QMainWindow,
it adds import ui_rc at the end of the resultant .py file. Then when I use
that .py file, I get ImportError: No module named ui_rc. If I delete that
last line by hand, the .py
2009/2/2, Matt Smith mel...@orangepalantir.org:
Could someone explain to me, how is that possible and why it works:
class A(QWidget):
def __init__(self):
QWidget.__init__(self)
class B(QWidget):
def __init__(self):
QWidget.__init__(self)
class C(A, B):
2009/1/31, Filip Gruszczyński grusz...@gmail.com:
Could someone explain to me, how is that possible and why it works:
class A(QWidget):
def __init__(self):
QWidget.__init__(self)
class B(QWidget):
def __init__(self):
QWidget.__init__(self)
class C(A, B):
def __init__(self):
2009/1/27, Linos i...@linos.es:
For an example form that i would need to manage i have a customer table and
an address table (because for every customer they can have 1 addresses) so
in the same form i would like to edit all the possible data of the customer.
It seems a work for two
2009/1/29, Linos i...@linos.es:
Yes i have read the book, anyway i will read other time the chapter 15 only
in case i have missed anything important, but i prefer my users edit the
information in external widgets, for example the address street it is too
long to edit it clearly inside the
I forward this message to the list, because I send this only in
private. Sorry for the error.
Simone
-- Forwarded message --
From: simozack simoz...@yahoo.it
Date: 2009/1/16
Subject: Re: [PyQt] Subclass pyuic4 generated file...
To: NoursBleu noursb...@free.fr
2009/1/16 NoursBleu
2008/11/3 Min Li [EMAIL PROTECTED]:
I want to store the selected item in the QTreeWidget into a local variable.
I use the variable = self.treeWidget.currentItem()
print variable
to do this task. However, it returns the following sentences.
'PyQt4.QtGui.QTreeWidgetItem
2008/11/3 [EMAIL PROTECTED] [EMAIL PROTECTED]:
I hope that you can help me.
I'm uder linux and i neeed tu make a binary of one test program.
I have try to use cxfreeze but when i run it i get:
ImportError No module named PyQt4._qt
Can you helm me to make e easy setup script.
I get the same
20 matches
Mail list logo