Qucs-GUI
0.0.18
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
qucs
dialogs
vtabwidget.h
Go to the documentation of this file.
1
/***************************************************************************
2
* Copyright (C) 2006 by Gopala Krishna A <krishna.ggk@gmail.com> *
3
* *
4
* This is free software; you can redistribute it and/or modify *
5
* it under the terms of the GNU General Public License as published by *
6
* the Free Software Foundation; either version 2, or (at your option) *
7
* any later version. *
8
* *
9
* This software is distributed in the hope that it will be useful, *
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12
* GNU General Public License for more details. *
13
* *
14
* You should have received a copy of the GNU General Public License *
15
* along with this package; see the file COPYING. If not, write to *
16
* the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, *
17
* Boston, MA 02110-1301, USA. *
18
***************************************************************************/
19
20
#ifndef VERTICALTABWIDGET_H
21
#define VERTICALTABWIDGET_H
22
23
#include "
vtabglobal.h
"
24
#include <QWidget>
25
26
class
Q3WidgetStack;
27
class
VTabBar
;
28
32
class
VTabWidget
:
public
QWidget,
public
VTabInterface
33
{
34
Q_OBJECT
35
public
:
36
VTabWidget
(
VTabPosition
p =
TabLeft
,QWidget* parent=0l,
const
char
* name=0l);
37
38
virtual
~VTabWidget
();
39
virtual
QSize
sizeHint
()
const
;
40
void
addPage
(QWidget *w,
const
QString& tabCap);
41
42
QWidget*
page
(
int
id
);
43
QWidget*
currentPage
();
44
void
setTabToolTip
(
int
id
,
const
QString &tip);
45
void
removePage
(QWidget *w);
46
void
removePage
(
int
id
);
47
int
id
(QWidget *w);
48
49
public
slots:
50
void
setPosition
(
VTabPosition
p);
51
void
setCurrentPage
(
int
id
);
52
void
setCurrentPage
(QWidget *w);
53
54
signals:
55
void
widgetStackShown
();
56
void
widgetStackHidden
();
57
void
activatedPage
(QWidget *w);
58
59
private
:
60
VTabPosition
m_position
;
61
VTabBar
*
m_bar
;
62
Q3WidgetStack*
m_wStack
;
63
int
m_autoIndexer
;
64
65
};
66
67
#endif
VTabWidget::widgetStackShown
void widgetStackShown()
VTabInterface::VTabPosition
VTabPosition
Definition:
vtabglobal.h:26
VTabWidget::setTabToolTip
void setTabToolTip(int id, const QString &tip)
Definition:
vtabwidget.cpp:68
VTabWidget::m_position
VTabPosition m_position
Definition:
vtabwidget.h:60
VTabWidget::activatedPage
void activatedPage(QWidget *w)
VTabWidget::m_bar
VTabBar * m_bar
Definition:
vtabwidget.h:61
VTabInterface
Definition:
vtabglobal.h:23
VTabWidget::widgetStackHidden
void widgetStackHidden()
VTabWidget
Definition:
vtabwidget.h:32
VTabWidget::m_autoIndexer
int m_autoIndexer
Definition:
vtabwidget.h:63
VTabWidget::setCurrentPage
void setCurrentPage(int id)
Definition:
vtabwidget.cpp:106
VTabInterface::TabLeft
Definition:
vtabglobal.h:28
VTabWidget::currentPage
QWidget * currentPage()
Definition:
vtabwidget.cpp:61
VTabWidget::id
int id(QWidget *w)
Definition:
vtabwidget.cpp:90
VTabWidget::~VTabWidget
virtual ~VTabWidget()
Definition:
vtabwidget.cpp:46
VTabWidget::page
QWidget * page(int id)
Definition:
vtabwidget.cpp:56
VTabWidget::sizeHint
virtual QSize sizeHint() const
Definition:
vtabwidget.cpp:95
VTabBar
Definition:
vtabbar.h:36
VTabWidget::setPosition
void setPosition(VTabPosition p)
Definition:
vtabwidget.cpp:139
vtabglobal.h
VTabWidget::removePage
void removePage(QWidget *w)
Definition:
vtabwidget.cpp:73
VTabWidget::VTabWidget
VTabWidget(VTabPosition p=TabLeft, QWidget *parent=0l, const char *name=0l)
Definition:
vtabwidget.cpp:29
VTabWidget::m_wStack
Q3WidgetStack * m_wStack
Definition:
vtabwidget.h:62
VTabWidget::addPage
void addPage(QWidget *w, const QString &tabCap)
Definition:
vtabwidget.cpp:49
Generated on Mon Sep 1 2014 20:05:21 for Qucs-GUI by
1.8.6