konq_bgnddlg.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
#ifndef __konq_bgnd_h
00022
#define __konq_bgnd_h
00023
00024
#include <qstring.h>
00025
#include <qpixmap.h>
00026
00027
#include <kdialogbase.h>
00028
00029
class KColorButton;
00030
class KURLRequester;
00031
class QButtonGroup;
00032
class QRadioButton;
00033
00038 class KonqBgndDialog :
public KDialogBase
00039 {
00040 Q_OBJECT
00041
public:
00045
KonqBgndDialog( QWidget* parent,
const QString& pixmapFile,
00046
const QColor& theColor,
const QColor& defaultColor );
00047 ~
KonqBgndDialog();
00048
00049 QColor color()
const;
00050
const QString& pixmapFile()
const {
return m_pixmapFile; }
00051
00052
private slots:
00053
void slotBackgroundModeChanged();
00054
void slotPictureChanged();
00055
void slotColorChanged();
00056
00057
private:
00058
void initPictures();
00059
void loadPicture(
const QString& fileName );
00060
00061 QColor m_color;
00062 QPixmap m_pixmap;
00063 QString m_pixmapFile;
00064 QFrame* m_preview;
00065
00066 QButtonGroup* m_buttonGroup;
00067 QRadioButton* m_radioColor;
00068 QRadioButton* m_radioPicture;
00069 KURLRequester* m_comboPicture;
00070 KColorButton* m_buttonColor;
00071
00072 };
00073
00074
#endif
This file is part of the documentation for libkonq Library Version 3.3.0.