Commits

Henning Schröder committed a61f1e8

forgot makefile

  • Participants
  • Parent commits de2e584

Comments (0)

Files changed (3)

qtwidgets/dockwidget_icons.py

 
 # Resource object code
 #
-# Created: Mi Aug 20 05:23:34 2008
-#      by: The Resource Compiler for PyQt (Qt v4.3.4)
+# Created: Do Mrz 5 16:02:06 2009
+#      by: The Resource Compiler for PyQt (Qt v4.4.3)
 #
 # WARNING! All changes made in this file will be lost!
 

ressources/Makefile

-dockwidget_icons.py: dockwidget_icons.qrc
-		    pyrcc4 dockwidget_icons.qrc > dockwidget_icons.py
+../qtwidgets/dockwidget_icons.py: dockwidget_icons.qrc
+		    pyrcc4 dockwidget_icons.qrc > ../qtwidgets/dockwidget_icons.py

test/test_dockwidget.py

     app = QApplication(sys.argv)    
     win = QMainWindow()
     dock1 = DockWidget("1st dockwidget", win)
-    dock1.setFeatures(dock1.features() | QDockWidget.DockWidgetVerticalTitleBar)
     combo =  QComboBox(dock1)
     dock1.setWidget(combo)
-    win.addDockWidget(Qt.LeftDockWidgetArea, dock1)
+    win.addDockWidget(Qt.TopDockWidgetArea, dock1)
     dock2 = DockWidget("2nd dockwidget")
     dock2.setFeatures(dock1.features() | QDockWidget.DockWidgetVerticalTitleBar)
     button = QPushButton("Hello, world!", dock2)