db. Again I just want to say thank you for your help and being patient with
me.
On Mon, Jun 10, 2013 at 1:32 PM, Ryan Hanson wrote:
> I will reply to you on stackoverflow
>
>
> On Mon, Jun 10, 2013 at 1:21 PM, Josh Flinner wrote:
>
>> Unfortunately There isn't anythin
qlite-database-in-pyqt
On Mon, Jun 10, 2013 at 11:11 AM, Ryan Hanson wrote:
> Look at the documentation for qlineedit.text() that should be what you
> need.
> On Jun 10, 2013 11:09 AM, "Josh Flinner" wrote:
>
>> I am able to write to the database but I cannot get the
rouble submitting that text to your database?
>
> For the latter you might try looking at setEditStrategy from here
> http://pyqt.sourceforge.net/Docs/PyQt4/qsqltablemodel.html
>
>
> On Mon, Jun 10, 2013 at 9:04 AM, Josh Flinner wrote:
>
>> I am new to both python and PyQt so
I am new to both python and PyQt so forgive my ignorance if it is an
obvious solution. I have been trying to link a couple of line edits to
update a new row in a SQLite database when a push button is clicked. I can
create the new row but cannot submit the data from the line edits to the
row. I am a
I've seen a couple examples for compiling a CPP app into a
pyqt-loadable module such as
http://lynxline.com/qt-python-superhybrids/, but that still requires
compiling an existing application down to a C++ module. Is it
possible to use pyqt inside an existing CPP application to run python
code simi
Can you pull the table name out of the event object? Another option
is to make a unique function for each table, which calls the addFriend
function itself with the table name. That way you won't have to
duplicate addFriend code.
example:
addFriend(event, table):
def table1AddFriend(event)
> Thanks for the reply yes it is like thatĀ When i press tab it moves to next
> button but When i use this command
>
> print close.hasFocus()
>
> It prints False , Does it indicate that it dont have Focus ?
>
> Thank You
>
> On Wed, Aug 17, 2011 at 3:26 AM, Josh Stratt
QToolbarButton has a value for putting text underneath, which may be
more what you want.
On Tue, Aug 16, 2011 at 3:20 PM, uahmed wrote:
> HI
>
> I want to do alignment inĀ image and text , i want that image should be on
> center top and text should be at the bottom of image . I search for it but
That looks like the default button that has focus if you were to hit
"Enter" sending an event to that button. Like if you were to hit tab,
the second button would receive the focus. You can check if the
button has focus by calling hasFocus() or clearing it by calling
clearFocus(). That should re
I really need to add an entire program? I'm passing a
QGLShaderProgram and QMatrix4x4 and getting an "argument doesn't
exist". Would an entire program really provide that much more
information?
On Sun, Aug 14, 2011 at 2:45 PM, Phil Thompson
wrote:
> On Sun, 14 Aug 20
I'm getting type errors sending a QMatrixr4x4 to a QGLShaderProgram.
The program was taken from a C++ version of comparable code, but I'm
assuming I need to do something more on the pyqt side to get the value
passed over correctly?
objToWorld = QMatrix4x4()
flatShader.setUniformValue("objToWorld",
Is there an example of that somewhere? Is that on the python side or
the C++ side? Does that mean I cannot use boost::python and need to
switch to SIP?
On Thu, Aug 11, 2011 at 9:10 AM, Phil Thompson
wrote:
> On Thu, 11 Aug 2011 08:48:20 -0700, Josh Stratton
> wrote:
>> Is it pos
Is it possible to add qt widgets from a cmodule to a pyqt class?
For example if I have a widget MyWidget in mytest.so,
from pyqt import *
import mytest
widget = mytest.MyWidget() # C++ qt widget
window = QtGui.QMainWindow()
window.setCentralWidget(widget) # put C++ widget in pyqt widget
window.
On 01/29/2011 12:57 PM, Jonathan Riddell wrote:
-x PyQt_qreal_double doesn't seem to be working with current sip and
pyqt. Anyone know why?
Works for me with pyqt 4.8.3 & sip 4.12.1 compiled for ARM.
Josh
___
PyQt mailing lis
Phil Thompson wrote:
On Wed, 28 Apr 2010 15:13:02 -0400, Josh Knox wrote:
Josh Knox wrote:
Hi All,
I've got a simple custom QGLWidget that works fine when loaded from
c++. (basically the Sierpinski demo)
I've built a SIP binding against it, that I can load from python bu
Josh Knox wrote:
Hi All,
I've got a simple custom QGLWidget that works fine when loaded from
c++. (basically the Sierpinski demo)
I've built a SIP binding against it, that I can load from python but
it only ever displays a black area and it appears that the event loop
never st
hes a Qt window with an all black widget area.
So, given that the C++ widget works, what could I be missing that's
prevent the SIP binding from running properly?
I'm still new at this, so any ideas appreciated!
Thanks,
Josh
___
PyQ
17:22:20.0 -0400
+++ sip.h.new 2010-04-19 17:22:10.0 -0400
@@ -171,9 +171,11 @@
/* Some compatibility stuff to help with handwritten code for SIP v3. */
+#if SIP_API_MAJOR_NR == 3
#if !defined(ANY)
#define ANY void
#endif
+#endif
Is that a valid work
Josh wrote:
Josh wrote:
Josh wrote:
I've got a Qt widget and a PyQt binding. I want to make a Designer
plugin for it.
I have a Designer plugin as a C++ class. It works fine, I can add it
to layouts, etc.
Am I correct in assuming that my PyQt binding will not work to load
the C++
Josh wrote:
Josh wrote:
I've got a Qt widget and a PyQt binding. I want to make a Designer
plugin for it.
I have a Designer plugin as a C++ class. It works fine, I can add it
to layouts, etc.
Am I correct in assuming that my PyQt binding will not work to load
the C++ class when adde
Josh wrote:
I've got a Qt widget and a PyQt binding. I want to make a Designer
plugin for it.
I have a Designer plugin as a C++ class. It works fine, I can add it
to layouts, etc.
Am I correct in assuming that my PyQt binding will not work to load
the C++ class when added via
ting it in the right place, but I'm not sure.
designer doesn't indicate any errors.
Anyone have any suggestions on what to check?
Thanks!
Josh
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Phil Thompson wrote:
On Thu, 11 Mar 2010 09:13:27 -0500, Josh wrote:
Phil Thompson wrote:
On Wed, 10 Mar 2010 16:49:13 -0500, Josh wrote:
Hi,
In my dev environment we build packages of Qt, PyQt, SIP, etc on a
"central" build machine. Developers use these p
Phil Thompson wrote:
On Wed, 10 Mar 2010 16:49:13 -0500, Josh wrote:
Hi,
In my dev environment we build packages of Qt, PyQt, SIP, etc on a
"central" build machine. Developers use these packages as dependencies
for their projects on their own machines. The packages are always
hrough the elements
of pyqtconfig.sipconfig._config_stack and set things up for my system
(ie. string replace)? Doing that just feels wrong. Is there a better way
to go about this?
Thanks for any advice!
Josh
___
PyQt mailing listPyQt@riverbankcomputin
Josh wrote:
Hi,
I'm trying to build a SIP wrappers for a simple C++ subclass of QGLWidget.
I keep running into this error:
sip: QFileIconProvider is undefined
Well I guess I was on the right path. The problem was the "-t Qt_4_6_1"
in the SIP command. Despite the fact
ig.QtGLModuleMakefile(config, buildFile)
print "Makefile:", makefile
# Add the library we are wrapping. The name doesn't include any
platform
# specific prefixes or extensions (e.g. the "lib" prefix on UNIX, or the
# ".dll" extension on Windows).
makefile.extra_libs = [moduleName]
# Generate the Makefile itself.
makefile.generate()
end
Any pointers greatly appreciated.
Josh
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
ERTYs'
getters & setters are members of the class anyways, so wrapping those
ought to provide the necessary functionality.
Thanks for any info.
Josh
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
mespace.
Perhaps if the intent was to update the label dynamically, then it could
be declared with self.widthLabel.
That help at all?
Josh
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Giulio Eulisse wrote:
The build system on my project is similar in that I can build stuff in one
place and install it wherever
I want. Relocating Qt caused me no end of headaches. All of the documented or
suggested solutions
never seemed to work quite right.
I feel your pain... ;)
le to
include qpatch as a "tool" in our build system, to automate Qt installs
and relocation as necessary.
PyQt ( and QT Creator) builds seamlessly against such a relocated Qt
install; no qt.conf or other patching needed.
Patching in such a way does reek of a hack, but that's h
'm missing? Is there a straightforward way to get the
include paths to be correct?
I've been stuck on this all day. :( Figured I'd check here before doing
some heinous hacks.
Thanks!
Josh
___
PyQt mailing listPyQt@ri
Ah, that got it. For those searching the archives, I was using the wrong
package for "qt". Instead of libqt3c102, I used python2.3-qt3.
If the maintainer of Eric3 is out there, could you please put somewhere on
your page the Debian packages required to run Eric3? Debian has a lot of
packages fo
33 matches
Mail list logo