ee KPageView).
</p>
<p>
<b>Example:</b>\n
</p>
<p>
<pre class="fragment">
 UrlDialog.UrlDialog( QWidget *parent )
   : KPageDialog( parent )
 {
   setFaceType( List );

   QLabel *label = new QLabel( "Test Page" );
   addPage( label, i18n( "My Test Page" ) );

   label = new QLabel( "Second Test Page" );
   KPageWidgetItem *page = new KPageWidgetItem( label, i18n( "My Second Test Page" ) );
   page-&gt;setHeader( i18n( "My header string" ) );
   page-&gt;setIcon( KIcon( "file" ) );

   addPage( page );
 }
<