diff options
Diffstat (limited to 'doc/html/tqpopupmenu.html')
-rw-r--r-- | doc/html/tqpopupmenu.html | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/doc/html/tqpopupmenu.html b/doc/html/tqpopupmenu.html index 84e54d691..3eecff805 100644 --- a/doc/html/tqpopupmenu.html +++ b/doc/html/tqpopupmenu.html @@ -233,7 +233,7 @@ Changes the text of the menu item <em>id</em> to <em>text</em>. If the item has an icon, the icon remains unchanged. <p> <p>See also <a href="tqmenudata.html#text">text</a>(). -<h3 class=fn>void <a name="changeItem-2"></a>TQMenuData::changeItem ( int id, const <a href="ntqpixmap.html">TQPixmap</a> & pixmap ) +<h3 class=fn>void <a name="changeItem-2"></a>TQMenuData::changeItem ( int id, const <a href="tqpixmap.html">TQPixmap</a> & pixmap ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Changes the pixmap of the menu item <em>id</em> to the pixmap <em>pixmap</em>. @@ -247,7 +247,7 @@ This is an overloaded member function, provided for convenience. It behaves esse and <em>text</em> respectively. <p> <p>See also <a href="tqmenudata.html#pixmap">pixmap</a>(). -<h3 class=fn>void <a name="changeItem-4"></a>TQMenuData::changeItem ( int id, const <a href="tqiconset.html">TQIconSet</a> & icon, const <a href="ntqpixmap.html">TQPixmap</a> & pixmap ) +<h3 class=fn>void <a name="changeItem-4"></a>TQMenuData::changeItem ( int id, const <a href="tqiconset.html">TQIconSet</a> & icon, const <a href="tqpixmap.html">TQPixmap</a> & pixmap ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Changes the iconset and pixmap of the menu item <em>id</em> to <em>icon</em> @@ -314,7 +314,7 @@ or aligned to a widget: <p>Examples: <a href="fileiconview-example.html#x866">fileiconview/tqfileiconview.cpp</a>, <a href="menu-example.html#x1878">menu/menu.cpp</a>, and <a href="scribble-example.html#x923">scribble/scribble.cpp</a>. -<h3 class=fn>int <a name="exec-2"></a>TQPopupMenu::exec ( const <a href="ntqpoint.html">TQPoint</a> & pos, int indexAtPoint = 0 ) +<h3 class=fn>int <a name="exec-2"></a>TQPopupMenu::exec ( const <a href="tqpoint.html">TQPoint</a> & pos, int indexAtPoint = 0 ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Executes this popup synchronously. @@ -368,7 +368,7 @@ the internal list, or -1 if <em>index</em> is out of range. <p> <p>See also <a href="tqmenudata.html#setId">TQMenuData::setId</a>() and <a href="tqmenudata.html#indexOf">TQMenuData::indexOf</a>(). <p>Example: <a href="scrollview-example.html#x643">scrollview/scrollview.cpp</a>. -<h3 class=fn>int <a name="idAt-2"></a>TQPopupMenu::idAt ( const <a href="ntqpoint.html">TQPoint</a> & pos ) const +<h3 class=fn>int <a name="idAt-2"></a>TQPopupMenu::idAt ( const <a href="tqpoint.html">TQPoint</a> & pos ) const </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Returns the id of the item at <em>pos</em>, or -1 if there is no item @@ -412,7 +412,7 @@ accelerator. (For translations use a string <a href="ntqkeysequence.html">key <p> In the example above, pressing Ctrl+O or selecting "Open" from the menu activates the myView->open() function. <p> Some insert functions take a <a href="tqiconset.html">TQIconSet</a> parameter to specify the -little menu item icon. Note that you can always pass a <a href="ntqpixmap.html">TQPixmap</a> +little menu item icon. Note that you can always pass a <a href="tqpixmap.html">TQPixmap</a> object instead. <p> The <em>id</em> specifies the identification number associated with the menu item. Note that only positive values are valid, as a negative @@ -451,7 +451,7 @@ icon will be displayed to the left of the text in the item. <p> Returns the allocated <a href="tqmenudata.html#menu-identifier">menu identifier</a> number (<em>id</em> if <em>id</em> >= 0). <p> <p>See also <a href="tqmenudata.html#removeItem">removeItem</a>(), <a href="tqmenudata.html#changeItem">changeItem</a>(), <a href="tqmenudata.html#setAccel">setAccel</a>(), <a href="tqmenudata.html#connectItem">connectItem</a>(), <a href="ntqaccel.html">TQAccel</a>, and <a href="qnamespace-h.html">ntqnamespace.h</a>. -<h3 class=fn>int <a name="insertItem-3"></a>TQMenuData::insertItem ( const <a href="ntqpixmap.html">TQPixmap</a> & pixmap, const <a href="tqobject.html">TQObject</a> * receiver, const char * member, const <a href="ntqkeysequence.html">TQKeySequence</a> & accel = 0, int id = -1, int index = -1 ) +<h3 class=fn>int <a name="insertItem-3"></a>TQMenuData::insertItem ( const <a href="tqpixmap.html">TQPixmap</a> & pixmap, const <a href="tqobject.html">TQObject</a> * receiver, const char * member, const <a href="ntqkeysequence.html">TQKeySequence</a> & accel = 0, int id = -1, int index = -1 ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Inserts a menu item with pixmap <em>pixmap</em>, accelerator <em>accel</em>, @@ -459,11 +459,11 @@ optional id <em>id</em>, and optional <em>index</em> position. The menu item is connected it to the <em>receiver</em>'s <em>member</em> slot. The icon will be displayed to the left of the text in the item. <p> To look best when being highlighted as a menu item, the pixmap -should provide a mask (see <a href="ntqpixmap.html#mask">TQPixmap::mask</a>()). +should provide a mask (see <a href="tqpixmap.html#mask">TQPixmap::mask</a>()). <p> Returns the allocated <a href="tqmenudata.html#menu-identifier">menu identifier</a> number (<em>id</em> if <em>id</em> >= 0). <p> <p>See also <a href="tqmenudata.html#removeItem">removeItem</a>(), <a href="tqmenudata.html#changeItem">changeItem</a>(), <a href="tqmenudata.html#setAccel">setAccel</a>(), and <a href="tqmenudata.html#connectItem">connectItem</a>(). -<h3 class=fn>int <a name="insertItem-4"></a>TQMenuData::insertItem ( const <a href="tqiconset.html">TQIconSet</a> & icon, const <a href="ntqpixmap.html">TQPixmap</a> & pixmap, const <a href="tqobject.html">TQObject</a> * receiver, const char * member, const <a href="ntqkeysequence.html">TQKeySequence</a> & accel = 0, int id = -1, int index = -1 ) +<h3 class=fn>int <a name="insertItem-4"></a>TQMenuData::insertItem ( const <a href="tqiconset.html">TQIconSet</a> & icon, const <a href="tqpixmap.html">TQPixmap</a> & pixmap, const <a href="tqobject.html">TQObject</a> * receiver, const char * member, const <a href="ntqkeysequence.html">TQKeySequence</a> & accel = 0, int id = -1, int index = -1 ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Inserts a menu item with icon <em>icon</em>, pixmap <em>pixmap</em>, @@ -471,7 +471,7 @@ accelerator <em>accel</em>, optional id <em>id</em>, and optional <em>index</em> position. The icon will be displayed to the left of the pixmap in the item. The item is connected to the <em>member</em> slot in the <em>receiver</em> object. <p> To look best when being highlighted as a menu item, the pixmap -should provide a mask (see <a href="ntqpixmap.html#mask">TQPixmap::mask</a>()). +should provide a mask (see <a href="tqpixmap.html#mask">TQPixmap::mask</a>()). <p> Returns the allocated <a href="tqmenudata.html#menu-identifier">menu identifier</a> number (<em>id</em> if <em>id</em> >= 0). <p> <p>See also <a href="tqmenudata.html#removeItem">removeItem</a>(), <a href="tqmenudata.html#changeItem">changeItem</a>(), <a href="tqmenudata.html#setAccel">setAccel</a>(), <a href="tqmenudata.html#connectItem">connectItem</a>(), <a href="ntqaccel.html">TQAccel</a>, and <a href="qnamespace-h.html">ntqnamespace.h</a>. @@ -514,17 +514,17 @@ the menu is deleted. <p> Returns the allocated <a href="tqmenudata.html#menu-identifier">menu identifier</a> number (<em>id</em> if <em>id</em> >= 0). <p> <p>See also <a href="tqmenudata.html#removeItem">removeItem</a>(), <a href="tqmenudata.html#changeItem">changeItem</a>(), <a href="tqmenudata.html#setAccel">setAccel</a>(), and <a href="tqmenudata.html#connectItem">connectItem</a>(). -<h3 class=fn>int <a name="insertItem-9"></a>TQMenuData::insertItem ( const <a href="ntqpixmap.html">TQPixmap</a> & pixmap, int id = -1, int index = -1 ) +<h3 class=fn>int <a name="insertItem-9"></a>TQMenuData::insertItem ( const <a href="tqpixmap.html">TQPixmap</a> & pixmap, int id = -1, int index = -1 ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Inserts a menu item with pixmap <em>pixmap</em>, optional id <em>id</em>, and optional <em>index</em> position. <p> To look best when being highlighted as a menu item, the pixmap -should provide a mask (see <a href="ntqpixmap.html#mask">TQPixmap::mask</a>()). +should provide a mask (see <a href="tqpixmap.html#mask">TQPixmap::mask</a>()). <p> Returns the allocated <a href="tqmenudata.html#menu-identifier">menu identifier</a> number (<em>id</em> if <em>id</em> >= 0). <p> <p>See also <a href="tqmenudata.html#removeItem">removeItem</a>(), <a href="tqmenudata.html#changeItem">changeItem</a>(), <a href="tqmenudata.html#setAccel">setAccel</a>(), and <a href="tqmenudata.html#connectItem">connectItem</a>(). -<h3 class=fn>int <a name="insertItem-a"></a>TQMenuData::insertItem ( const <a href="tqiconset.html">TQIconSet</a> & icon, const <a href="ntqpixmap.html">TQPixmap</a> & pixmap, int id = -1, int index = -1 ) +<h3 class=fn>int <a name="insertItem-a"></a>TQMenuData::insertItem ( const <a href="tqiconset.html">TQIconSet</a> & icon, const <a href="tqpixmap.html">TQPixmap</a> & pixmap, int id = -1, int index = -1 ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Inserts a menu item with icon <em>icon</em>, pixmap <em>pixmap</em>, optional @@ -533,7 +533,7 @@ displayed to the left of the pixmap in the item. <p> Returns the allocated <a href="tqmenudata.html#menu-identifier">menu identifier</a> number (<em>id</em> if <em>id</em> >= 0). <p> <p>See also <a href="tqmenudata.html#removeItem">removeItem</a>(), <a href="tqmenudata.html#changeItem">changeItem</a>(), <a href="tqmenudata.html#setAccel">setAccel</a>(), and <a href="tqmenudata.html#connectItem">connectItem</a>(). -<h3 class=fn>int <a name="insertItem-b"></a>TQMenuData::insertItem ( const <a href="ntqpixmap.html">TQPixmap</a> & pixmap, <a href="tqpopupmenu.html">TQPopupMenu</a> * popup, int id = -1, int index = -1 ) +<h3 class=fn>int <a name="insertItem-b"></a>TQMenuData::insertItem ( const <a href="tqpixmap.html">TQPixmap</a> & pixmap, <a href="tqpopupmenu.html">TQPopupMenu</a> * popup, int id = -1, int index = -1 ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Inserts a menu item with pixmap <em>pixmap</em>, submenu <em>popup</em>, @@ -544,7 +544,7 @@ the menu is deleted. <p> Returns the allocated <a href="tqmenudata.html#menu-identifier">menu identifier</a> number (<em>id</em> if <em>id</em> >= 0). <p> <p>See also <a href="tqmenudata.html#removeItem">removeItem</a>(), <a href="tqmenudata.html#changeItem">changeItem</a>(), <a href="tqmenudata.html#setAccel">setAccel</a>(), and <a href="tqmenudata.html#connectItem">connectItem</a>(). -<h3 class=fn>int <a name="insertItem-c"></a>TQMenuData::insertItem ( const <a href="tqiconset.html">TQIconSet</a> & icon, const <a href="ntqpixmap.html">TQPixmap</a> & pixmap, <a href="tqpopupmenu.html">TQPopupMenu</a> * popup, int id = -1, int index = -1 ) +<h3 class=fn>int <a name="insertItem-c"></a>TQMenuData::insertItem ( const <a href="tqiconset.html">TQIconSet</a> & icon, const <a href="tqpixmap.html">TQPixmap</a> & pixmap, <a href="tqpopupmenu.html">TQPopupMenu</a> * popup, int id = -1, int index = -1 ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Inserts a menu item with icon <em>icon</em>, pixmap <em>pixmap</em> submenu <em>popup</em>, optional id <em>id</em>, and optional <em>index</em> position. The icon @@ -676,13 +676,13 @@ Returns the parameter of the activation signal of item <em>id</em>. <a href="tqmenudata.html#setItemParameter">setItemParameter</a>(), the value defaults to <em>id</em>. <p> <p>See also <a href="tqmenudata.html#connectItem">connectItem</a>(), <a href="tqmenudata.html#disconnectItem">disconnectItem</a>(), and <a href="tqmenudata.html#setItemParameter">setItemParameter</a>(). -<h3 class=fn><a href="ntqpixmap.html">TQPixmap</a> * <a name="pixmap"></a>TQMenuData::pixmap ( int id ) const +<h3 class=fn><a href="tqpixmap.html">TQPixmap</a> * <a name="pixmap"></a>TQMenuData::pixmap ( int id ) const </h3> Returns the pixmap that has been set for menu item <em>id</em>, or 0 if no pixmap has been set. <p> <p>See also <a href="tqmenudata.html#changeItem">changeItem</a>(), <a href="tqmenudata.html#text">text</a>(), and <a href="tqmenudata.html#iconSet">iconSet</a>(). -<h3 class=fn>void <a name="popup"></a>TQPopupMenu::popup ( const <a href="ntqpoint.html">TQPoint</a> & pos, int indexAtPoint = -1 ) +<h3 class=fn>void <a name="popup"></a>TQPopupMenu::popup ( const <a href="tqpoint.html">TQPoint</a> & pos, int indexAtPoint = -1 ) </h3> Displays the popup menu so that the item number <em>indexAtPoint</em> will be at the specified <em>global</em> position <em>pos</em>. To translate a |