File: KPrShadowDialogImpl.h

package info (click to toggle)
koffice 1%3A1.6.1-2etch2
  • links: PTS
  • area: main
  • in suites: etch
  • size: 166,968 kB
  • ctags: 102,365
  • sloc: cpp: 829,873; ansic: 86,242; xml: 14,460; sh: 11,579; makefile: 8,604; python: 6,325; perl: 3,364; yacc: 2,654; lex: 455; sql: 266; ruby: 244
file content (41 lines) | stat: -rw-r--r-- 864 bytes parent folder | download | duplicates (3)
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
// -*- 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( QWidget *parent, const char* name = 0 );
    ~KPrShadowDialogImpl() {}

    void setShadowDirection( ShadowDirection sd );
    void setShadowDistance( int sd );
    void setShadowColor( const QColor &sc );

    ShadowDirection shadowDirection();
    int shadowDistance();
    QColor shadowColor();

signals:
    void apply();

protected slots:
    void colorChanged( const QColor& );
    void directionChanged( int );
    void distanceChanged( int );
    void applyClicked();
    void okClicked();

protected:
    KPrTextPreview *_preview;
};


#endif