summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqframe.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqframe.3qt')
-rw-r--r--doc/man/man3/tqframe.3qt124
1 files changed, 62 insertions, 62 deletions
diff --git a/doc/man/man3/tqframe.3qt b/doc/man/man3/tqframe.3qt
index f491c8be..38a4cab4 100644
--- a/doc/man/man3/tqframe.3qt
+++ b/doc/man/man3/tqframe.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QFrame 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQFrame 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,18 +7,18 @@
.ad l
.nh
.SH NAME
-QFrame \- The base class of widgets that can have a frame
+TQFrame \- The base class of widgets that can have a frame
.SH SYNOPSIS
-\fC#include <ntqframe.h>\fR
+\fC#include <tqframe.h>\fR
.PP
Inherits TQWidget.
.PP
-Inherited by QGroupBox, TQScrollView, QDockWindow, QGrid, QHBox, TQLabel, TQLCDNumber, TQLineEdit, TQMenuBar, TQPopupMenu, QProgressBar, QSplitter, TQToolBox, and TQWidgetStack.
+Inherited by QGroupBox, TQScrollView, QDockWindow, TQGrid, QHBox, TQLabel, TQLCDNumber, TQLineEdit, TQMenuBar, TQPopupMenu, TQProgressBar, QSplitter, TQToolBox, and TQWidgetStack.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQFrame\fR ( TQWidget * parent = 0, const char * name = 0, WFlags f = 0 )"
+.BI "\fBTQFrame\fR ( TQWidget * parent = 0, const char * name = 0, WFlags f = 0 )"
.br
.ti -1c
.BI "int \fBframeStyle\fR () const"
@@ -121,28 +121,28 @@ Inherited by QGroupBox, TQScrollView, QDockWindow, QGrid, QHBox, TQLabel, TQLCDN
.br
.in -1c
.SH DESCRIPTION
-The QFrame class is the base class of widgets that can have a frame.
+The TQFrame class is the base class of widgets that can have a frame.
.PP
It draws a frame and calls a virtual function, drawContents(), to fill in the frame. This function is reimplemented by subclasses. There are also two other less useful functions: drawFrame() and frameChanged().
.PP
-TQPopupMenu uses this to "raise" the menu above the surrounding screen. QProgressBar has a "sunken" look. TQLabel has a flat look. The frames of widgets like these can be changed.
+TQPopupMenu uses this to "raise" the menu above the surrounding screen. TQProgressBar has a "sunken" look. TQLabel has a flat look. The frames of widgets like these can be changed.
.PP
.nf
.br
TQLabel label(...);
.br
- label.setFrameStyle( QFrame::Panel | QFrame::Raised );
+ label.setFrameStyle( TQFrame::Panel | TQFrame::Raised );
.br
label.setLineWidth( 2 );
.br
.br
- QProgressBar pbar(...);
+ TQProgressBar pbar(...);
.br
- label.setFrameStyle( QFrame::NoFrame );
+ label.setFrameStyle( TQFrame::NoFrame );
.br
.fi
.PP
-The QFrame class can also be used directly for creating simple frames without any contents, although usually you would use a QHBox or QVBox because they automatically lay out the widgets you put inside the frame.
+The TQFrame class can also be used directly for creating simple frames without any contents, although usually you would use a QHBox or QVBox because they automatically lay out the widgets you put inside the frame.
.PP
A frame widget has four attributes: frameStyle(), lineWidth(), midLineWidth(), and margin().
.PP
@@ -164,62 +164,62 @@ This table shows the most useful combinations of styles and widths (and some rat
.PP
See also Abstract Widget Classes.
.SS "Member Type Documentation"
-.SH "QFrame::Shadow"
-This enum type defines the 3D effect used for QFrame's frame.
+.SH "TQFrame::Shadow"
+This enum type defines the 3D effect used for TQFrame's frame.
.TP
-\fCQFrame::Plain\fR - the frame and contents appear level with the surroundings; draws using the palette foreground color (without any 3D effect)
+\fCTQFrame::Plain\fR - the frame and contents appear level with the surroundings; draws using the palette foreground color (without any 3D effect)
.TP
-\fCQFrame::Raised\fR - the frame and contents appear raised; draws a 3D raised line using the light and dark colors of the current color group
+\fCTQFrame::Raised\fR - the frame and contents appear raised; draws a 3D raised line using the light and dark colors of the current color group
.TP
-\fCQFrame::Sunken\fR - the frame and contents appear sunken; draws a 3D sunken line using the light and dark colors of the current color group
+\fCTQFrame::Sunken\fR - the frame and contents appear sunken; draws a 3D sunken line using the light and dark colors of the current color group
.TP
-\fCQFrame::MShadow\fR - internal; mask for the shadow
+\fCTQFrame::MShadow\fR - internal; mask for the shadow
.PP
-Shadow interacts with QFrame::Shape, the lineWidth() and the midLineWidth(). See the picture of the frames in the class description.
+Shadow interacts with TQFrame::Shape, the lineWidth() and the midLineWidth(). See the picture of the frames in the class description.
.PP
-See also QFrame::Shape, lineWidth, and midLineWidth.
-.SH "QFrame::Shape"
-This enum type defines the shapes of a QFrame's frame.
+See also TQFrame::Shape, lineWidth, and midLineWidth.
+.SH "TQFrame::Shape"
+This enum type defines the shapes of a TQFrame's frame.
.TP
-\fCQFrame::NoFrame\fR - QFrame draws nothing
+\fCTQFrame::NoFrame\fR - TQFrame draws nothing
.TP
-\fCQFrame::Box\fR - QFrame draws a box around its contents
+\fCTQFrame::Box\fR - TQFrame draws a box around its contents
.TP
-\fCQFrame::Panel\fR - QFrame draws a panel to make the contents appear raised or sunken
+\fCTQFrame::Panel\fR - TQFrame draws a panel to make the contents appear raised or sunken
.TP
-\fCQFrame::StyledPanel\fR - draws a rectangular panel with a look that depends on the current GUI style. It can be raised or sunken.
+\fCTQFrame::StyledPanel\fR - draws a rectangular panel with a look that depends on the current GUI style. It can be raised or sunken.
.TP
-\fCQFrame::HLine\fR - QFrame draws a horizontal line that frames nothing (useful as separator)
+\fCTQFrame::HLine\fR - TQFrame draws a horizontal line that frames nothing (useful as separator)
.TP
-\fCQFrame::VLine\fR - QFrame draws a vertical line that frames nothing (useful as separator)
+\fCTQFrame::VLine\fR - TQFrame draws a vertical line that frames nothing (useful as separator)
.TP
-\fCQFrame::GroupBoxPanel\fR - draws a rectangular panel
+\fCTQFrame::GroupBoxPanel\fR - draws a rectangular panel
.TP
-\fCQFrame::WinPanel\fR - draws a rectangular panel that can be raised or sunken like those in Windows 95. Specifying this shape sets the line width to 2 pixels. WinPanel is provided for compatibility. For GUI style independence we recommend using StyledPanel instead.
+\fCTQFrame::WinPanel\fR - draws a rectangular panel that can be raised or sunken like those in Windows 95. Specifying this shape sets the line width to 2 pixels. WinPanel is provided for compatibility. For GUI style independence we recommend using StyledPanel instead.
.TP
-\fCQFrame::ToolBarPanel\fR
+\fCTQFrame::ToolBarPanel\fR
.TP
-\fCQFrame::MenuBarPanel\fR
+\fCTQFrame::MenuBarPanel\fR
.TP
-\fCQFrame::PopupPanel\fR
+\fCTQFrame::PopupPanel\fR
.TP
-\fCQFrame::LineEditPanel\fR - is used to draw a frame suitable for line edits. The look depends upon the current GUI style.
+\fCTQFrame::LineEditPanel\fR - is used to draw a frame suitable for line edits. The look depends upon the current GUI style.
.TP
-\fCQFrame::TabWidgetPanel\fR - is used to draw a frame suitable for tab widgets. The look depends upon the current GUI style.
+\fCTQFrame::TabWidgetPanel\fR - is used to draw a frame suitable for tab widgets. The look depends upon the current GUI style.
.TP
-\fCQFrame::MShape\fR - internal mask
+\fCTQFrame::MShape\fR - internal mask
.PP
-When it does not call TQStyle, Shape interacts with QFrame::Shadow, the lineWidth() and the midLineWidth() to create the total result. See the picture of the frames in the class description.
+When it does not call TQStyle, Shape interacts with TQFrame::Shadow, the lineWidth() and the midLineWidth() to create the total result. See the picture of the frames in the class description.
.PP
-See also QFrame::Shadow, QFrame::style(), and TQStyle::drawPrimitive().
+See also TQFrame::Shadow, TQFrame::style(), and TQStyle::drawPrimitive().
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QFrame::QFrame ( TQWidget * parent = 0, const char * name = 0, WFlags f = 0 )"
+.SH "TQFrame::TQFrame ( TQWidget * parent = 0, const char * name = 0, WFlags f = 0 )"
Constructs a frame widget with frame style NoFrame and a 1-pixel frame width.
.PP
The \fIparent\fR, \fIname\fR and \fIf\fR arguments are passed to the TQWidget constructor.
-.SH "TQRect QFrame::contentsRect () const"
+.SH "TQRect TQFrame::contentsRect () const"
Returns the rectangle inside the frame. See the "contentsRect" property for details.
-.SH "void QFrame::drawContents ( TQPainter * )\fC [virtual protected]\fR"
+.SH "void TQFrame::drawContents ( TQPainter * )\fC [virtual protected]\fR"
Virtual function that draws the contents of the frame.
.PP
The TQPainter is already open when you get it, and you must leave it open. Painter transformations are switched off on entry. If you transform the painter, remember to take the frame into account and reset transformation before returning.
@@ -229,41 +229,41 @@ This function is reimplemented by subclasses that draw something inside the fram
See also contentsRect and TQPainter::setClipRect().
.PP
Reimplemented in TQLabel, TQLCDNumber, TQMenuBar, and TQPopupMenu.
-.SH "void QFrame::drawFrame ( TQPainter * p )\fC [virtual protected]\fR"
+.SH "void TQFrame::drawFrame ( TQPainter * p )\fC [virtual protected]\fR"
Draws the frame using the painter \fIp\fR and the current frame attributes and color group. The rectangle inside the frame is not affected.
.PP
This function is virtual, but in general you do not need to reimplement it. If you do, note that the TQPainter is already open and must remain open.
.PP
See also frameRect, contentsRect, drawContents(), frameStyle(), and palette.
-.SH "void QFrame::frameChanged ()\fC [virtual protected]\fR"
+.SH "void TQFrame::frameChanged ()\fC [virtual protected]\fR"
Virtual function that is called when the frame style, line width or mid-line width changes.
.PP
This function can be reimplemented by subclasses that need to know when the frame attributes change.
.PP
The default implementation calls update().
-.SH "TQRect QFrame::frameRect () const"
+.SH "TQRect TQFrame::frameRect () const"
Returns the frame rectangle. See the "frameRect" property for details.
-.SH "Shadow QFrame::frameShadow () const"
+.SH "Shadow TQFrame::frameShadow () const"
Returns the frame shadow value from the frame style. See the "frameShadow" property for details.
-.SH "Shape QFrame::frameShape () const"
+.SH "Shape TQFrame::frameShape () const"
Returns the frame shape value from the frame style. See the "frameShape" property for details.
-.SH "int QFrame::frameStyle () const"
+.SH "int TQFrame::frameStyle () const"
Returns the frame style.
.PP
-The default value is QFrame::NoFrame.
+The default value is TQFrame::NoFrame.
.PP
See also setFrameStyle(), frameShape, and frameShadow.
.PP
Example: scrollview/scrollview.cpp.
-.SH "int QFrame::frameWidth () const"
+.SH "int TQFrame::frameWidth () const"
Returns the width of the frame that is drawn. See the "frameWidth" property for details.
-.SH "int QFrame::lineWidth () const"
+.SH "int TQFrame::lineWidth () const"
Returns the line width. See the "lineWidth" property for details.
-.SH "int QFrame::margin () const"
+.SH "int TQFrame::margin () const"
Returns the width of the margin. See the "margin" property for details.
-.SH "int QFrame::midLineWidth () const"
+.SH "int TQFrame::midLineWidth () const"
Returns the width of the mid-line. See the "midLineWidth" property for details.
-.SH "void QFrame::paintEvent ( TQPaintEvent * event )\fC [virtual protected]\fR"
+.SH "void TQFrame::paintEvent ( TQPaintEvent * event )\fC [virtual protected]\fR"
Processes the paint event \fIevent\fR.
.PP
Paints the frame and the contents.
@@ -274,7 +274,7 @@ Examples:
.)l life/life.cpp and qfd/fontdisplayer.cpp.
.PP
Reimplemented from TQWidget.
-.SH "void QFrame::resizeEvent ( QResizeEvent * e )\fC [virtual protected]\fR"
+.SH "void TQFrame::resizeEvent ( QResizeEvent * e )\fC [virtual protected]\fR"
Processes the resize event \fIe\fR.
.PP
Adjusts the frame rectangle for the resized widget. The frame rectangle is elastic, and the surrounding area is static.
@@ -286,18 +286,18 @@ Nothing is done if the frame rectangle is a null rectangle already.
Example: life/life.cpp.
.PP
Reimplemented from TQWidget.
-.SH "void QFrame::setFrameRect ( const TQRect & )\fC [virtual]\fR"
+.SH "void TQFrame::setFrameRect ( const TQRect & )\fC [virtual]\fR"
Sets the frame rectangle. See the "frameRect" property for details.
-.SH "void QFrame::setFrameShadow ( Shadow )"
+.SH "void TQFrame::setFrameShadow ( Shadow )"
Sets the frame shadow value from the frame style. See the "frameShadow" property for details.
-.SH "void QFrame::setFrameShape ( Shape )"
+.SH "void TQFrame::setFrameShape ( Shape )"
Sets the frame shape value from the frame style. See the "frameShape" property for details.
-.SH "void QFrame::setFrameStyle ( int style )\fC [virtual]\fR"
+.SH "void TQFrame::setFrameStyle ( int style )\fC [virtual]\fR"
Sets the frame style to \fIstyle\fR.
.PP
The \fIstyle\fR is the bitwise OR between a frame shape and a frame shadow style. See the illustration in the class documentation.
.PP
-The frame shapes are given in QFrame::Shape and the shadow styles in QFrame::Shadow.
+The frame shapes are given in TQFrame::Shape and the shadow styles in TQFrame::Shadow.
.PP
If a mid-line width greater than 0 is specified, an additional line is drawn for Raised or Sunken Box, HLine, and VLine frames. The mid-color of the current color group is used for drawing middle lines.
.PP
@@ -305,11 +305,11 @@ See also Illustration, frameStyle(), colorGroup, and TQColorGroup.
.PP
Examples:
.)l cursor/cursor.cpp, layout/layout.cpp, listboxcombo/listboxcombo.cpp, rangecontrols/rangecontrols.cpp, scrollview/scrollview.cpp, tabdialog/tabdialog.cpp, and tictac/tictac.cpp.
-.SH "void QFrame::setLineWidth ( int )\fC [virtual]\fR"
+.SH "void TQFrame::setLineWidth ( int )\fC [virtual]\fR"
Sets the line width. See the "lineWidth" property for details.
-.SH "void QFrame::setMargin ( int )\fC [virtual]\fR"
+.SH "void TQFrame::setMargin ( int )\fC [virtual]\fR"
Sets the width of the margin. See the "margin" property for details.
-.SH "void QFrame::setMidLineWidth ( int )\fC [virtual]\fR"
+.SH "void TQFrame::setMidLineWidth ( int )\fC [virtual]\fR"
Sets the width of the mid-line. See the "midLineWidth" property for details.
.SS "Property Documentation"
.SH "TQRect contentsRect"
@@ -380,7 +380,7 @@ See also lineWidth and frameWidth.
Set this property's value with setMidLineWidth() and get this property's value with midLineWidth().
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqframe.html
+.BR http://doc.trolltech.com/tqframe.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the