summaryrefslogtreecommitdiffstats
path: root/doc/html/qwsdecoration.html
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-08 12:31:36 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-08 12:31:36 -0600
commitd796c9dd933ab96ec83b9a634feedd5d32e1ba3f (patch)
tree6e3dcca4f77e20ec8966c666aac7c35bd4704053 /doc/html/qwsdecoration.html
downloadtqt3-d796c9dd933ab96ec83b9a634feedd5d32e1ba3f.tar.gz
tqt3-d796c9dd933ab96ec83b9a634feedd5d32e1ba3f.zip
Test conversion to TQt3 from Qt3 8c6fc1f8e35fd264dd01c582ca5e7549b32ab731
Diffstat (limited to 'doc/html/qwsdecoration.html')
-rw-r--r--doc/html/qwsdecoration.html160
1 files changed, 160 insertions, 0 deletions
diff --git a/doc/html/qwsdecoration.html b/doc/html/qwsdecoration.html
new file mode 100644
index 000000000..d610ff285
--- /dev/null
+++ b/doc/html/qwsdecoration.html
@@ -0,0 +1,160 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/kernel/qwsdecoration_qws.cpp:44 -->
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>TQWSDecoration Class</title>
+<style type="text/css"><!--
+fn { margin-left: 1cm; text-indent: -1cm; }
+a:link { color: #004faf; text-decoration: none }
+a:visited { color: #672967; text-decoration: none }
+body { background: #ffffff; color: black; }
+--></style>
+</head>
+<body>
+
+<table border="0" cellpadding="0" cellspacing="0" width="100%">
+<tr bgcolor="#E5E5E5">
+<td valign=center>
+ <a href="index.html">
+<font color="#004faf">Home</font></a>
+ | <a href="classes.html">
+<font color="#004faf">All&nbsp;Classes</font></a>
+ | <a href="mainclasses.html">
+<font color="#004faf">Main&nbsp;Classes</font></a>
+ | <a href="annotated.html">
+<font color="#004faf">Annotated</font></a>
+ | <a href="groups.html">
+<font color="#004faf">Grouped&nbsp;Classes</font></a>
+ | <a href="functions.html">
+<font color="#004faf">Functions</font></a>
+</td>
+<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>TQWSDecoration Class Reference</h1>
+
+<p>The TQWSDecoration class allows the appearance of the TQt/Embedded Window
+Manager to be customized.
+<a href="#details">More...</a>
+<p><tt>#include &lt;<a href="qwsdecoration_qws-h.html">qwsdecoration_qws.h</a>&gt;</tt>
+<p><a href="qwsdecoration-members.html">List of all member functions.</a>
+<h2>Public Members</h2>
+<ul>
+<li class=fn><a href="#TQWSDecoration"><b>TQWSDecoration</b></a> ()</li>
+<li class=fn>virtual <a href="#~TQWSDecoration"><b>~TQWSDecoration</b></a> ()</li>
+<li class=fn>enum <a href="#Region-enum"><b>Region</b></a> { None = 0, All = 1, Title = 2, Top = 3, Bottom = 4, Left = 5, Right = 6, TopLeft = 7, TopRight = 8, BottomLeft = 9, BottomRight = 10, Close = 11, Minimize = 12, Maximize = 13, Normalize = 14, Menu = 15, LastRegion = Menu }</li>
+<li class=fn>virtual TQRegion <a href="#region"><b>region</b></a> ( const&nbsp;TQWidget&nbsp;*&nbsp;widget, const&nbsp;TQRect&nbsp;&amp;&nbsp;rect, Region&nbsp;type = All ) = 0</li>
+<li class=fn>virtual void <a href="#close"><b>close</b></a> ( TQWidget&nbsp;*&nbsp;widget )</li>
+<li class=fn>virtual void <a href="#minimize"><b>minimize</b></a> ( TQWidget&nbsp;*&nbsp;widget )</li>
+<li class=fn>virtual void <a href="#maximize"><b>maximize</b></a> ( TQWidget&nbsp;*&nbsp;widget )</li>
+<li class=fn>virtual TQPopupMenu * <a href="#menu"><b>menu</b></a> ( const TQWidget *, const TQPoint &amp; )</li>
+<li class=fn>virtual void <a href="#paint"><b>paint</b></a> ( TQPainter&nbsp;*&nbsp;painter, const&nbsp;TQWidget&nbsp;*&nbsp;widget ) = 0</li>
+<li class=fn>virtual void <a href="#paintButton"><b>paintButton</b></a> ( TQPainter&nbsp;*&nbsp;painter, const&nbsp;TQWidget&nbsp;*&nbsp;widget, Region&nbsp;type, int&nbsp;state ) = 0</li>
+</ul>
+<hr><a name="details"></a><h2>Detailed Description</h2>
+
+
+The TQWSDecoration class allows the appearance of the TQt/Embedded Window
+Manager to be customized.
+<p>
+<p> TQt/Embedded provides window management to top level windows. The
+appearance of the borders and buttons (the decoration) around the
+managed windows can be customized by creating your own class
+derived from TQWSDecoration and overriding a few methods.
+<p> This class is non-portable. It is available <em>only</em> in TQt/Embedded.
+<p> <p>See also <a href="qapplication.html#qwsSetDecoration">TQApplication::qwsSetDecoration</a>() and <a href="qws.html">TQt/Embedded</a>.
+
+<hr><h2>Member Type Documentation</h2>
+<h3 class=fn><a name="Region-enum"></a>TQWSDecoration::Region</h3>
+
+<p> This enum describes the regions in the window decorations.
+<ul>
+<li><tt>TQWSDecoration::None</tt> - used internally.
+<li><tt>TQWSDecoration::All</tt> - the entire region used by the window decoration.
+<li><tt>TQWSDecoration::Title</tt> - Displays the window title and allows the window to be
+moved by dragging.
+<li><tt>TQWSDecoration::Top</tt> - allows the top of the window to be resized.
+<li><tt>TQWSDecoration::Bottom</tt> - allows the bottom of the window to be resized.
+<li><tt>TQWSDecoration::Left</tt> - allows the left edge of the window to be resized.
+<li><tt>TQWSDecoration::Right</tt> - allows the right edge of the window to be resized.
+<li><tt>TQWSDecoration::TopLeft</tt> - allows the top-left of the window to be resized.
+<li><tt>TQWSDecoration::TopRight</tt> - allows the top-right of the window to be resized.
+<li><tt>TQWSDecoration::BottomLeft</tt> - allows the bottom-left of the window to be resized.
+<li><tt>TQWSDecoration::BottomRight</tt> - allows the bottom-right of the window to be resized.
+<li><tt>TQWSDecoration::Close</tt> - clicking in this region closes the window.
+<li><tt>TQWSDecoration::Minimize</tt> - clicking in this region minimizes the window.
+<li><tt>TQWSDecoration::Maximize</tt> - clicking in this region maximizes the window.
+<li><tt>TQWSDecoration::Normalize</tt> - returns a maximized window to its previous size.
+<li><tt>TQWSDecoration::Menu</tt> - clicking in this region opens the window operations
+(system) menu.
+</ul>
+<hr><h2>Member Function Documentation</h2>
+<h3 class=fn><a name="TQWSDecoration"></a>TQWSDecoration::TQWSDecoration ()
+</h3>
+
+<p> Constructs a decorator.
+
+<h3 class=fn><a name="~TQWSDecoration"></a>TQWSDecoration::~TQWSDecoration ()<tt> [virtual]</tt>
+</h3>
+
+<p> Destroys a decorator.
+
+<h3 class=fn>void <a name="close"></a>TQWSDecoration::close ( <a href="qwidget.html">TQWidget</a>&nbsp;*&nbsp;widget )<tt> [virtual]</tt>
+</h3>
+Called when the user clicks in the <a href="#Region-enum">Close</a> region.
+<p> <em>widget</em> is the widget to be closed.
+<p> The default behaviour is to close the widget.
+
+<h3 class=fn>void <a name="maximize"></a>TQWSDecoration::maximize ( <a href="qwidget.html">TQWidget</a>&nbsp;*&nbsp;widget )<tt> [virtual]</tt>
+</h3>
+Called when the user clicks in the <a href="#Region-enum">Maximize</a> region.
+<p> <em>widget</em> is the widget to be maximized.
+<p> The default behaviour is to resize the widget to be full-screen.
+This method can be overridden e.g. to allow room for launch
+panels.
+
+<h3 class=fn><a href="qpopupmenu.html">TQPopupMenu</a>&nbsp;* <a name="menu"></a>TQWSDecoration::menu ( const&nbsp;<a href="qwidget.html">TQWidget</a>&nbsp;*, const&nbsp;<a href="qpoint.html">TQPoint</a>&nbsp;&amp; )<tt> [virtual]</tt>
+</h3>
+Called to create a <a href="qpopupmenu.html">TQPopupMenu</a> containing the valid menu operations.
+<p> The default implementation adds all possible window operations.
+
+<h3 class=fn>void <a name="minimize"></a>TQWSDecoration::minimize ( <a href="qwidget.html">TQWidget</a>&nbsp;*&nbsp;widget )<tt> [virtual]</tt>
+</h3>
+Called when the user clicks in the <a href="#Region-enum">Minimize</a> region.
+<p> <em>widget</em> is the widget to be minimized.
+<p> The default behaviour is to ignore this action.
+
+<h3 class=fn>void <a name="paint"></a>TQWSDecoration::paint ( <a href="qpainter.html">TQPainter</a>&nbsp;*&nbsp;painter, const&nbsp;<a href="qwidget.html">TQWidget</a>&nbsp;*&nbsp;widget )<tt> [pure virtual]</tt>
+</h3>
+
+<p> Override to paint the border and title decoration around <em>widget</em>
+using <em>painter</em>.
+
+<h3 class=fn>void <a name="paintButton"></a>TQWSDecoration::paintButton ( <a href="qpainter.html">TQPainter</a>&nbsp;*&nbsp;painter, const&nbsp;<a href="qwidget.html">TQWidget</a>&nbsp;*&nbsp;widget, <a href="qwsdecoration.html#Region-enum">Region</a>&nbsp;type, int&nbsp;state )<tt> [pure virtual]</tt>
+</h3>
+
+<p> Override to paint a button of type <em>type</em> using <em>painter</em>.
+<p> <em>widget</em> is the widget whose button is to be drawn.
+<em>state</em> is the state of the button. It can be a combination of the
+following OR-ed together:
+<ul>
+<li> <tt>TQWSButton::MouseOver</tt>
+<li> <tt>TQWSButton::Clicked</tt>
+<li> <tt>TQWSButton::On</tt>
+</ul>
+
+<h3 class=fn><a href="qregion.html">TQRegion</a> <a name="region"></a>TQWSDecoration::region ( const&nbsp;<a href="qwidget.html">TQWidget</a>&nbsp;*&nbsp;widget, const&nbsp;<a href="qrect.html">TQRect</a>&nbsp;&amp;&nbsp;rect, <a href="qwsdecoration.html#Region-enum">Region</a>&nbsp;type = All )<tt> [pure virtual]</tt>
+</h3>
+
+<p> Returns the requested region <em>type</em> which will contain <em>widget</em>
+with geometry <em>rect</em>.
+
+<!-- eof -->
+<hr><p>
+This file is part of the <a href="index.html">TQt toolkit</a>.
+Copyright &copy; 1995-2007
+<a href="http://www.trolltech.com/">Trolltech</a>. All Rights Reserved.<p><address><hr><div align=center>
+<table width=100% cellspacing=0 border=0><tr>
+<td>Copyright &copy; 2007
+<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
+<td align=right><div align=right>TQt 3.3.8</div>
+</table></div></address></body>
+</html>