1
/***************************************************************************
2
* Copyright (C) 2005 by Adam Treat *
5
* This program is free software; you can redistribute it and/or modify *
6
* it under the terms of the GNU General Public License as published by *
7
* the Free Software Foundation; either version 2 of the License, or *
8
* (at your option) any later version. *
10
***************************************************************************/
24
class PlainButton : public QFrame
28
PlainButton( const QPixmap &icon, int frameStyle, QWidget *parent );
30
virtual ~PlainButton();
36
virtual void mousePressEvent( QMouseEvent *ev );
37
virtual void mouseReleaseEvent( QMouseEvent *ev );
45
class CopyItem : public PlainButton
49
CopyItem( QWidget *parent, const QString &text );
57
void setText( const QString &text );
64
class DataClip : public QFrame
68
DataClip( QWidget *parent );
78
QValueList<CopyItem *> m_copies;
81
class TitleBar : public QFrame
85
TitleBar( QWidget *parent, DataClip *clip );
90
virtual void mousePressEvent( QMouseEvent *ev );
91
virtual void mouseMoveEvent( QMouseEvent * ev );