From: Carlos P. <cpa...@ce...> - 2015-07-02 08:45:15
|
Hi Binit, IMHO these questions are better suited for a general PyQt4 list/forum since they are not specific to taurus at all. I suggest: http://www.riverbankcomputing.com/mailman/listinfo/pyqt or http://stackoverflow.com/questions/tagged/pyqt4 and also: http://doc.qt.io/qt-4.8/index.html Cheers, Carlos On Thu 2 July 2015 13:20:01 Binit Amin wrote: > Hi All, > > > I have some doubts regarding PyQt4. > > > 1) > I am using python with Pyqt4 for making one GUI, in that I have to > attach one Menu-bar. But layout has a center area that is occupied by > the menu-bar of the GUI. I tried making that in Main Window, but I > wont be able to create that in Main Window. That can be possible with > widget templates/Forms. > > > I want to use Main Window templates/Forms with the Menu-Bar at the > center of the page. > > > 2) > If I use Widget templates/Forms instead of Main window and I attach > one Dock Widget, Then how to make that Dock Widget movable on the > screen. I know how to make Dock Widget movable in the Main Window. > > > I want to implement both this features on any of the templates/ Form > at a time. > > > FYI I am using Fedora 19, PyQt 4.11.3, Python 2.7.5, PyTango 8.1.5 > > > > Any help is appreciated. Thank you! > > > I am attaching one sample program so that you can easily understand > what exactly I want. PFA. -- +----------------------------------------------------+ Carlos Pascual Izarra Scientific Software Coordinator Computing Division ALBA Synchrotron [http://www.albasynchrotron.es] Carretera BP 1413 de Cerdanyola-Sant Cugat, Km. 3.3 E-08290 Cerdanyola del Valles (Barcelona), Spain E-mail: cpa...@ce... Phone: +34 93 592 4428 +----------------------------------------------------+ |