Home
last modified time | relevance | path

Searched refs:AbstractAnnotationItem (Results 1 – 25 of 87) sorted by relevance

1234

/dports/graphics/kimageannotator/kImageAnnotator-0.5.3/src/annotations/items/
H A DAbstractAnnotationItem.cpp24 AbstractAnnotationItem::AbstractAnnotationItem(const PropertiesPtr &properties) in AbstractAnnotationItem() function in kImageAnnotator::AbstractAnnotationItem
38 AbstractAnnotationItem::AbstractAnnotationItem(const AbstractAnnotationItem &other) in AbstractAnnotationItem() function in kImageAnnotator::AbstractAnnotationItem
50 AbstractAnnotationItem::~AbstractAnnotationItem() in ~AbstractAnnotationItem()
56 QRectF AbstractAnnotationItem::boundingRect() const in boundingRect()
65 QPainterPath AbstractAnnotationItem::shape() const in shape()
84 QPointF AbstractAnnotationItem::position() in position()
116 QPen AbstractAnnotationItem::painterPen() const in painterPen()
166 bool AbstractAnnotationItem::hasFill() const in hasFill()
172 bool AbstractAnnotationItem::hasBorder() const in hasBorder()
178 void AbstractAnnotationItem::finish() in finish()
[all …]
H A DAbstractAnnotationItem.h35 class AbstractAnnotationItem : public QGraphicsWidget
38 explicit AbstractAnnotationItem(const PropertiesPtr &properties);
39 AbstractAnnotationItem(const AbstractAnnotationItem &other);
40 ~AbstractAnnotationItem() override;
/dports/graphics/kimageannotator/kImageAnnotator-0.5.3/src/annotations/modifiers/
H A DAnnotationItemSelector.h36 …void handleSelectionOrShowSelectionRectAt(const QPointF &pos, QList<AbstractAnnotationItem *> *ite…
38 void finishSelectionRectWhenShown(QList<AbstractAnnotationItem *> *items);
39 void handleSelectionAt(const QPointF &pos, QList<AbstractAnnotationItem *> *items, bool modifying);
41 QList<AbstractAnnotationItem *> selectedItems() const;
45 void selectItem(AbstractAnnotationItem *item);
53 QList<AbstractAnnotationItem *> *mSelectedItems;
59 void selectItemAt(const QPointF &position, QList<AbstractAnnotationItem *> *items);
60 void toggleItemSelectionAt(const QPointF &position, QList<AbstractAnnotationItem *> *items);
61 void selectItemsUnderRect(QList<AbstractAnnotationItem *> *items);
62 void unselectItem(AbstractAnnotationItem *item);
[all …]
H A DAnnotationItemSelector.cpp26 mSelectedItems = new QList<AbstractAnnotationItem *>(); in AnnotationItemSelector()
50 …::handleSelectionOrShowSelectionRectAt(const QPointF &pos, QList<AbstractAnnotationItem *> *items,… in handleSelectionOrShowSelectionRectAt()
62 void AnnotationItemSelector::handleSelectionAt(const QPointF &pos, QList<AbstractAnnotationItem *> … in handleSelectionAt()
83 void AnnotationItemSelector::finishSelectionRectWhenShown(QList<AbstractAnnotationItem *> *items) in finishSelectionRectWhenShown()
101 QList<AbstractAnnotationItem *> AnnotationItemSelector::selectedItems() const in selectedItems()
158 void AnnotationItemSelector::selectItemAt(const QPointF &position, QList<AbstractAnnotationItem *> … in selectItemAt()
173 …temSelector::toggleItemSelectionAt(const QPointF &position, QList<AbstractAnnotationItem *> *items) in toggleItemSelectionAt()
189 void AnnotationItemSelector::selectItemsUnderRect(QList<AbstractAnnotationItem *> *items) in selectItemsUnderRect()
199 void AnnotationItemSelector::selectItem(AbstractAnnotationItem *item) in selectItem()
205 void AnnotationItemSelector::unselectItem(AbstractAnnotationItem *item) in unselectItem()
[all …]
H A DAnnotationItemArranger.cpp24 …nger::AnnotationItemArranger(const QList<AbstractAnnotationItem *> &selectedItems, QList<AbstractA… in AnnotationItemArranger()
52 QList<QPair<AbstractAnnotationItem *, AbstractAnnotationItem *>> itemToSwap; in moveForward()
70 QList<QPair<AbstractAnnotationItem *, AbstractAnnotationItem *>> itemToSwap; in moveBackward()
87 …nger::createAndEmitArrangeCommand(const QList<QPair<AbstractAnnotationItem *, AbstractAnnotationIt… in createAndEmitArrangeCommand() argument
H A DAnnotationItemArranger.h35 …licit AnnotationItemArranger(const QList<AbstractAnnotationItem *> &selectedItems, QList<AbstractA…
48 QList<AbstractAnnotationItem *> mSelectedItems;
49 QList<AbstractAnnotationItem *> *mItems;
53 …void createAndEmitArrangeCommand(const QList<QPair<AbstractAnnotationItem *, AbstractAnnotationIte…
H A DAnnotationItemModifier.h42 …void handleMousePress(const QPointF &pos, QList<AbstractAnnotationItem *> *items, bool isCtrlPress…
44 void handleMouseRelease(QList<AbstractAnnotationItem *> *items);
45 void handleMouseDoubleClick(const QPointF &pos, QList<AbstractAnnotationItem *> *items);
46 …void handleSelectionAt(const QPointF &pos, QList<AbstractAnnotationItem *> *items, bool isCtrlPres…
47 QList<AbstractAnnotationItem *> selectedItems() const;
49 void selectItem(AbstractAnnotationItem *item);
57 void itemsSelected(const QList<AbstractAnnotationItem *> &items) const;
H A DAnnotationItemModifier.cpp47 void AnnotationItemModifier::handleMousePress(const QPointF &pos, QList<AbstractAnnotationItem *> *… in handleMousePress()
84 void AnnotationItemModifier::handleMouseRelease(QList<AbstractAnnotationItem *> *items) in handleMouseRelease()
100 …ionItemModifier::handleMouseDoubleClick(const QPointF &pos, QList<AbstractAnnotationItem *> *items) in handleMouseDoubleClick()
108 void AnnotationItemModifier::handleSelectionAt(const QPointF &pos, QList<AbstractAnnotationItem *> … in handleSelectionAt()
114 QList<AbstractAnnotationItem *> AnnotationItemModifier::selectedItems() const in selectedItems()
127 void AnnotationItemModifier::selectItem(AbstractAnnotationItem *item) in selectItem()
H A DAnnotationMultiItemResizer.h39 void attachTo(const QList<AbstractAnnotationItem *>& items);
58 QHash<AbstractAnnotationItem *, AnnotationItemResizer *> mItemToResizer;
61 AnnotationItemResizer *getResizerForItem(AbstractAnnotationItem *item);
/dports/graphics/kimageannotator/kImageAnnotator-0.5.3/src/annotations/undo/
H A DArrangeCommand.h33 …ArrangeCommand(QList<QPair<AbstractAnnotationItem *, AbstractAnnotationItem *>> itemToSwap, QList<
38 QList<QPair<AbstractAnnotationItem *, AbstractAnnotationItem *>> mItemToSwap;
39 QList<AbstractAnnotationItem *> *mAllItems;
41 void swapZValues(AbstractAnnotationItem *item1, AbstractAnnotationItem *item2) const;
H A DArrangeCommand.cpp24 …d::ArrangeCommand(QList<QPair<AbstractAnnotationItem *, AbstractAnnotationItem *>> itemToSwap, QLi… in ArrangeCommand() argument
49 void ArrangeCommand::swapZValues(AbstractAnnotationItem *item1, AbstractAnnotationItem *item2) const in swapZValues()
H A DMoveCommand.h37 explicit MoveCommand(QHash<AbstractAnnotationItem *, QPointF> itemToNewPos);
45 QHash<AbstractAnnotationItem *, QPointF> mOriginalPos;
46 QHash<AbstractAnnotationItem *, QPointF> mNewPos;
48 void moveItems(QHash<AbstractAnnotationItem *, QPointF> &itemToPos) const;
/dports/graphics/kimageannotator/kImageAnnotator-0.5.3/src/annotations/core/
H A DAnnotationItemFactory.h61 AbstractAnnotationItem *create(const QPointF &initPosition);
62 AbstractAnnotationItem *create(const QPointF &initPosition, const QPixmap &image);
63 AbstractAnnotationItem *clone(const AbstractAnnotationItem *item);
75AbstractAnnotationItem *createItem(const QPointF &initPosition, const Tools &toolType, const Prope…
76 AbstractAnnotationItem *cloneItem(const AbstractAnnotationItem *item);
77 void setZValue(AbstractAnnotationItem *item);
H A DAnnotationItemFactory.cpp68 AbstractAnnotationItem *AnnotationItemFactory::create(const QPointF &initPosition) in create()
79 AbstractAnnotationItem *AnnotationItemFactory::create(const QPointF &initPosition, const QPixmap &i… in create()
89 AbstractAnnotationItem *AnnotationItemFactory::clone(const AbstractAnnotationItem *item) in clone()
99 AbstractAnnotationItem *AnnotationItemFactory::createItem(const QPointF &initPosition, const Tools … in createItem()
101 AbstractAnnotationItem *newItem = nullptr; in createItem()
170 AbstractAnnotationItem *AnnotationItemFactory::cloneItem(const AbstractAnnotationItem *item) in cloneItem()
174 AbstractAnnotationItem *newItem = nullptr; in cloneItem()
246 void AnnotationItemFactory::setZValue(AbstractAnnotationItem *item) in setZValue()
H A DAnnotationArea.h68 virtual void addAnnotationItem(AbstractAnnotationItem *item);
69 virtual void removeAnnotationItem(AbstractAnnotationItem *item);
108 AbstractAnnotationItem *mCurrentItem;
110 QList<AbstractAnnotationItem*> *mItems;
134 void itemsSelected(const QList<AbstractAnnotationItem *> &items) const;
/dports/graphics/kimageannotator/kImageAnnotator-0.5.3/tests/annotations/undo/
H A DArrangeCommandTest.cpp32 QList<QPair<AbstractAnnotationItem *, AbstractAnnotationItem *>> itemToSwap; in TestRedo_Should_SwapItemPosition()
34 QList<AbstractAnnotationItem *> emptyItemList; in TestRedo_Should_SwapItemPosition()
57 QList<QPair<AbstractAnnotationItem *, AbstractAnnotationItem *>> emptySwapList; in TestRedo_Should_SortItemByZValue()
58 QList<AbstractAnnotationItem *> allItems; in TestRedo_Should_SortItemByZValue()
83 QList<QPair<AbstractAnnotationItem *, AbstractAnnotationItem *>> itemToSwap; in TestUndo_Should_SwapItemPositionBack()
85 QList<AbstractAnnotationItem *> emptyItemList; in TestUndo_Should_SwapItemPositionBack()
109 QList<QPair<AbstractAnnotationItem *, AbstractAnnotationItem *>> emptySwapList; in TestUndo_Should_SortItemByZValue()
110 QList<AbstractAnnotationItem *> allItems; in TestUndo_Should_SortItemByZValue()
H A DMoveCommandTest.cpp31 QHash<AbstractAnnotationItem *, QPointF> itemToPosition; in TestRedo_Should_MoveItemToNewPosition()
49 QHash<AbstractAnnotationItem *, QPointF> itemToPosition; in TestUndo_Should_MoveItemToInitialPosition()
69 QHash<AbstractAnnotationItem *, QPointF> itemToPositionFirst; in TestMergeWith_Should_TakeNewPositionFromLastMoveCommand()
70 QHash<AbstractAnnotationItem *, QPointF> itemToPositionSecond; in TestMergeWith_Should_TakeNewPositionFromLastMoveCommand()
92 QHash<AbstractAnnotationItem *, QPointF> itemToPositionFirst; in TestMergeWith_Should_KeepInitialPositionFromFirstMoveCommand()
93 QHash<AbstractAnnotationItem *, QPointF> itemToPositionSecond; in TestMergeWith_Should_KeepInitialPositionFromFirstMoveCommand()
118 QHash<AbstractAnnotationItem *, QPointF> item1ToPosition; in TestMergeWith_Should_NotMergeMoveCommands_When_ItemsAreNotTheSame()
119 QHash<AbstractAnnotationItem *, QPointF> item2ToPosition; in TestMergeWith_Should_NotMergeMoveCommands_When_ItemsAreNotTheSame()
/dports/graphics/kimageannotator/kImageAnnotator-0.5.3/src/annotations/modifiers/resizeHandles/
H A DResizeHandlesFactory.h33 …static AbstractItemResizeHandles *createResizeHandles(AbstractAnnotationItem *item, double zoomVal…
36 …static AbstractItemResizeHandles *GetPathResizeHandles(AbstractAnnotationItem *item, double zoomVa…
37 …static AbstractItemResizeHandles *GetRectResizeHandles(AbstractAnnotationItem *item, double zoomVa…
38 …static AbstractItemResizeHandles *GetLineResizeHandles(AbstractAnnotationItem *item, double zoomVa…
39 …static AbstractItemResizeHandles *GetPointerRectResizeHandles(AbstractAnnotationItem *item, double…
H A DResizeHandlesFactory.cpp24 AbstractItemResizeHandles *ResizeHandlesFactory::createResizeHandles(AbstractAnnotationItem *item, … in createResizeHandles()
45 AbstractItemResizeHandles *ResizeHandlesFactory::GetLineResizeHandles(AbstractAnnotationItem *item,… in GetLineResizeHandles()
54 AbstractItemResizeHandles *ResizeHandlesFactory::GetRectResizeHandles(AbstractAnnotationItem *item,… in GetRectResizeHandles()
63 AbstractItemResizeHandles *ResizeHandlesFactory::GetPointerRectResizeHandles(AbstractAnnotationItem in GetPointerRectResizeHandles()
72 AbstractItemResizeHandles *ResizeHandlesFactory::GetPathResizeHandles(AbstractAnnotationItem *item,… in GetPathResizeHandles()
/dports/graphics/kimageannotator/kImageAnnotator-0.5.3/tests/annotations/modifiers/
H A DAnnotationItemArrangerTest.cpp36 QList<AbstractAnnotationItem *> items; in TestBringToFront_Should_BringAllSelectedItemsToFront()
37 QList<AbstractAnnotationItem *> selectedItems; in TestBringToFront_Should_BringAllSelectedItemsToFront()
70 QList<AbstractAnnotationItem *> items; in TestBringForward_Should_MoveAllSelectedItemsOnePositionUp()
71 QList<AbstractAnnotationItem *> selectedItems; in TestBringForward_Should_MoveAllSelectedItemsOnePositionUp()
104 QList<AbstractAnnotationItem *> items; in TestSendBackward_Should_MoveAllSelectedItemsOnePositionBack()
105 QList<AbstractAnnotationItem *> selectedItems; in TestSendBackward_Should_MoveAllSelectedItemsOnePositionBack()
138 QList<AbstractAnnotationItem *> items; in TestSendToBack_Should_SendAllSelectedItemToBack()
139 QList<AbstractAnnotationItem *> selectedItems; in TestSendToBack_Should_SendAllSelectedItemToBack()
172 QList<AbstractAnnotationItem *> items; in TestAnnotationItemArranger_Should_SortAllItemsByZValue_When_PositionHaveBeenSwapped()
173 QList<AbstractAnnotationItem *> selectedItems; in TestAnnotationItemArranger_Should_SortAllItemsByZValue_When_PositionHaveBeenSwapped()
[all …]
H A DAnnotationMultiItemResizerTest.cpp30 QList<AbstractAnnotationItem *> items = { &item1 }; in TestGrabHandle_Should_GrabHandle_When_ProvidedPointIsAtHandlePosition()
46 QList<AbstractAnnotationItem *> items = { &item1 }; in TestGrabHandle_Should_NotGrabHandle_When_ProvidedPointIsNotAtHandlePosition()
63 QList<AbstractAnnotationItem *> items = { &item1 }; in TestGrabHandle_Should_MoveResizeHandle_When_HandleGrabbed()
86 QList<AbstractAnnotationItem *> items = { &item1, &item2 }; in TestGrabHandle_Should_OnlyMoveOneResizeHandle_When_MultipleItemsInList()
108 QList<AbstractAnnotationItem *> items = { &item1 }; in TestReleaseHandle_Should_ReleaseHandle()
122 QList<AbstractAnnotationItem *> items; in TestHasItemsAttached_Should_ReturnFalse_When_NoItemsInList()
138 QList<AbstractAnnotationItem *> items = { &item1 }; in TestHasItemsAttached_Should_ReturnTrue_When_ItemsInList()
154 QList<AbstractAnnotationItem *> items = { &item1 }; in TestUpdate_Should_HideResizers_When_ItemsOfResizersNotVisible()
H A DAnnotationItemSelectorTest.cpp31 QList<AbstractAnnotationItem *> items; in TestHandleSelectionRectAt_Should_SelectItem_When_ItemUnderProvidedPosition()
50 QList<AbstractAnnotationItem *> items; in TestHandleSelectionRectAt_Should_NotSelectItem_When_ItemNotUnderProvidedPosition()
74 QList<AbstractAnnotationItem *> items; in TestHandleSelectionRectAt_Should_UnselectAllItems_When_ProvidedPositionNotOverAnyItem()
102 QList<AbstractAnnotationItem *> items; in TestHandleSelectionRectAt_Should_NotUnselectAnyItem_When_ProvidedPositionIsOverSelectedItem()
130 QList<AbstractAnnotationItem *> items; in TestHandleSelectionRectAt_Should_UnselectItemsNotUnderPosition_When_ProvidedPositionIsOverNotSelectedItem()
157 QList<AbstractAnnotationItem *> items; in TestHandleSelectionRectAt_Should_NotShowRect_When_InitialPositionNotOnItem()
175 QList<AbstractAnnotationItem *> items; in TestHandleSelectionRectAt_Should_ShowRect_When_InitialPositionOnItem()
193 QList<AbstractAnnotationItem *> items; in TestHandleSelectionRectAt_Should_UnselectItem_When_WhenCtrlPressedAndItemUnderProvidedPositionWasSelected()
213 QList<AbstractAnnotationItem *> items; in TestHandleSelectionRectAt_Should_SelectItem_When_WhenCtrlPressedAndItemUnderProvidedPositionWasNotSelected()
238 QList<AbstractAnnotationItem *> items; in TestFinishSelectionRectWhenShown_Should_SelectItems_When_ItemsWithinSelectionRect()
[all …]
/dports/graphics/kimageannotator/kImageAnnotator-0.5.3/src/common/helper/
H A DItemHelper.h30 …static bool zValueGreaterThen(const AbstractAnnotationItem *item1, const AbstractAnnotationItem *i…
31 static void sortItemsByZValueDesc(QList<AbstractAnnotationItem *> *items);
H A DItemHelper.cpp24 bool ItemHelper::zValueGreaterThen(const AbstractAnnotationItem *item1, const AbstractAnnotationIte… in zValueGreaterThen()
29 void ItemHelper::sortItemsByZValueDesc(QList<AbstractAnnotationItem *> *items) in sortItemsByZValueDesc()
/dports/graphics/kimageannotator/kImageAnnotator-0.5.3/src/annotations/misc/
H A DNumberManager.h54 QList<AbstractAnnotationItem *> mItems;
57 void addItemInner(AbstractAnnotationItem *item);
58 void initItemNumber(AbstractAnnotationItem *item);

1234