<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US"> <head> <title>kmdi: KMdi Namespace Reference (kmdi)</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" comment "ICRAonline DE v2.0" l gen true for "http://www.kde.org" r (nz 1 vz 1 lz 1 oz 1 cb 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.kde.org" r (n 0 s 0 v 0 l 0))' /> <meta name="trademark" content="KDE e.V." /> <meta name="description" content="K Desktop Environment Homepage, KDE.org" /> <meta name="MSSmartTagsPreventParsing" content="true" /> <meta name="robots" content="all" /> <link rel="shortcut icon" href="../../favicon.ico" /> <link rel="stylesheet" media="screen" type="text/css" title="APIDOX" href="doxygen.css" /> </head> <body> <div id="nav_header_top" align="right"> <a href="#content" class="doNotDisplay" accesskey="2">Skip to main content ::</a> <a href="../.."><img id="nav_header_logo" alt="Home" align="left" src="../../kde_gear_64.png" border="0" /></a> <span class="doNotDisplay">::</span> <div id="nav_header_title" align="left">KDE API Reference</div> </div> <div id="nav_header_bottom" align="right"> <span class="doNotDisplay">:: <a href="#navigation" accesskey="5">Skip to Link Menu</a><br/></span> <div id="nav_header_bottom_right" style="text-align: left;"> / <a href="../..">API Reference</a> / <a href=".">kmdi</a> </div> </div> <table id="main" border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td valign="top" class="menuheader" height="0"></td> <td id="contentcolumn" valign="top" rowspan="2" > <div id="content" style="padding-top: 0px;"><div style="width:100%; margin: 0px; padding: 0px;"> <a name="content"></a> <!-- Generated by Doxygen 1.7.4 --> </div> <div class="header"> <div class="summary"> <a href="#enum-members">Enumerations</a> </div> <div class="headertitle"> <div class="title">KMdi Namespace Reference</div> </div> </div> <div class="contents"> <p>A namespace for the KMDI library. <a href="#details">More...</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="enum-members"></a> Enumerations</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceKMdi.html#a050f6d9e3466cbe3263a6cbaebe3c16b">EventType</a> { <br/>   <b>EV_Move</b> = 1, <b>EV_DragBegin</b>, <b>EV_DragEnd</b>, <b>EV_ResizeBegin</b>, <br/>   <b>EV_ResizeEnd</b> <br/> }</td></tr> <tr><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceKMdi.html#ae6634768fed44298aa93e26ddd1341f9">AddWindowFlags</a> { <br/>   <a class="el" href="namespaceKMdi.html#ae6634768fed44298aa93e26ddd1341f9a6836a36b2d2871ee03838964d9844a58">StandardAdd</a> = 0, <b>Maximize</b> = 1, <b>Minimize</b> = 2, <b>Hide</b> = 4, <br/>   <b>Detach</b> = 8, <b>ToolWindow</b> = 16, <b>UseKMdiSizeHint</b> = 32, <b>AddWindowFlags</b> = 0xff <br/> }</td></tr> <tr><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><b>FrameDecor</b> { <b>Win95Look</b> = 0, <b>KDE1Look</b> = 1, <b>KDELook</b> = 2, <b>KDELaptopLook</b> = 3 }</td></tr> <tr><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><b>MdiMode</b> { <br/>   <b>UndefinedMode</b> = 0, <b>ToplevelMode</b> = 1, <b>ChildframeMode</b> = 2, <b>TabPageMode</b> = 3, <br/>   <b>IDEAlMode</b> = 4 <br/> }</td></tr> <tr><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><b>TabWidgetVisibility</b> { <b>AlwaysShowTabs</b> = 0, <b>ShowWhenMoreThanOneTab</b> = 1, <b>NeverShowTabs</b> = 2 }</td></tr> <tr><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceKMdi.html#ab1cdbac6ebdb5548b1b50de89fd5db6a">ToolviewStyle</a> { <a class="el" href="namespaceKMdi.html#ab1cdbac6ebdb5548b1b50de89fd5db6aaa02d4549f758818bb873f121fd19ea90">IconOnly</a> = 0, <a class="el" href="namespaceKMdi.html#ab1cdbac6ebdb5548b1b50de89fd5db6aaf84c797f174eeebb902c45edc4d1706d">TextOnly</a> = 1, <a class="el" href="namespaceKMdi.html#ab1cdbac6ebdb5548b1b50de89fd5db6aa9b85b4d0f7c7608cc676ed81aeb893d6">TextAndIcon</a> = 3 }</td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>A namespace for the KMDI library. </p> </div><hr/><h2>Enumeration Type Documentation</h2> <a class="anchor" id="ae6634768fed44298aa93e26ddd1341f9"></a><!-- doxytag: member="KMdi::AddWindowFlags" ref="ae6634768fed44298aa93e26ddd1341f9" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">enum <a class="el" href="namespaceKMdi.html#ae6634768fed44298aa93e26ddd1341f9">KMdi::AddWindowFlags</a></td> </tr> </table> </div> <div class="memdoc"> <p>During <a class="el" href="classKMdiMainFrm.html#aadc92163fbb227bc5abe8df2c92b694e" title="Adds a KMdiChildView to the MDI system.">KMdiMainFrm::addWindow</a> the enum AddWindowFlags is used to determine how the view is initialy being added to the MDI system. </p> <dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"><em><a class="anchor" id="ae6634768fed44298aa93e26ddd1341f9a6836a36b2d2871ee03838964d9844a58"></a><!-- doxytag: member="StandardAdd" ref="ae6634768fed44298aa93e26ddd1341f9a6836a36b2d2871ee03838964d9844a58" args="" -->StandardAdd</em> </td><td> <p>standard is: show normal, attached, visible, document view (not toolview). </p> <p>Maximize, Minimize, Hide adds appropriately. Detach adds a view that appears toplevel, ToolWindow adds the view as tool view. That means it is stay-on-top and toplevel. UseKMdiSizeHint should use the restore geometry of the latest current top childframe but is not supported yet. </p> </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="kmdidefines_8h_source.html#l00065">65</a> of file <a class="el" href="kmdidefines_8h_source.html">kmdidefines.h</a>.</p> </div> </div> <a class="anchor" id="a050f6d9e3466cbe3263a6cbaebe3c16b"></a><!-- doxytag: member="KMdi::EventType" ref="a050f6d9e3466cbe3263a6cbaebe3c16b" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">enum <a class="el" href="namespaceKMdi.html#a050f6d9e3466cbe3263a6cbaebe3c16b">KMdi::EventType</a></td> </tr> </table> </div> <div class="memdoc"> <p>extent <a class="elRef" href="qt.html">Qt</a> events </p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="elRef" href="qcustomevent.html">QCustomEvent</a>, QEvent::User <div class="fragment"><pre class="fragment"> <span class="keywordtype">bool</span> B_MyWidget::event( <a class="codeRef" href="qevent.html">QEvent</a>* e) { <span class="keywordflow">if</span>( e-><a class="codeRef" href="qevent.html#type">type</a>() == QEvent::Type(QEvent::User + <span class="keywordtype">int</span>(KMdi::EV_Move))) { ... } ... } </pre></div> </dd></dl> <p>Definition at line <a class="el" href="kmdidefines_8h_source.html#l00054">54</a> of file <a class="el" href="kmdidefines_8h_source.html">kmdidefines.h</a>.</p> </div> </div> <a class="anchor" id="ab1cdbac6ebdb5548b1b50de89fd5db6a"></a><!-- doxytag: member="KMdi::ToolviewStyle" ref="ab1cdbac6ebdb5548b1b50de89fd5db6a" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">enum <a class="el" href="namespaceKMdi.html#ab1cdbac6ebdb5548b1b50de89fd5db6a">KMdi::ToolviewStyle</a></td> </tr> </table> </div> <div class="memdoc"> <p>The style of the toolview tabs. </p> <dl class="since"><dt><b>Since:</b></dt><dd>3.3 </dd></dl> <dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"><em><a class="anchor" id="ab1cdbac6ebdb5548b1b50de89fd5db6aaa02d4549f758818bb873f121fd19ea90"></a><!-- doxytag: member="IconOnly" ref="ab1cdbac6ebdb5548b1b50de89fd5db6aaa02d4549f758818bb873f121fd19ea90" args="" -->IconOnly</em> </td><td> <p>Show only icons on the toolview tabs. </p> <p>The visible toolviews contain both the icon and text. </p> </td></tr> <tr><td valign="top"><em><a class="anchor" id="ab1cdbac6ebdb5548b1b50de89fd5db6aaf84c797f174eeebb902c45edc4d1706d"></a><!-- doxytag: member="TextOnly" ref="ab1cdbac6ebdb5548b1b50de89fd5db6aaf84c797f174eeebb902c45edc4d1706d" args="" -->TextOnly</em> </td><td> <p>Show only the text description on the toolview tabs. </p> </td></tr> <tr><td valign="top"><em><a class="anchor" id="ab1cdbac6ebdb5548b1b50de89fd5db6aa9b85b4d0f7c7608cc676ed81aeb893d6"></a><!-- doxytag: member="TextAndIcon" ref="ab1cdbac6ebdb5548b1b50de89fd5db6aa9b85b4d0f7c7608cc676ed81aeb893d6" args="" -->TextAndIcon</em> </td><td> <p>Show both the icon and description on the toolview tabs. </p> </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="kmdidefines_8h_source.html#l00107">107</a> of file <a class="el" href="kmdidefines_8h_source.html">kmdidefines.h</a>.</p> </div> </div> </div> </div></div> </td> </tr> <tr> <td valign="top" id="leftmenu" width="25%"> <a name="navigation"></a> <div class="menu_box"><h2>kmdi</h2> <div class="nav_list"> <ul><li><a href="index.html">Main Page</a></li><li><a href="namespaces.html">Namespace List</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="files.html">File List</a></li><li><a href="namespacemembers.html">Namespace Members</a></li><li><a href="functions.html">Class Members</a></li><li><a href="pages.html">Related Pages</a></li></ul> <!-- <h2>Class Picker</h2> <div style="text-align: center;"> <form name="guideform"> <select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value"> <option value="annotated.html">-- Choose --</option> <option value="classKMdiChildArea.html">kmdichildarea</option>, <option value="classKMdiChildFrm.html">kmdichildfrm</option>, <option value="classKMdiChildFrmCaption.html">kmdichildfrmcaption</option>, <option value="classKMdiChildFrmDragBeginEvent.html">kmdichildfrmdragbeginevent</option>, <option value="classKMdiChildFrmDragEndEvent.html">kmdichildfrmdragendevent</option>, <option value="classKMdiChildFrmMoveEvent.html">kmdichildfrmmoveevent</option>, <option value="classKMdiChildFrmResizeBeginEvent.html">kmdichildfrmresizebeginevent</option>, <option value="classKMdiChildFrmResizeEndEvent.html">kmdichildfrmresizeendevent</option>, <option value="classKMdiChildView.html">kmdichildview</option>, <option value="classKMdiDocumentViewTabWidget.html">kmdidocumentviewtabwidget</option>, <option value="classKMdiMainFrm.html">kmdimainfrm</option>, <option value="classKMDIPrivate_1_1KMDIGUIClient.html">kmdiprivate::kmdiguiclient</option>, <option value="classKMDIPrivate_1_1ToggleToolViewAction.html">kmdiprivate::toggletoolviewaction</option>, <option value="classKMdiTaskBar.html">kmditaskbar</option>, <option value="classKMdiTaskBarButton.html">kmditaskbarbutton</option>, <option value="classKMdiViewCloseEvent.html">kmdiviewcloseevent</option>, <option value="classKMdiWin32IconButton.html">kmdiwin32iconbutton</option>, </select> </form> </div> --> </div></div> <div class="menu_box"><h2>API Dox</h2> <div class="nav_list"> <ul> <li><a href="../../arts/html/index.html">arts</a></li><li><a href="../../dcop/html/index.html">dcop</a></li><li><a href="../../dnssd/html/index.html">dnssd</a></li><li><a href="../../interfaces/html/index.html">interfaces</a></li><li> <a href="../../interfaces/kimproxy/interface/html/index.html">interface</a></li><li> <a href="../../interfaces/kimproxy/library/html/index.html">library</a></li><li> <a href="../../interfaces/kspeech/html/index.html">kspeech</a></li><li> <a href="../../interfaces/ktexteditor/html/index.html">ktexteditor</a></li><li><a href="../../kabc/html/index.html">kabc</a></li><li><a href="../../kate/html/index.html">kate</a></li><li><a href="../../kcmshell/html/index.html">kcmshell</a></li><li><a href="../../kdecore/html/index.html">kdecore</a></li><li><a href="../../kded/html/index.html">kded</a></li><li><a href="../../kdefx/html/index.html">kdefx</a></li><li><a href="../../kdeprint/html/index.html">kdeprint</a></li><li><a href="../../kdesu/html/index.html">kdesu</a></li><li><a href="../../kdeui/html/index.html">kdeui</a></li><li><a href="../../kdoctools/html/index.html">kdoctools</a></li><li><a href="../../khtml/html/index.html">khtml</a></li><li><a href="../../kimgio/html/index.html">kimgio</a></li><li><a href="../../kinit/html/index.html">kinit</a></li><li><a href="../../kio/html/index.html">kio</a></li><li> <a href="../../kio/bookmarks/html/index.html">bookmarks</a></li><li> <a href="../../kio/httpfilter/html/index.html">httpfilter</a></li><li> <a href="../../kio/kfile/html/index.html">kfile</a></li><li> <a href="../../kio/kio/html/index.html">kio</a></li><li> <a href="../../kio/kioexec/html/index.html">kioexec</a></li><li> <a href="../../kio/kpasswdserver/html/index.html">kpasswdserver</a></li><li> <a href="../../kio/kssl/html/index.html">kssl</a></li><li><a href="../../kioslave/html/index.html">kioslave</a></li><li> <a href="../../kioslave/http/html/index.html">http</a></li><li><a href="../../kjs/html/index.html">kjs</a></li><li><a href="../../kmdi/html/index.html">kmdi</a></li><li> <a href="../../kmdi/kmdi/html/index.html">kmdi</a></li><li><a href="../../knewstuff/html/index.html">knewstuff</a></li><li><a href="../../kparts/html/index.html">kparts</a></li><li><a href="../../kresources/html/index.html">kresources</a></li><li><a href="../../kspell2/html/index.html">kspell2</a></li><li><a href="../../kunittest/html/index.html">kunittest</a></li><li><a href="../../kutils/html/index.html">kutils</a></li><li><a href="../../kwallet/html/index.html">kwallet</a></li><li><a href="../../libkmid/html/index.html">libkmid</a></li><li><a href="../../libkscreensaver/html/index.html">libkscreensaver</a></li> </ul></div></div> </td> </tr> </table> <span class="doNotDisplay"> <a href="http://www.kde.org/" accesskey="8">KDE Home</a> | <a href="http://accessibility.kde.org/" accesskey="9">KDE Accessibility Home</a> | <a href="http://www.kde.org/media/accesskeys.php" accesskey="0">Description of Access Keys</a> </span> <div style="height: 8px"></div> <div id="footer"> <div id="footer_left"> Maintained by <a href="mailto:groot@kde.org">Adriaan de Groot</a> and <a href="mailto:winter@kde.org">Allen Winter</a>. <br/> KDE and K Desktop Environment are trademarks of <a href="http://www.kde.org/areas/kde-ev/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> | <a href="http://www.kde.org/contact/impressum.php">Legal</a> </div> <div id="footer_right"><img src="/media/images/footer_right.png" style="margin: 0px" alt="" /></div> </div> <!-- WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL BE BLOCKED INSTANTLY AND PERMANENTLY! <a href="mailto:aaaatrap-425acc3b5374943f@kde.org">Block me</a> WARNING END --> </body> </html>