For the qt_plugin, past the following script into the body of a node
and execute it.  The script places the minibuffer in a toolbar.

When making collections of objects that represent a single unit it is
best to put them into a widget, then it is easier to handle.

I have only been able to test in on Windows, how does it do on Linux?

###

import PyQt4.QtCore as QtCore
import PyQt4.QtGui as QtGui

ui = c.frame.top.ui

h =ui.horizontalLayout
v= ui.verticalLayout

v.removeItem(h)

hh = QtGui.QHBoxLayout()
hh.setContentsMargins(0,0,0,0)
hh.expandingDirections = QtCore.Qt.Horizontal

# make the minibuffer area a panel
p = ui.miniBufferPanel =QtGui.QWidget()
p.setLayout(hh)
p.setContentsMargins(0,0,0,0)
hh.addWidget(ui.label)
hh.addWidget(ui.lineEdit)

tb = QtGui.QToolBar()

c.frame.top.addToolBar( QtCore.Qt.BottomToolBarArea,tb)

tb.addWidget(p)
tb.setWindowTitle('Minibuffer')

##

--
hag

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to