Mind 2.0
2016-03-28 11:44:10 0 举报
导图引擎设计(Qt based)
作者其他创作
大纲/内容
MindNodeItem
mindNode: MindNode *
componentComplete(): void
MindLayoutEnginePrivate
engine: MindEngine *
MindSolution
MindLineItem
mindLine: MindLine *
QObject
MindLineData
shape: QString startPoint: QPointF endPoint: QPointF startAngle: qreal endAngle: qreal startPointType: QString endPointType: QString startPointSize: QString endPointSize: QString text: QString family: QString weight: QString size: QString color1: QColor color2: QColor fillColor1: QColor fillColor2: QColor bold: bool italic: bool overline: bool strikeout: bool underline: bool lineWidth: QString lineColor1: QColor lineColor2: QColor lineStyle: QString
MindClassicLayout::Direction
BothRightLeft
MindClassicLayoutData
direction: MindClassicLayout::Directionqreal: xqreal: yqreal cw;qreal ch;
MindCommand::State
RedoUndo
MindMoveNodeCommand
MindNodePrivate
- parentNode: MindNode *- childNodes: MindNodeList- inheritedLine: MindLine *- startCLines: MindLineList- endCLines: MindLineList- incubator: MindNodeItemIncubator *- layoutData: MindLayoutData *
MindLayout
doLayout(baseNodes: const MindNodeList &): QRectF
MindObjectPrivate
QLinkedListMindCommands
MindController
initRootNode(): void addChildNode(): void addParentNode(): void addSiblingNode(): void
MindNodeItemIncubator
- mindNode: MindNode *- mindNodeItem: MindNodeItem *
MindLayoutData
method(): MindLayout::Method
MindLayout::Method
UnknownClassic
MindNode
layoutDataDirty: bool nodeData: MindNodeData * lineData: MindLineData * x: qreal y: qreal width: qreal height: qreal
load(o: const QJsonObject &): void save(o: QJsonObject &): void+ inherit(parent: MindNode *): void
MindNodeData
dirty: bool shape: QString startPoint: QPointF endPoint: QPointF startAngle: qreal endAngle: qreal text: QString family: QString alignment: QString weight: QString size: QString color1: QColor color2: QColor fillColor1: QColor fillColor2: QColor bold: bool italic: bool overline: bool strikeout: bool underline: bool borderWidth: QString borderColor1: QColor borderColor2: QColor borderStyle: QString link: QString stickers: QString note: QString collapsed: bool
+ markDirty(): void+ unmarkDirty(): void+ inherit(parent: MindLineData *): void
MindCommand
- state: MindCommand::State
+ redo(): void+ undo(): void+ text(): QString+ isRedoState(): bool+ isUndoState(): bool
MindLayoutEngine
+ doSoftLayout(): void
MindViewPrivate
engine: MindEngine * viewport: MindViewport * itemDelegate: QQmlComponent * lineDelegate: QQmlComponent *
MindRemoveNodeCommand
MindClassicLayout
MindGroupCommand
- redoCommands: MindCommands- undoCommands: MindCommands
MindView
MindInsertNodeCommand
MindObject
id: QString dirty: bool visible: bool current: bool checked: bool
load(o: const QJsonObject &): void save(o: QJsonObject &): void
Classic
MindLineItemIncubator
- mindLine: MindLine *- mindLineItem: MindLineItem *
MindSerializable
MindUndoStackPrivate
- redoStack: QStack- undoStack: QStack- redoCommands: MindCommands- undoCommands: MindCommands
- setCanRedo(bool: enable): void- setCanUndo(bool: enable): void- setRedoText(text: const QString &): void- setRedoText(text: const QString &): void- update(): void
dirty: bool shape: QString startPoint: QPointF endPoint: QPointF startAngle: qreal endAngle: qreal startPointType: QString endPointType: QString startPointSize: QString endPointSize: QString lineWidth: QString lineColor1: QColor lineColor2: QColor lineStyle: QString
MindViewport
offsetPos: QPointF validRect: QRectF
MindUndoStack
canRedo: bool = false canUndo: bool = false redoText: QString undoText: QString
+ push(c: MindCommand *): void+ submit(): void+ submit(c: MindCommand *): void+ ignore(): void+ clear(): void+ undo(): void+ redo(): void
MindClipboard
+ cut(): void+ copy(): void+ paste(): void
0 条评论
下一页