source: trunk/examples/extension/dialogform.ui.h@ 164

Last change on this file since 164 was 160, checked in by dmik, 19 years ago

Imported table and iconview modules and a bunch of dependent examples from the official release 3.3.1 from Trolltech.

  • Property svn:keywords set to Id
File size: 867 bytes
Line 
1/****************************************************************************
2** ui.h extension file, included from the uic-generated form implementation.
3**
4** If you wish to add, delete or rename functions use Qt Designer which will
5** update this file, preserving your code. Create an init() function in place
6** of a constructor, and a destroy() function in place of a destructor.
7*****************************************************************************/
8
9void DialogForm::init()
10{
11 extensionShown = FALSE;
12 setExtension( new Extension( this ) );
13 setOrientation( Vertical );
14}
15
16
17void DialogForm::toggleDetails()
18{
19 extensionShown = !extensionShown;
20 showExtension( extensionShown );
21 QString text = tr( "&Details " );
22 text += QString( extensionShown ? "<<<" : ">>>" );
23 detailsPushButton->setText( text );
24}
Note: See TracBrowser for help on using the repository browser.