You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
// -*- Mode: c++; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4; -*-
|
|
|
|
#ifndef __shadowdialogimpl_h__
|
|
|
|
#define __shadowdialogimpl_h__
|
|
|
|
|
|
|
|
#include "shadowdialog.h"
|
|
|
|
#include "global.h"
|
|
|
|
|
|
|
|
class KPrTextPreview;
|
|
|
|
|
|
|
|
class KPrShadowDialogImpl : public ShadowDialogBase
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
KPrShadowDialogImpl( TQWidget *parent, const char* name = 0 );
|
|
|
|
~KPrShadowDialogImpl() {}
|
|
|
|
|
|
|
|
void setShadowDirection( ShadowDirection sd );
|
|
|
|
void setShadowDistance( int sd );
|
|
|
|
void setShadowColor( const TQColor &sc );
|
|
|
|
|
|
|
|
ShadowDirection shadowDirection();
|
|
|
|
int shadowDistance();
|
|
|
|
TQColor shadowColor();
|
|
|
|
|
|
|
|
signals:
|
|
|
|
void apply();
|
|
|
|
|
|
|
|
protected slots:
|
|
|
|
void colorChanged( const TQColor& );
|
|
|
|
void directionChanged( int );
|
|
|
|
void distanceChanged( int );
|
|
|
|
void applyClicked();
|
|
|
|
void okClicked();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
KPrTextPreview *_preview;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|