summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrShadowDialogImpl.h
blob: 8e78dc8ee017d78982d9fc6f07d5d033ffa80dc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// -*- 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