Scribus
Open source desktop publishing at your fingertips
|
Public Types | |
enum | SubMode { MOVE_POINT = 0, ADD_POINT = 1, DEL_POINT = 2, SPLIT_PATH = 3 } |
Public Member Functions | |
bool | isContourLine () |
void | setIsContourLine (bool b) |
int | clre () |
void | setClre (int i) |
int | clre2 () |
void | setClre2 (int i) |
int | segP1 () |
void | setSegP1 (int i) |
int | segP2 () |
void | setSegP2 (int i) |
bool | edPoints () |
void | setEdPoints (bool b) |
bool | moveSym () |
void | setMoveSym (bool b) |
QList< int > & | selNode () |
bool | hasNodeSelected () |
void | deselect () |
void | reset () |
int | submode () |
void | setSubMode (int i) |
void | reset1Control (PageItem *currItem) |
void | resetControl (PageItem *currItem) |
FPointArray | beginTransaction (PageItem *currItem) |
void | finishTransaction (PageItem *currItem) |
ScItemState< QPair< FPointArray, FPointArray > > * | finishTransaction1 (PageItem *currItem) |
void | finishTransaction2 (PageItem *currItem, ScItemState< QPair< FPointArray, FPointArray > > *state) |
void | moveClipPoint (PageItem *currItem, FPoint ip) |
Public Member Functions inherited from MassObservable< QPointF > | |
MassObservable (UpdateManager *um=NULL) | |
void | setUpdateManager (UpdateManager *um) |
virtual void | update (QPointFwhat) |
virtual void | updateLayout (QPointFwhat) |
void | connectObserver (Observer< QPointF > *o) |
bool | connectObserver (QObject *o, const char *slot) |
void | disconnectObserver (Observer< QPointF > *o) |
bool | disconnectObserver (QObject *o, const char *slot=0) |
Public Attributes | |
FPointArray * | oldClip |
UndoTransaction | nodeTransaction |
Protected Attributes | |
int | m_submode |
bool | m_isContourLine |
int | m_ClRe |
int | m_ClRe2 |
int | m_SegP1 |
int | m_SegP2 |
bool | m_EdPoints |
bool | m_MoveSym |
QList< int > | m_SelNode |
double | m_oldItemX |
double | m_oldItemY |
Protected Attributes inherited from MassObservable< QPointF > | |
QSet< Observer< QPointF > * > | m_observers |
Private_Signal * | changedSignal |
UpdateManager * | m_um |
Additional Inherited Members | |
Protected Member Functions inherited from MassObservable< QPointF > | |
virtual void | updateNow (UpdateMemento *what) |
ScItemState< QPair< FPointArray, FPointArray > > * NodeEditContext::finishTransaction1 | ( | PageItem * | currItem | ) |
first part: create a new UndoState or cancel the current transaction
void NodeEditContext::finishTransaction2 | ( | PageItem * | currItem, |
ScItemState< QPair< FPointArray, FPointArray > > * | state | ||
) |
second part: take the UndoState returned from finishTransaction1() and commit it