Hi,
I was trying to fit my image to the view in my qgraphicsview
application. But i didn't get the logic of it or i am doing something
wrong.
What i do is first opening a pdf:
self.doc = QtPoppler.Poppler.Document.load(self.fileName)
page = self.doc.page(self.currentPage)
rendering it to a sca
Hi,
I was trying to fit my image to the view in my qgraphicsview
application. But i didn't get the logic of it or i am doing something
wrong.
What i do is first opening a pdf:
self.doc = QtPoppler.Poppler.Document.load(self.fileName)
page = self.doc.page(self.currentPage)
rendering it to a sca
Hi,
On Sat, 2008-11-22 at 21:18 +0100, David Boddie wrote:
> pw = gs.addWidget(w)
addWidget is defined in qt4.4. I am using qt4.3, which is the currently
official packaged one at Ubuntu Hardy. Anyway to achive the same goal at
qt4.3?
Thanx for your help.
___
Hi,
Is there any way like resizing or setting geometry for QInputDialog for
rotating it or should i create a rotatable widget including QInputDialog
and rotate it?
Cheers,
Oğuz
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankc
Hi,
I was trying to make my GUI frameless by using
self.setWindowFlags(QtCore.Qt.FramelessWindowHint) at the widget class.
But i was not doing it at the init part of the widget but during some
process at my application. I am rendering pdf files and showing them at
QGraphicsView. I am also rotating
On Fri, 2008-11-14 at 16:37 +0100, [EMAIL PROTECTED] wrote:
> OK, I forgot to mention that you need to call the base class's
> keyPressEvent()
> method to handle any key presses that you aren't interested in.
>
> Try adding an "else" clause to your keyPressEvent() implementation:
>
> else:
>
Hi,
Here (http://rafb.net/p/LDKkJZ10.html) is simple pyqt4 code that just
enables and disables the wireless status with the same time displaying a
transparent pic. I assigned this application to a key combination at my
Desktop environment. The problem is when i press the keys i don't see
the GUI i
On Thu, 2008-11-13 at 16:53 +0100, [EMAIL PROTECTED] wrote:
>
> In your GraphicsView subclass you need to accept only those events
> that
> you handle yourself, so call event.accept() if you receive a key you
> want
> handle and event.ignore() for all other key presses.
>
> David
Here is the cla
Hi all,
At my pyqt4 GUI i developed an on screen display to show wireless status
each time the Fn+F1 is pressed. At my laptop Fn+F1 was not working
before, and i saw the setkeycodes somehexadecimalnumber
message at the syslog output. So i assigned a keycode then i checked the
xev output to see th
On Tue, 2008-11-11 at 17:32 +0100, [EMAIL PROTECTED] wrote:
>
> You need to promote the QGraphicsView widget in your form to
> GraphicsView.
> To do this, open the context menu over the widget and select "Promote
> to ..."
> then add a new class to the list of promoted classes.
>
I applied what
On Tue, 2008-11-11 at 16:43 +0200, Oguz Yarimtepe wrote:
> Hi David,
>
> On Fri, 2008-11-07 at 18:24 +0100, David Boddie wrote:
> > In your Main class, you are creating a new instance of a graphics view
> > rather than using the one you set up in your pyuic4-creat
Hi David,
On Fri, 2008-11-07 at 18:24 +0100, David Boddie wrote:
> In your Main class, you are creating a new instance of a graphics view
> rather than using the one you set up in your pyuic4-created class:
>
> 29 root.graphicsView=GraphicsView()
>
> Maybe leave this assignment out.
>
I was trying to implement a simple PDF reader. The problem about the GUI
is, when i choose the file from file dialog it shows the rendered image
at a new window, not inside the QGraphicsView widget. If i solve it i
think the event part will start to work in the right way. I read the
documents and t
On Mon, 2008-11-03 at 22:06 +0530, Rajeev J Sebastian wrote:
> The first problem of course, is to update it for the latest poppler. I
> will try to do this based on your error reports, and report back on
> the mailing list.
I had installed the lates poppler that is 0.10.
According to which versio
he Pardus SVN? If it is
possible to overcome the error i may try to fix it, if you give some
clue about it.
> Regards
> Rajeev J Sebastian
Thanx.
Regards.
Oguz Yarimtepe
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverba
I was trying to search how can i use pypoppler at my QT application. I
have two question. The first one is whether i can use the pypoppler
current release[1] at my QT application to show pdf files. The example
at its source is for a GTK application.
Second one i got the below error message when i
Hi all,
I am trying to write an application that will test the sleep function of
the laptop. I am using pyqt for this. I need to continue to run my gui
after the laptop wakes up from sleep mode so that i may continue some
counters and repeat the sleep command again. I think i may use
QSession
Hi all,
I am trying to write a GUI using QWizard. I have created the wizard
using designer and edited some parts by playing with the code. I also
added a progress bar and some related functions. I need to run a
function when the user comes to the page #3 but i could`nt find how will
i do it with p
Hi all,
I am trying to use callbacks at my gui: http://rafb.net/p/2YKz3Z77.html
I am trying to detect the unpluging of video cable by using xrandr and
callbacks. But i need to run the callbacks during the gui runtime. It
runs only one time when the main function is called. What should i do
to ma
Hi all,
I am trying to develop a gui using pyqt. During the main program
process i need to check whether the cable that was plugged to vga, dmi
or s-video output is unplugged. If so. then i should run a process.
How can i manage this forever job at the backgroung with the
integration of my gui?
20 matches
Mail list logo