~neon/kompare/master

« back to all changes in this revision

Viewing changes to libdialogpages/viewpage.h

  • Committer: Friedrich W. H. Kossebau
  • Date: 2020-11-13 21:43:33 UTC
  • Revision ID: git-v1:79fce0df862602a8e2790d7d14f4037744a006f6
Reorganize sources into src/ subfolder

NO_CHANGELOG

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/***************************************************************************
2
 
                                generalprefs.h
3
 
                                --------------
4
 
        begin                   : Sun Mar 4 2001
5
 
        Copyright 2001-2003 Otto Bruggeman <otto.bruggeman@home.nl>
6
 
        Copyright 2001-2003 John Firebaugh <jfirebaugh@kde.org>
7
 
        Copyright 2007      Kevin Kofler   <kevin.kofler@chello.at>
8
 
****************************************************************************/
9
 
 
10
 
/***************************************************************************
11
 
**
12
 
**   This program is free software; you can redistribute it and/or modify
13
 
**   it under the terms of the GNU General Public License as published by
14
 
**   the Free Software Foundation; either version 2 of the License, or
15
 
**   (at your option) any later version.
16
 
**
17
 
***************************************************************************/
18
 
 
19
 
#ifndef VIEWPAGE_H
20
 
#define VIEWPAGE_H
21
 
 
22
 
#include <QFrame>
23
 
 
24
 
#include "dialogpages_export.h"
25
 
 
26
 
class QFontComboBox;
27
 
class QSpinBox;
28
 
class QTabWidget;
29
 
 
30
 
class KColorButton;
31
 
 
32
 
class ViewSettings;
33
 
 
34
 
class DIALOGPAGES_EXPORT ViewPage : public QFrame
35
 
{
36
 
    Q_OBJECT
37
 
public:
38
 
    ViewPage();
39
 
    ~ViewPage() override;
40
 
 
41
 
public:
42
 
    void setSettings(ViewSettings*);
43
 
    ViewSettings* settings();
44
 
 
45
 
public:
46
 
    ViewSettings* m_settings;
47
 
 
48
 
public:
49
 
    virtual void restore();
50
 
    virtual void apply();
51
 
    virtual void setDefaults();
52
 
 
53
 
public:
54
 
    KColorButton* m_removedColorButton;
55
 
    KColorButton* m_changedColorButton;
56
 
    KColorButton* m_addedColorButton;
57
 
    KColorButton* m_appliedColorButton;
58
 
    // snol == scroll number of lines
59
 
    QSpinBox*     m_snolSpinBox;
60
 
    QSpinBox*     m_tabSpinBox;
61
 
    QFontComboBox*   m_fontCombo;
62
 
    QSpinBox*     m_fontSizeSpinBox;
63
 
    QTabWidget*   m_tabWidget;
64
 
};
65
 
 
66
 
#endif