Scribus
Open source desktop publishing at your fingertips
SEditor Class Reference
Inheritance diagram for SEditor:
Collaboration diagram for SEditor:

Public Slots

void cut ()
 
void copy ()
 
void paste ()
 
void ClipChange ()
 
void SelClipChange ()
 

Signals

void setProps (int, int)
 
void SideBarUp (bool)
 
void SideBarUpdate ()
 
void PasteAvail ()
 
void contentsMoving (int, int)
 

Public Member Functions

 SEditor (QWidget *parent, ScribusDoc *docc, StoryEditor *parentSE)
 
void setCurrentDocument (ScribusDoc *docc)
 
void setAlign (int align)
 
void saveItemText (PageItem *currItem)
 
void loadItemText (PageItem *currItem)
 
void loadText (QString tx, PageItem *currItem)
 
void updateAll ()
 
void updateFromChars (int p)
 
void updateSel (const CharStyle &style)
 
void updateSel (const ParagraphStyle &style)
 
void deleteSel ()
 
void setEffects (int effects)
 
void setColor (bool marker)
 
void insertChars (const QString &text)
 
void insertChars (const QString &styledText, const QString &editText)
 

Public Attributes

StoryText StyledText
 
QList< PageItem * > FrameItems
 
ScribusDocdoc
 
bool unicodeTextEditMode
 
bool wasMod
 
bool ready
 
int unicodeInputCount
 
StyleFlag CurrentEffects
 
QString currentParaStyle
 
int CurrAlign
 
double CurrFontSize
 
double CurrTextFillSh
 
double CurrTextStrokeSh
 
double CurrTextScale
 
double CurrTextScaleV
 
double CurrTextBase
 
double CurrTextShadowX
 
double CurrTextShadowY
 
double CurrTextOutline
 
double CurrTextUnderPos
 
double CurrTextUnderWidth
 
double CurrTextStrikePos
 
double CurrTextStrikeWidth
 
double CurrTextKern
 
QString CurrTextStroke
 
QString CurrTextFill
 
QString prevFont
 
QString CurrFont
 
QString unicodeInputString
 
bool StoredSel
 
int SelParaStart
 
int SelParaEnd
 
int SelCharStart
 
int SelCharEnd
 
int SuspendContentsChange
 

Protected Slots

void handleContentsChange (int position, int charsRemoved, int charsAdded)
 

Protected Member Functions

void insertCharsInternal (const QString &t)
 
void insertCharsInternal (const QString &t, int position)
 
void insertStyledText (const StoryText &styledText)
 
void insertStyledText (const StoryText &styledText, int position)
 
void insertUpdate (int position, int len)
 
void setAlign (QTextCursor &tCursor, int style)
 
void setEffects (QTextCursor &tCursor, int effects)
 
void keyPressEvent (QKeyEvent *k)
 
void inputMethodEvent (QInputMethodEvent *event)
 
void focusOutEvent (QFocusEvent *e)
 
void focusInEvent (QFocusEvent *e)
 
void scrollContentsBy (int dx, int dy)
 
virtual bool canInsertFromMimeData (const QMimeData *source) const
 
virtual QMimeData * createMimeDataFromSelection () const
 
virtual void insertFromMimeData (const QMimeData *source)
 

Protected Attributes

int blockContentsChangeHook
 
StoryEditorparentStoryEditor
 

The documentation for this class was generated from the following files: