From 1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 20 Jul 2024 20:15:52 +0900 Subject: Rename graphics class nt* related files to equivalent tq* (part 2) Signed-off-by: Michele Calgaro --- doc/html/tqstyle.html | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'doc/html/tqstyle.html') diff --git a/doc/html/tqstyle.html b/doc/html/tqstyle.html index 00b28f2c4..f281fdcd2 100644 --- a/doc/html/tqstyle.html +++ b/doc/html/tqstyle.html @@ -650,7 +650,7 @@ Destroys the style and frees all allocated resources. This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code.

-

void TQStyle::drawComplexControl ( ComplexControl control, TQPainter * p, const TQWidget * widget, const TQRect & r, const TQColorGroup & cg, SFlags how = Style_Default, SCFlags sub = SC_All, SCFlags subActive = SC_None, const TQStyleOption & opt = TQStyleOption::Default ) const [pure virtual] +

void TQStyle::drawComplexControl ( ComplexControl control, TQPainter * p, const TQWidget * widget, const TQRect & r, const TQColorGroup & cg, SFlags how = Style_Default, SCFlags sub = SC_All, SCFlags subActive = SC_None, const TQStyleOption & opt = TQStyleOption::Default ) const [pure virtual]

Draws the ComplexControl control using the painter p in the @@ -729,7 +729,7 @@ contain the mouse when auto-raise is enabled.

See also ComplexControl and SubControl. -

void TQStyle::drawComplexControlMask ( ComplexControl control, TQPainter * p, const TQWidget * widget, const TQRect & r, const TQStyleOption & opt = TQStyleOption::Default ) const [pure virtual] +

void TQStyle::drawComplexControlMask ( ComplexControl control, TQPainter * p, const TQWidget * widget, const TQRect & r, const TQStyleOption & opt = TQStyleOption::Default ) const [pure virtual]

Draw a bitmask for the ComplexControl control using the painter @@ -741,7 +741,7 @@ corrdinates into screen coordinates when using drawPrim drawControl().

See also drawComplexControl() and ComplexControl. -

void TQStyle::drawControl ( ControlElement element, TQPainter * p, const TQWidget * widget, const TQRect & r, const TQColorGroup & cg, SFlags how = Style_Default, const TQStyleOption & opt = TQStyleOption::Default ) const [pure virtual] +

void TQStyle::drawControl ( ControlElement element, TQPainter * p, const TQWidget * widget, const TQRect & r, const TQColorGroup & cg, SFlags how = Style_Default, const TQStyleOption & opt = TQStyleOption::Default ) const [pure virtual]

Draws the ControlElement element using the painter p in the @@ -866,7 +866,7 @@ contain the mouse when auto-raise is enabled.

See also ControlElement and StyleFlags. -

void TQStyle::drawControlMask ( ControlElement element, TQPainter * p, const TQWidget * widget, const TQRect & r, const TQStyleOption & opt = TQStyleOption::Default ) const [pure virtual] +

void TQStyle::drawControlMask ( ControlElement element, TQPainter * p, const TQWidget * widget, const TQRect & r, const TQStyleOption & opt = TQStyleOption::Default ) const [pure virtual]

Draw a bitmask for the ControlElement element using the painter @@ -875,7 +875,7 @@ use of the widget and opt arguments.

The rect r should be in screen coordinates.

See also drawControl() and ControlElement. -

void TQStyle::drawItem ( TQPainter * p, const TQRect & r, int flags, const TQColorGroup & g, bool enabled, const TQPixmap * pixmap, const TQString & text, int len = -1, const TQColor * penColor = 0 ) const [virtual] +

void TQStyle::drawItem ( TQPainter * p, const TQRect & r, int flags, const TQColorGroup & g, bool enabled, const TQPixmap * pixmap, const TQString & text, int len = -1, const TQColor * penColor = 0 ) const [virtual]

Draws the text or pixmap in rectangle r using painter p and color group g. The pen color is specified with penColor. The enabled bool indicates whether or not the item is enabled; when reimplementing this bool should influence how the @@ -886,7 +886,7 @@ drawn. The text is aligned and wrapped according to the alignment

By default, if both the text and the pixmap are not null, the pixmap is drawn and the text is ignored. -

void TQStyle::drawPrimitive ( PrimitiveElement pe, TQPainter * p, const TQRect & r, const TQColorGroup & cg, SFlags flags = Style_Default, const TQStyleOption & opt = TQStyleOption::Default ) const [pure virtual] +

void TQStyle::drawPrimitive ( PrimitiveElement pe, TQPainter * p, const TQRect & r, const TQColorGroup & cg, SFlags flags = Style_Default, const TQStyleOption & opt = TQStyleOption::Default ) const [pure virtual]

Draws the style PrimitiveElement pe using the painter p in @@ -958,7 +958,7 @@ for the group box.

See also StyleFlags.

Example: themes/wood.cpp. -

TQRect TQStyle::itemRect ( TQPainter * p, const TQRect & r, int flags, bool enabled, const TQPixmap * pixmap, const TQString & text, int len = -1 ) const [virtual] +

TQRect TQStyle::itemRect ( TQPainter * p, const TQRect & r, int flags, bool enabled, const TQPixmap * pixmap, const TQString & text, int len = -1 ) const [virtual]

Returns the appropriate area (see below) within rectangle r in which to draw the text or pixmap using painter p. If len is -1 (the default) all the text is drawn; otherwise only @@ -1023,13 +1023,13 @@ This is an overloaded member function, provided for convenience. It behaves esse

Late initialization of the TQApplication object.

See also unPolish(). -

void TQStyle::polish ( TQPalette & ) [virtual] +

void TQStyle::polish ( TQPalette & ) [virtual]

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

The style may have certain requirements for color palettes. In this function it has the chance to change the palette according to these requirements. -

See also TQPalette and TQApplication::setPalette(). +

See also TQPalette and TQApplication::setPalette().

void TQStyle::polishPopupMenu ( TQPopupMenu * ) [pure virtual]

@@ -1038,7 +1038,7 @@ means setting the mouse tracking (TQPopupMenu::setMouseTracking()) and whether the menu is checkable by default (TQPopupMenu::setCheckable()). -

SubControl TQStyle::querySubControl ( ComplexControl control, const TQWidget * widget, const TQPoint & pos, const TQStyleOption & opt = TQStyleOption::Default ) const [pure virtual] +

SubControl TQStyle::querySubControl ( ComplexControl control, const TQWidget * widget, const TQPoint & pos, const TQStyleOption & opt = TQStyleOption::Default ) const [pure virtual]

Returns the SubControl for widget at the point pos. The widget argument is a pointer to a TQWidget or one of its @@ -1054,7 +1054,7 @@ for an explanation of the widget and opt arguments. coordinates.

See also drawComplexControl(), ComplexControl, SubControl, and querySubControlMetrics(). -

TQRect TQStyle::querySubControlMetrics ( ComplexControl control, const TQWidget * widget, SubControl subcontrol, const TQStyleOption & opt = TQStyleOption::Default ) const [pure virtual] +

TQRect TQStyle::querySubControlMetrics ( ComplexControl control, const TQWidget * widget, SubControl subcontrol, const TQStyleOption & opt = TQStyleOption::Default ) const [pure virtual]

Returns the rect for the SubControl subcontrol for widget in @@ -1110,7 +1110,7 @@ TQMenuItem is currently an internal class. allow for future enhancements.

For an explanation of the return value see StyleHint. -

TQPixmap TQStyle::stylePixmap ( StylePixmap stylepixmap, const TQWidget * widget = 0, const TQStyleOption & opt = TQStyleOption::Default ) const [pure virtual] +

TQPixmap TQStyle::stylePixmap ( StylePixmap stylepixmap, const TQWidget * widget = 0, const TQStyleOption & opt = TQStyleOption::Default ) const [pure virtual]

Returns a pixmap for stylepixmap. @@ -1134,7 +1134,7 @@ appropriate widget casts:

See also StylePixmap. -

TQRect TQStyle::subRect ( SubRect subrect, const TQWidget * widget ) const [pure virtual] +

TQRect TQStyle::subRect ( SubRect subrect, const TQWidget * widget ) const [pure virtual]

Returns the sub-area subrect for the widget in logical @@ -1190,7 +1190,7 @@ This is an overloaded member function, provided for convenience. It behaves esse

Undoes the application polish.

See also polish(). -

TQRect TQStyle::visualRect ( const TQRect & logical, const TQWidget * w ) [static] +

TQRect TQStyle::visualRect ( const TQRect & logical, const TQWidget * w ) [static]

Returns the rect logical in screen coordinates. The bounding @@ -1199,7 +1199,7 @@ function is provided to aid style implementors in supporting right-to-left mode.

See also TQApplication::reverseLayout(). -

TQRect TQStyle::visualRect ( const TQRect & logical, const TQRect & bounding ) [static] +

TQRect TQStyle::visualRect ( const TQRect & logical, const TQRect & bounding ) [static]

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Returns the rect logical in screen coordinates. The rect bounding is used to perform the translation. This function is -- cgit v1.2.1