Scribus
Open source desktop publishing at your fingertips
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
smspinbox.h
1
/*
2
For general Scribus (>=1.3.2) copyright and licensing information please refer
3
to the COPYING file provided with the program. Following this notice may exist
4
a copyright and/or license notice that predates the release of Scribus 1.3.2
5
for which a new license (GPL+exception) is in place.
6
*/
7
#ifndef SMSPINBOX_H
8
#define SMSPINBOX_H
9
10
#include <QSpinBox>
11
12
class
SMSpinBox
:
public
QSpinBox
13
{
14
Q_OBJECT
15
public
:
16
SMSpinBox
(QWidget *parent);
17
~
SMSpinBox
() {};
18
19
void
setValue(
int
val);
20
void
setValue(
int
val,
bool
isParentVal);
21
22
void
clear();
23
24
void
setParentValue(
int
val);
25
26
bool
useParentValue();
27
28
protected
:
29
void
interpretText();
30
31
private
:
32
bool
m_hasParent;
33
bool
m_useParentValue;
34
int
m_pValue;
35
void
setFont(
bool
wantBold);
36
37
private
slots:
38
void
slotValueChanged();
39
};
40
41
#endif
SMSpinBox
Definition:
smspinbox.h:12
scribus
ui
smspinbox.h
Generated on Tue Sep 29 2015 09:15:25 for Scribus by
1.8.9.1