dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
MyTabbedStackWidget Class Reference

#include <mytabbedstackwidget.h>

Inheritance diagram for MyTabbedStackWidget:

Public Slots

void setCurrentIndex (int index)
 

Signals

void currentAboutToShow (int index, bool *proceed)
 
void currentChanged (int index)
 

Public Member Functions

 MyTabbedStackWidget (QWidget *parent=nullptr, bool isVertical=false, bool iconAbove=true)
 
void insertTab (int index, QWidget *tab, const QIcon &icon, const QString &label)
 
void removeTab (int index)
 
void setIconSize (int size)
 
int currentIndex () const
 
void insertCornerWidget (int index, QWidget *widget)
 
void setHidden (int index, bool hide)
 
QWidget * currentWidget ()
 
QWidget * getWidget (int index)
 

Detailed Description

Definition at line 45 of file mytabbedstackwidget.h.

Constructor & Destructor Documentation

MyTabbedStackWidget::MyTabbedStackWidget ( QWidget *  parent = nullptr,
bool  isVertical = false,
bool  iconAbove = true 
)

Definition at line 39 of file mytabbedstackwidget.cpp.

Member Function Documentation

void MyTabbedStackWidget::currentAboutToShow ( int  index,
bool *  proceed 
)
signal
void MyTabbedStackWidget::currentChanged ( int  index)
signal
int MyTabbedStackWidget::currentIndex ( ) const

Definition at line 113 of file mytabbedstackwidget.cpp.

QWidget* MyTabbedStackWidget::currentWidget ( )
inline

Definition at line 61 of file mytabbedstackwidget.h.

QWidget* MyTabbedStackWidget::getWidget ( int  index)
inline

Definition at line 62 of file mytabbedstackwidget.h.

void MyTabbedStackWidget::insertCornerWidget ( int  index,
QWidget *  widget 
)

Definition at line 140 of file mytabbedstackwidget.cpp.

void MyTabbedStackWidget::insertTab ( int  index,
QWidget *  tab,
const QIcon &  icon,
const QString &  label 
)

Definition at line 87 of file mytabbedstackwidget.cpp.

void MyTabbedStackWidget::removeTab ( int  index)

Definition at line 103 of file mytabbedstackwidget.cpp.

void MyTabbedStackWidget::setCurrentIndex ( int  index)
slot

Definition at line 118 of file mytabbedstackwidget.cpp.

void MyTabbedStackWidget::setHidden ( int  index,
bool  hide 
)

Definition at line 147 of file mytabbedstackwidget.cpp.

void MyTabbedStackWidget::setIconSize ( int  size)
inline

Definition at line 54 of file mytabbedstackwidget.h.


The documentation for this class was generated from the following files: