• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeui
 

tdeui

  • tdeui
ktabctl.h
1/* This file is part of the KDE libraries
2 Copyright (C) 1997 Alexander Sanda (alex@darkstar.ping.at)
3
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public
6 License as published by the Free Software Foundation; either
7 version 2 of the License, or (at your option) any later version.
8
9 This library 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 GNU
12 Library General Public License for more details.
13
14 You should have received a copy of the GNU Library General Public License
15 along with this library; see the file COPYING.LIB. If not, write to
16 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 Boston, MA 02110-1301, USA.
18*/
19/*
20 * $Id$
21*/
22
23#ifndef KTABCTL_H
24#define KTABCTL_H
25
26#include <tqwidget.h>
27#include <tqtabbar.h>
28#include <tqmemarray.h>
29
30#include <tdelibs_export.h>
31
48class TDEUI_EXPORT KTabCtl : public TQWidget
49{
50 TQ_OBJECT
51
52public:
53 KTabCtl(TQWidget *parent = 0, const char *name = 0);
54 ~KTabCtl();
55
56 void show();
57 void setFont(const TQFont & font);
58 void setTabFont( const TQFont &font );
59
60 void addTab(TQWidget *, const TQString&);
61 bool isTabEnabled(const TQString& );
62 void setTabEnabled(const TQString&, bool);
63 void setBorder(bool);
64 void setShape( TQTabBar::Shape shape );
65 virtual TQSize sizeHint() const;
66
67protected:
68 void paintEvent(TQPaintEvent *);
69 void resizeEvent(TQResizeEvent *);
70
71signals:
72 void tabSelected(int);
73
74protected slots:
75 void showTab(int i);
76
77protected:
78 void setSizes();
79 TQRect getChildRect() const;
80
81 TQTabBar * tabs;
82 TQMemArray<TQWidget *> pages;
83 int bh;
84 bool blBorder;
85protected:
86 virtual void virtual_hook( int id, void* data );
87private:
88 class KTabCtrlPrivate* d;
89};
90#endif
KTabCtl
Tabbed dialog with extended features.
Definition: ktabctl.h:49

tdeui

Skip menu "tdeui"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

tdeui

Skip menu "tdeui"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeui by doxygen 1.9.4
This website is maintained by Timothy Pearson.