[PyQt] insert a radio button in menu of menubar

2009-11-11 Thread vidyadhar
I want to have a radio button on menu entries in the menubar. eg: like a gedit in linux please help me out thanks -- View this message in context: http://old.nabble.com/insert-a-radio-button-in-menu-of-menubar-tp26314448p26314448.html Sent from the PyQt mailing list archive at Nabble.com. __

[PyQt] Comparative text editor

2009-11-09 Thread vidyadhar
I want to make a editor which can compare two text files or files in different launguages(C,C++,Python) and can give the line numbers which are not present in any of the files. thanks -- View this message in context: http://old.nabble.com/Comparative-text-editor-tp26278558p26278558.html Sent fr

[PyQt] using Qtoolbutton as togglebutton

2009-08-28 Thread vidyadhar
how can i use a Qtoolbutton in a toolbar as a toggle button? i am using Qt4.. and PyQt.. thanks -- View this message in context: http://www.nabble.com/using-Qtoolbutton-as-togglebutton-tp25200406p25200406.html Sent from the PyQt mailing list archive at Nabble.com. __

Re: [PyQt] image tool like paint

2009-08-28 Thread vidyadhar
ou are trying > to > implement. > > Regards, > Detlev > > On Freitag, 28. August 2009, vidyadhar wrote: >> i have implemented the pen feature but i am finding it diffucult for >> drawing shapes like rectangle and lines on mouse movements.. >> attached here is my cod

Re: [PyQt] image tool like paint

2009-08-27 Thread vidyadhar
ve) or > vector, like Inkscape? Vector is a little more tricky, but the same basic > concept. > > Good Luck! > > > > > - Original Message > From: vidyadhar > To: pyqt@riverbankcomputing.com > Sent: Tuesday, August 18, 2009 9:16:05 AM > Subject: [PyQ

[PyQt] Drawing straight lines and rectangles with one point fixed

2009-08-24 Thread vidyadhar
i want to build an application which can draw lines and rectangles on mouse events with the point where mouse pressed initially as fixed point. can anyone help me with an example or any help would be appreciated. thanks -- View this message in context: http://www.nabble.com/Drawing-straight-lin

[PyQt] setting cursor shape

2009-08-21 Thread vidyadhar
I want to set the cursor shape as a CrossCursor in shape of + on the current widget when i click on a button. do anyone have any idea abt how to proceed?? thanks -- View this message in context: http://www.nabble.com/setting-cursor-shape-tp25091146p25091146.html Sent from the PyQt mailing list a

[PyQt] using qpainter and drawing lines on widget

2009-08-19 Thread vidyadhar
can anyone pls give me an example or any idea on how to dray lines on a widget on the movment of mouse and click. i think i have to use a Qpainter class but dont know how to go abt it in pyqt. pls help thanks -- View this message in context: http://www.nabble.com/using-qpainter-and-drawing-lines

[PyQt] image tool like paint

2009-08-18 Thread vidyadhar
i have no idea as how to go about for devloping an application similar to paint the one in windows. the one which has a pen tool, eraser,shapes to draw. I would like to use the tool to highlight an area on picture. so anyone has any idea how to use Qpainter class . please help me with an example i

[PyQt] image tool

2009-08-18 Thread vidyadhar
how should i scale the image to fit to the size of dock widget.? i have used scaling in pixmap. here is my code self.edit_image=str(self.imagePath) pic=QtGui.QPixmap(self.edit_image) width=self.dockWidget_4.geometry().width() height=self.dockWidget_4.geometry().he

[PyQt] opening Dock widget as a tab

2009-07-18 Thread vidyadhar
I am creating a dock widget dynamically at runtime. problem i am facing is 1> i have to open a dock widget containing two tree widgets as a tab dynamically at runtime 2>also the tabs of dock widget should be placed above the dock widget and not below the widget . please help me out as i have no o