kpresenter
KPrShadowDialogImpl.h
00001 // -*- Mode: c++; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4; -*- 00002 #ifndef __shadowdialogimpl_h__ 00003 #define __shadowdialogimpl_h__ 00004 00005 #include "shadowdialog.h" 00006 #include "global.h" 00007 00008 class KPrTextPreview; 00009 00010 class KPrShadowDialogImpl : public ShadowDialogBase 00011 { 00012 Q_OBJECT 00013 00014 public: 00015 KPrShadowDialogImpl( QWidget *parent, const char* name = 0 ); 00016 ~KPrShadowDialogImpl() {} 00017 00018 void setShadowDirection( ShadowDirection sd ); 00019 void setShadowDistance( int sd ); 00020 void setShadowColor( const QColor &sc ); 00021 00022 ShadowDirection shadowDirection(); 00023 int shadowDistance(); 00024 QColor shadowColor(); 00025 00026 signals: 00027 void apply(); 00028 00029 protected slots: 00030 void colorChanged( const QColor& ); 00031 void directionChanged( int ); 00032 void distanceChanged( int ); 00033 void applyClicked(); 00034 void okClicked(); 00035 00036 protected: 00037 KPrTextPreview *_preview; 00038 }; 00039 00040 00041 #endif