Qucs-GUI  0.0.18
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Slots | Signals | Public Member Functions | Private Slots | Private Attributes
VTabBar Class Reference

#include <vtabbar.h>

Inheritance diagram for VTabBar:
VTabInterface

Public Slots

void setCurrentTab (VTab *tab)
 
void setCurrentTab (int id)
 
void setPosition (VTabPosition p_pos)
 
void switchOffAllTabs ()
 

Signals

void activatedTab (int p_id)
 
void activatedTab (VTab *tab)
 
void allTabsOff ()
 

Public Member Functions

 VTabBar (VTabPosition p=TabLeft, QWidget *parent=0l, const char *name=0l)
 
virtual ~VTabBar ()
 
VTabaddTab (const QString &caption, int id=-1)
 
VTabfindTab (int id)
 
void setTabToolTip (VTab *tab, const QString &tip)
 
void setTabToolTip (int id, const QString &tip)
 
void removeTab (VTab *tab)
 
void removeTab (int id)
 
bool isAllTabsOff ()
 

Private Slots

void setTabState (int p_id, bool state)
 

Private Attributes

int m_index
 
bool m_tabsOff
 
VTabPosition m_position
 
Q3VBoxLayout * m_layout
 
Q3PtrList< VTabm_tabs
 

Additional Inherited Members

- Public Types inherited from VTabInterface
enum  VTabPosition { TabLeft, TabRight }
 

Detailed Description

Author
Gopala Krishna A krish.nosp@m.na.g.nosp@m.gk@gm.nosp@m.ail..nosp@m.com

Definition at line 36 of file vtabbar.h.

Constructor & Destructor Documentation

VTabBar::VTabBar ( VTabPosition  p = TabLeft,
QWidget *  parent = 0l,
const char *  name = 0l 
)

Definition at line 28 of file vtabbar.cpp.

VTabBar::~VTabBar ( )
virtual

Definition at line 39 of file vtabbar.cpp.

Member Function Documentation

void VTabBar::activatedTab ( int  p_id)
signal
void VTabBar::activatedTab ( VTab tab)
signal
VTab * VTabBar::addTab ( const QString &  caption,
int  id = -1 
)

Definition at line 42 of file vtabbar.cpp.

void VTabBar::allTabsOff ( )
signal
VTab * VTabBar::findTab ( int  id)

Definition at line 54 of file vtabbar.cpp.

bool VTabBar::isAllTabsOff ( )

Definition at line 144 of file vtabbar.cpp.

void VTabBar::removeTab ( VTab tab)

Definition at line 77 of file vtabbar.cpp.

void VTabBar::removeTab ( int  id)

Definition at line 91 of file vtabbar.cpp.

void VTabBar::setCurrentTab ( VTab tab)
slot

Definition at line 105 of file vtabbar.cpp.

void VTabBar::setCurrentTab ( int  id)
slot

Definition at line 110 of file vtabbar.cpp.

void VTabBar::setPosition ( VTabPosition  p_pos)
slot

Definition at line 162 of file vtabbar.cpp.

void VTabBar::setTabState ( int  p_id,
bool  state 
)
privateslot

Definition at line 115 of file vtabbar.cpp.

void VTabBar::setTabToolTip ( VTab tab,
const QString &  tip 
)

Definition at line 65 of file vtabbar.cpp.

void VTabBar::setTabToolTip ( int  id,
const QString &  tip 
)

Definition at line 70 of file vtabbar.cpp.

void VTabBar::switchOffAllTabs ( )
slot

Definition at line 149 of file vtabbar.cpp.

Field Documentation

int VTabBar::m_index
private

Definition at line 68 of file vtabbar.h.

Q3VBoxLayout* VTabBar::m_layout
private

Definition at line 71 of file vtabbar.h.

VTabPosition VTabBar::m_position
private

Definition at line 70 of file vtabbar.h.

Q3PtrList<VTab> VTabBar::m_tabs
private

Definition at line 72 of file vtabbar.h.

bool VTabBar::m_tabsOff
private

Definition at line 69 of file vtabbar.h.


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