libyui-qt
2.49.2
QY2StyleEditor.h
1
/*
2
Copyright (C) 2000-2012 Novell, Inc
3
This library is free software; you can redistribute it and/or modify
4
it under the terms of the GNU Lesser General Public License as
5
published by the Free Software Foundation; either version 2.1 of the
6
License, or (at your option) version 3.0 of the License. This library
7
is distributed in the hope that it will be useful, but WITHOUT ANY
8
WARRANTY; without even the implied warranty of MERCHANTABILITY or
9
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
10
License for more details. You should have received a copy of the GNU
11
Lesser General Public License along with this library; if not, write
12
to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
13
Floor, Boston, MA 02110-1301 USA
14
*/
15
16
17
/*-/
18
19
File: QY2StyleEditor.h
20
21
Author: Thomas Goettlicher <tgoettlicher@suse.de>
22
23
Textdomain "qt"
24
25
/-*/
26
27
#ifndef _QY2StyleEditor_h
28
#define _QY2StyleEditor_h
29
30
#include <QDialog>
31
#include "ui_QStyleEditor.h"
32
33
34
/**
35
* @short Stylesheet Editor Dialog
36
**/
37
38
class
QY2StyleEditor
:
public
QDialog
39
{
40
Q_OBJECT
41
42
public
:
43
44
/**
45
* Constructor.
46
**/
47
QY2StyleEditor
( QWidget *parent );
48
49
/**
50
* Destructor.
51
**/
52
~QY2StyleEditor
();
53
54
private
slots:
55
56
/**
57
* sets the text written in the text browser as style sheet
58
**/
59
void
slotApplyStyle();
60
61
/**
62
* loads a style sheet form a file
63
**/
64
void
slotLoadFile();
65
66
/**
67
* triggers style sheet auto apply if user has selected
68
**/
69
void
slotTextChanged();
70
71
private
:
72
Ui_QStyleEditor ui;
73
74
};
75
76
#endif
77
QY2StyleEditor
Stylesheet Editor Dialog.
Definition:
QY2StyleEditor.h:38
QY2StyleEditor::QY2StyleEditor
QY2StyleEditor(QWidget *parent)
Constructor.
Definition:
QY2StyleEditor.cc:39
QY2StyleEditor::~QY2StyleEditor
~QY2StyleEditor()
Destructor.
Definition:
QY2StyleEditor.cc:65
src
QY2StyleEditor.h
Generated by
1.8.14