1 /***************************************************************************
2 copyright : (C) 1999 by Judin Max
3 email : novaprint@mtu-net.ru
4 ***************************************************************************/
6 /***************************************************************************
8 * This program is free software; you can redistribute it and/or modify *
9 * it under the terms of the GNU General Public License as published by *
10 * the Free Software Foundation; either version 2 of the License, or *
11 * (at your option) any later version. *
13 ***************************************************************************/
15 #ifndef KDOCKWIDGETTEST_H
16 #define KDOCKWIDGETTEST_H
18 #include <k3dockwidget.h>
19 #include <k3dockwidget_p.h>
20 #include <QtGui/QTabWidget>
21 #include <QtGui/QLabel>
24 class DockApplication
: public K3DockMainWindow
27 DockApplication( const char* name
);
58 class CTW
:public QTabWidget
,public K3DockContainer
62 CTW(QWidget
*parent
):QTabWidget(parent
),K3DockContainer(){insertTab(-1,new QLabel("BLAH",this),"BLUP");}
64 K3DockWidget
*parentDockWidget(){return ((K3DockWidget
*)parent());}
65 void insertWidget (K3DockWidget
*w
, QPixmap
, const QString
&, int &){qDebug("widget inserted"); insertTab(-1,w
,"NO");}
66 void setToolTip (K3DockWidget
*, QString
&){qDebug("Tooltip set");}