[Kde-bindings] Qyoto: Movable QDockWidgets
Arno Rehn
arno at arnorehn.de
Wed Oct 18 16:31:06 UTC 2006
Hi,
I've just tried to convert some other examples from C++ to C# and recognized
that QDockWidgets are not movable. I've written this small example:
using Qyoto;
class Window : QMainWindow {
public Window() : base() {
SetCentralWidget(new QTextEdit(this));
QDockWidget dock = new QDockWidget(this);
dock.SetWidget(new QTextEdit(dock));
AddDockWidget(Qt.DockWidgetArea.LeftDockWidgetArea, dock);
}
public static int Main(string[] args) {
new QApplication(args);
Window w = new Window();
w.Show();
return QApplication.Exec();
}
}
Normally the QDockWidget should be movable. The same example in C++ works as
expected. Any ideas?
--
Arno Rehn
arno at arnorehn.de
More information about the Kde-bindings
mailing list