Hi,

when running attached test app with 4.5RC1 I can no longer resize the width
of the left dock widget with the middle splitter.
(the cursor does also not change its shape to a Qt::SplitVCursor)

-- 
Best Regards/Schöne Grüße

Martin

-----------------------------------------------------------------
Ing. Martin Koller , mailto:[email protected] , http://www.etm.at
ETM professional control GmbH, A-7000 Eisenstadt Kasernenstr. 29
Phone:+43 2682/741-62603, Fax:+43 2682/741-52555
-----------------------------------------------------------------
#include <qapplication.h>
#include <qmainwindow.h>
#include <qapplication.h>
#include <QDockWidget>

int main(int argc, char *argv[])
{
  QApplication app(argc, argv);

  QMainWindow *mw = new QMainWindow(0);
  mw->setDockNestingEnabled(true);

  QDockWidget *one, *two;
  mw->addDockWidget(Qt::LeftDockWidgetArea, one = new QDockWidget("one"), Qt::Vertical);
  mw->addDockWidget(Qt::LeftDockWidgetArea, two = new QDockWidget("two"), Qt::Vertical);
  mw->splitDockWidget(one, two, Qt::Horizontal);

  QPalette palette = one->palette();
  palette.setColor(QPalette::Window, Qt::blue);
  one->setPalette(palette);
  one->setAutoFillBackground(true);

  palette.setColor(QPalette::Window, Qt::red);
  two->setPalette(palette);
  two->setAutoFillBackground(true);

  mw->setCentralWidget(new QWidget);
  mw->show();

  app.exec();
}
_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to