pDockWidget.sip 492 B

1234567891011121314151617181920212223
  1. /*!
  2. \brief A QDockWidget that keep it's size
  3. \details when hidden then shown when docked
  4. */
  5. class pDockWidget : QDockWidget
  6. {
  7. %TypeHeaderCode
  8. #include <gui/dockwidget/pDockWidget.h>
  9. %End
  10. public:
  11. pDockWidget( const QString& title, QWidget* parent = 0, Qt::WindowFlags flags = 0 );
  12. pDockWidget( QWidget* parent = 0, Qt::WindowFlags flags = 0 );
  13. pDockWidgetTitleBar* titleBar() const;
  14. QAction* showAction();
  15. protected:
  16. void init();
  17. virtual void paintEvent( QPaintEvent* event );
  18. };