|
Krita Source Code Documentation
|
#include <StoryboardView.h>
Inheritance diagram for StoryboardView:Public Member Functions | |
| bool | commentIsVisible () const |
| QModelIndex | indexAt (const QPoint &point) const override |
| Qt::Orientation | itemOrientation () |
| whether Comments are below or on the right of Thumbnail | |
| void | mouseReleaseEvent (QMouseEvent *event) override |
| void | paintEvent (QPaintEvent *event) override |
| void | setCommentVisibility (bool value) |
| Sets the visibility of comments. | |
| void | setCurrentItem (int frame) |
changes the currentIndex and selectedIndex to frame | |
| void | setItemOrientation (Qt::Orientation orientation) |
| void | setThumbnailVisibility (bool value) |
| Sets the visibility of thumbnails. | |
| QSize | sizeHint () const override |
| StoryboardView (QWidget *parent=0) | |
| bool | thumbnailIsVisible () const |
| QRect | visualRect (const QModelIndex &index) const override |
| ~StoryboardView () override | |
Private Slots | |
| void | slotContextMenuRequested (const QPoint &) |
| void | slotItemClicked (const QModelIndex &clicked) |
Private Attributes | |
| bool | m_commentIsVisible |
| Qt::Orientation | m_itemOrientation |
| bool | m_thumbnailIsVisible |
This view draws the children of every index in the first column of the model inside the parent index
Definition at line 23 of file StoryboardView.h.
|
explicit |
This view draws the children of every index in the first column of the model inside the parent
Definition at line 67 of file StoryboardView.cpp.
References connect(), slotContextMenuRequested(), and slotItemClicked().
|
override |
Definition at line 99 of file StoryboardView.cpp.
| bool StoryboardView::commentIsVisible | ( | ) | const |
Definition at line 260 of file StoryboardView.cpp.
References m_commentIsVisible.
|
override |
Definition at line 234 of file StoryboardView.cpp.
References visualRect().
| Qt::Orientation StoryboardView::itemOrientation | ( | ) |
whether Comments are below or on the right of Thumbnail
Definition at line 255 of file StoryboardView.cpp.
References m_itemOrientation.
|
override |
Definition at line 337 of file StoryboardView.cpp.
References StoryboardItem::FrameNumber, indexAt(), StoryboardDelegate::isOverlappingActionIcons(), and visualRect().
|
override |
Definition at line 102 of file StoryboardView.cpp.
References visualRect().
| void StoryboardView::setCommentVisibility | ( | bool | value | ) |
Sets the visibility of comments.
| value | The new visibility value |
Definition at line 270 of file StoryboardView.cpp.
References m_commentIsVisible, and value().
| void StoryboardView::setCurrentItem | ( | int | frame | ) |
changes the currentIndex and selectedIndex to frame
| frame | The new current frame |
Definition at line 324 of file StoryboardView.cpp.
References StoryboardModel::indexFromFrame(), and KIS_SAFE_ASSERT_RECOVER_RETURN.
| void StoryboardView::setItemOrientation | ( | Qt::Orientation | orientation | ) |
Definition at line 250 of file StoryboardView.cpp.
References m_itemOrientation.
| void StoryboardView::setThumbnailVisibility | ( | bool | value | ) |
Sets the visibility of thumbnails.
| value | The new visibility value |
Definition at line 275 of file StoryboardView.cpp.
References m_thumbnailIsVisible, and value().
|
override |
Definition at line 353 of file StoryboardView.cpp.
References StoryboardModel::visibleCommentCount().
|
privateslot |
Definition at line 280 of file StoryboardView.cpp.
References StoryboardModel::getData(), indexAt(), StoryboardModel::insertItem(), StoryboardModel::pushUndoCommand(), KisDuplicateStoryboardCommand::redo(), and StoryboardModel::removeItem().
|
privateslot |
Definition at line 315 of file StoryboardView.cpp.
References StoryboardModel::visualizeScene().
| bool StoryboardView::thumbnailIsVisible | ( | ) | const |
Definition at line 265 of file StoryboardView.cpp.
References m_thumbnailIsVisible.
|
override |
Definition at line 132 of file StoryboardView.cpp.
References commentIsVisible(), StoryboardItem::DurationFrame, StoryboardItem::DurationSecond, StoryboardItem::FrameNumber, StoryboardItem::ItemName, KIS_SAFE_ASSERT_RECOVER_RETURN_VALUE, m_itemOrientation, thumbnailIsVisible(), StoryboardModel::visibleCommentCount(), StoryboardModel::visibleCommentsUpto(), and visualRect().
|
private |
Definition at line 81 of file StoryboardView.h.
|
private |
Definition at line 80 of file StoryboardView.h.
|
private |
Definition at line 82 of file StoryboardView.h.