Scribus
Open source desktop publishing at your fingertips
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
notesstyleseditor.h
1
#ifndef NOTESSTYLESEDITOR_H
2
#define NOTESSTYLESEDITOR_H
3
4
#include "notesstyles.h"
5
#include "ui/scrpalettebase.h"
6
#include "ui/spalette.h"
7
#include "ui_notesstyleseditor.h"
8
class
ScribusDoc
;
9
class
ScribusMainWindow
;
10
11
class
SCRIBUS_API NotesStylesEditor :
public
ScrPaletteBase
,
private
Ui::NotesStylesEditor
12
{
13
Q_OBJECT
14
15
public
:
16
explicit
NotesStylesEditor(QWidget *parent = 0,
const
char
*name =
"notesStylesEditor"
);
17
~NotesStylesEditor();
18
void
updateNSList();
19
20
private
:
21
ScribusDoc
*m_Doc;
22
PrefsContext
*m_prefs;
23
QMap<QString, NotesStyle> changesMap;
//<NSname to change, NSet new values>
24
void
readNotesStyle(QString nsName);
25
void
changeNotesStyle();
26
void
setBlockSignals(
bool
block);
27
bool
addNewNsMode;
28
29
public
slots:
30
void
setDoc(
ScribusDoc
*doc);
31
void
handleUpdateRequest(
int
updateFlags);
32
void
languageChange();
33
void
setNotesStyle(
NotesStyle
* NS);
34
35
private
slots:
36
void
on_NSlistBox_currentIndexChanged(
const
QString &arg1);
37
void
on_ApplyButton_clicked();
38
void
on_DeleteButton_clicked();
39
void
on_OKButton_clicked();
40
void
on_NewNameEdit_textChanged(
const
QString &arg1);
41
void
on_FootRadio_toggled(
bool
checked);
42
void
on_EndRadio_toggled(
bool
checked);
43
void
on_NumberingBox_currentIndexChanged(
int
index);
44
void
on_RangeBox_currentIndexChanged(
int
index);
45
void
on_StartSpinBox_valueChanged(
int
arg1);
46
void
on_PrefixEdit_textChanged(
const
QString &arg1);
47
void
on_SuffixEdit_textChanged(
const
QString &arg1);
48
void
on_SuperMasterCheck_toggled(
bool
checked);
49
void
on_SuperNoteCheck_toggled(
bool
checked);
50
void
on_AutoH_toggled(
bool
checked);
51
void
on_AutoW_toggled(
bool
checked);
52
void
on_AutoWeld_toggled(
bool
checked);
53
void
on_AutoRemove_toggled(
bool
checked);
54
void
on_NewButton_clicked();
55
void
on_paraStyleCombo_currentIndexChanged(
const
int
&arg1);
56
void
on_charStyleCombo_currentIndexChanged(
const
int
&arg1);
57
};
58
#endif // NOTESSTYLESEDITOR_H
ScribusMainWindow
This Class is the base class for your application. It sets up the main window and providing a menubar...
Definition:
scribus.h:123
NotesStyle
Definition:
notesstyles.h:28
ScribusDoc
the Document Class
Definition:
scribusdoc.h:90
PrefsContext
Definition:
prefscontext.h:40
ScrPaletteBase
Definition:
scrpalettebase.h:38
scribus
ui
notesstyleseditor.h
Generated on Tue Sep 29 2015 09:15:20 for Scribus by
1.8.9.1