• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

kcachegrind

Public Slots | Signals | Public Member Functions | Protected Member Functions | List of all members
TabView Class Reference

#include <tabview.h>

Inheritance diagram for TabView:
Inheritance graph
[legend]

Public Slots

void tabChanged (int)
 
void visibleRectChangedSlot (TabWidget *)
 

Signals

void tabActivated (TabView *)
 

Public Member Functions

 TabView (TraceItemView *parentView, QWidget *parent=0)
 
bool active () const
 
bool isViewVisible ()
 
void moveTab (QWidget *w, Position, bool wholeArea=false)
 
void restoreLayout (const QString &prefix, const QString &postfix)
 
void restoreOptions (const QString &prefix, const QString &postfix)
 
void saveLayout (const QString &prefix, const QString &postfix)
 
void saveOptions (const QString &prefix, const QString &postfix)
 
void selected (TraceItemView *, CostItem *)
 
void setActive (bool)
 
void setData (TraceData *)
 
Position tabPosition (QWidget *)
 
int visibleAreas ()
 
int visibleTabs ()
 
QString whatsThis () const
 
virtual QWidget * widget ()
 
- Public Member Functions inherited from TraceItemView
 TraceItemView (TraceItemView *parentView, TopLevelBase *top=0)
 
virtual ~TraceItemView ()
 
bool activate (CostItem *i)
 
virtual void activated (TraceItemView *sender, CostItem *)
 
TraceFunction * activeFunction ()
 
CostItem * activeItem () const
 
void addEventTypeMenu (QMenu *, bool withCost2=true)
 
void addGoMenu (QMenu *)
 
virtual CostItem * canShow (CostItem *i)
 
TraceData * data () const
 
virtual void directionActivated (TraceItemView *sender, Direction)
 
EventType * eventType () const
 
EventType * eventType2 () const
 
ProfileContext::Type groupType () const
 
void notifyChange (int changeType)
 
const TracePartList & partList () const
 
virtual void partsSelected (TraceItemView *sender, const TracePartList &)
 
Position position () const
 
void select (CostItem *i)
 
virtual void selectedEventType (TraceItemView *sender, EventType *)
 
virtual void selectedEventType2 (TraceItemView *sender, EventType *)
 
virtual void selectedGroupType (TraceItemView *sender, ProfileContext::Type)
 
CostItem * selectedItem () const
 
void set (ProfileContext::Type g)
 
void set (const TracePartList &l)
 
bool set (int, TraceData *, EventType *, EventType *, ProfileContext::Type, const TracePartList &, CostItem *, CostItem *)
 
void setEventType (EventType *t)
 
void setEventType2 (EventType *t)
 
void setMergeUpdates (bool b)
 
void setPosition (Position p)
 
void setTitle (QString t)
 
void setTopLevel (TopLevelBase *t)
 
int status () const
 
QString title () const
 
TopLevelBase * topLevel () const
 
void updateView (bool force=false)
 

Protected Member Functions

bool eventFilter (QObject *, QEvent *)
 
void mousePressEvent (QMouseEvent *)
 
void resizeEvent (QResizeEvent *)
 
- Protected Member Functions inherited from TraceItemView
void activated (CostItem *)
 
void directionActivated (TraceItemView::Direction)
 
void partsSelected (const TracePartList &)
 
void selected (CostItem *)
 
void selectedEventType (EventType *)
 
void selectedEventType2 (EventType *)
 
void selectedGroupType (ProfileContext::Type)
 

Additional Inherited Members

- Public Types inherited from TraceItemView
enum  {
  nothingChanged = 0, eventTypeChanged = 1, eventType2Changed = 2, groupTypeChanged = 4,
  partsChanged = 8, activeItemChanged = 16, selectedItemChanged = 32, dataChanged = 64,
  configChanged = 128
}
 
enum  Direction { None, Back, Forward, Up }
 
enum  Position {
  Hidden, Top, Right, Left,
  Bottom
}
 
- Protected Attributes inherited from TraceItemView
CostItem * _activeItem
 
TraceData * _data
 
EventType * _eventType
 
EventType * _eventType2
 
ProfileContext::Type _groupType
 
TraceItemView * _parentView
 
TracePartList _partList
 
CostItem * _selectedItem
 
TopLevelBase * _topLevel
 

Detailed Description

Definition at line 115 of file tabview.h.

Constructor & Destructor Documentation

TabView::TabView ( TraceItemView *  parentView,
QWidget *  parent = 0 
)
explicit

Definition at line 304 of file tabview.cpp.

Member Function Documentation

bool TabView::active ( ) const
inline

Definition at line 129 of file tabview.h.

bool TabView::eventFilter ( QObject *  o,
QEvent *  e 
)
protected

Definition at line 692 of file tabview.cpp.

bool TabView::isViewVisible ( )
inlinevirtual

Reimplemented from TraceItemView.

Definition at line 127 of file tabview.h.

void TabView::mousePressEvent ( QMouseEvent *  )
protected

Definition at line 701 of file tabview.cpp.

void TabView::moveTab ( QWidget *  w,
Position  p,
bool  wholeArea = false 
)

Rearrange tabs if <w> == 0, move hidden tabs.

Definition at line 600 of file tabview.cpp.

void TabView::resizeEvent ( QResizeEvent *  e)
protected

Definition at line 794 of file tabview.cpp.

void TabView::restoreLayout ( const QString &  prefix,
const QString &  postfix 
)
virtual

Reimplemented from TraceItemView.

Definition at line 820 of file tabview.cpp.

void TabView::restoreOptions ( const QString &  prefix,
const QString &  postfix 
)
virtual

Reimplemented from TraceItemView.

Definition at line 984 of file tabview.cpp.

void TabView::saveLayout ( const QString &  prefix,
const QString &  postfix 
)
virtual

Reimplemented from TraceItemView.

Definition at line 903 of file tabview.cpp.

void TabView::saveOptions ( const QString &  prefix,
const QString &  postfix 
)
virtual

Reimplemented from TraceItemView.

Definition at line 1017 of file tabview.cpp.

void TabView::selected ( TraceItemView *  sender,
CostItem *  i 
)
virtual

Notification from child views.

Default implementation notifies parent

Reimplemented from TraceItemView.

Definition at line 811 of file tabview.cpp.

void TabView::setActive ( bool  a)

Definition at line 708 of file tabview.cpp.

void TabView::setData ( TraceData *  d)
virtual

Reimplemented from TraceItemView.

Definition at line 435 of file tabview.cpp.

void TabView::tabActivated ( TabView *  )
signal
void TabView::tabChanged ( int  i)
slot

Definition at line 775 of file tabview.cpp.

TraceItemView::Position TabView::tabPosition ( QWidget *  w)

Definition at line 462 of file tabview.cpp.

int TabView::visibleAreas ( )

Definition at line 509 of file tabview.cpp.

void TabView::visibleRectChangedSlot ( TabWidget *  tw)
slot

Definition at line 785 of file tabview.cpp.

int TabView::visibleTabs ( )

Definition at line 470 of file tabview.cpp.

QString TabView::whatsThis ( ) const
virtual

Reimplemented from TraceItemView.

Definition at line 652 of file tabview.cpp.

virtual QWidget* TabView::widget ( )
inlinevirtual

Implements TraceItemView.

Definition at line 124 of file tabview.h.


The documentation for this class was generated from the following files:
  • tabview.h
  • tabview.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:03:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kcachegrind

Skip menu "kcachegrind"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal