API Documentation
|
#include <SectionIconTab.h>
Public Slots | |
void | setIcon (const QIcon &icon) |
void | setTitle (const TranslatedString &title) |
void | contextMenu (const QPoint &point) |
void | onVisible (bool is_visible) |
void | updateClosedButton () |
void | updateFullscreenButton () |
void | updateMovable () |
void | updateShowTab () |
Public Member Functions | |
SectionIconTab (SectionContent *content, DockItem *widget) | |
void | init () |
virtual | ~SectionIconTab () |
void | setFlat (bool flat) |
void | setFloatingWidget (FloatingWidget *widget) override |
void | setSelected (bool is_selected) override |
void | paintEvent (QPaintEvent *) override |
void | resizeEvent (QResizeEvent *event) override |
void | setFullscreen (bool fullscreen) override |
QSize | sizeHint () const override |
QSize | minimumSizeHint () const override |
QIcon | getIcon () const override |
QColor | backgroundColor () |
virtual TranslatedString | getTitle () const override |
void | setBackgroundColor (QColor color) |
void | mouseDoubleClickEvent (QMouseEvent *e) override |
void | setIconID (const String &icon) |
bool | isDocked () |
void | setDocked (bool is_docked) override |
void | setLocation (RibbonArea area, bool is_docked) override |
Public Member Functions inherited from SectionTab | |
SectionTab (SectionContent *content, QWidget *parent) | |
virtual | ~SectionTab () |
bool | isActiveTab () const |
void | setActiveTab (bool active) |
void | setSectionContent (SectionContent *content) |
void | updateRoundedCorners () |
void | setRoundedCorners (int radius_tl, int radius_tr, int radius_bl, int radius_br) |
void | setIsShown (bool shown) |
bool | event (QEvent *event) override |
virtual bool | isMovable () const |
virtual bool | isShown () const |
Protected Member Functions | |
QPalette::ColorRole | preferredColorRoll () const |
void | updateBackgroundColor () |
bool | event (QEvent *event) override |
void | updateIconSizes () |
void | updateRoundedCorners () |
void | updateOpacity () |
Protected Member Functions inherited from SectionTab | |
virtual void | mousePressEvent (QMouseEvent *event) override |
virtual void | mouseReleaseEvent (QMouseEvent *ev) override |
virtual void | mouseMoveEvent (QMouseEvent *ev) override |
virtual void | leaveEvent (QEvent *event) override |
void | recieveCloseButtonClicked () |
void | recieveFullScreenButtonClicked () |
Protected Attributes | |
DockItem * | m_widget |
ImageView * | m_icon_label |
QCustomLabel * | m_title_label |
QPropertyAnimation * | m_color_animation |
Button * | m_close_button |
Button * | m_fullscreen_button |
RibbonArea | m_ribbon_area |
QGraphicsOpacityEffect * | m_opacity_effect |
bool | m_is_docked |
bool | m_is_flat |
bool | m_is_selected |
bool | m_is_hovering |
Protected Attributes inherited from SectionTab | |
bool | m_is_shown |
int | m_radius_tl = 0 |
int | m_radius_tr = 0 |
int | m_radius_bl = 0 |
int | m_radius_br = 0 |
SectionContent * | m_content |
FloatingWidget * | m_floating_widget |
QPointF | _dragStartPos |
QPointF | m_local_drag_pos |
bool | m_tab_moving |
bool | m_active_tab |
bool | m_is_fullscreen |
Properties | |
QColor | background_color |
Additional Inherited Members | |
Signals inherited from SectionTab | |
void | moveableUpdated (bool is_moveable) |
void | closableUpdated (bool is_moveable) |
void | fullscreenUpdated (bool is_moveable) |
void | isShownUpdated (bool is_shown) |
void | clickedSignal (SectionContent *content) |
void | closedSignal (SectionContent *content) |
void | fullscreenSignal (bool fullscreen) |
void | updateMoveableSignal () |
void | updateClosableSignal () |
void | activeTabChanged () |
|
explicit |
|
virtual |
QColor backgroundColor | ( | ) |
|
slot |
|
overrideprotected |
|
overridevirtual |
Reimplemented from SectionTab.
|
overridevirtual |
Reimplemented from SectionTab.
void init | ( | ) |
|
inline |
|
override |
|
override |
|
slot |
|
override |
|
protected |
|
override |
void setBackgroundColor | ( | QColor | color | ) |
|
inlineoverridevirtual |
Implements SectionTab.
void setFlat | ( | bool | flat | ) |
|
overridevirtual |
Reimplemented from SectionTab.
|
overridevirtual |
Reimplemented from SectionTab.
|
slot |
void setIconID | ( | const String & | icon | ) |
|
overridevirtual |
Implements SectionTab.
|
overridevirtual |
Implements SectionTab.
|
slot |
|
override |
|
protected |
|
slot |
|
slot |
|
protected |
|
slot |
|
protected |
|
protected |
|
slot |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
readwrite |