File: CDSNWizardEntre.cpp

package info (click to toggle)
unixodbc 2.2.14p2-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 14,628 kB
  • ctags: 12,533
  • sloc: ansic: 104,243; cpp: 38,571; sh: 15,958; makefile: 2,727; sql: 1
file content (40 lines) | stat: -rw-r--r-- 1,113 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*!
 * \file
 *
 * \author  Peter Harvey <pharvey@peterharvey.org>
 * \author  \sa AUTHORS file
 * \version 2
 * \date    2007
 * \license Copyright unixODBC Project 2007-2008, LGPL
 */
#include "CDSNWizardEntre.h"

#include "CDSNWizard.h"

CDSNWizardEntre::CDSNWizardEntre( CDSNWizardData *pWizardData, QWidget *pwidgetParent )
     : QWizardPage( pwidgetParent )
{
    this->pWizardData = pWizardData;

    QHBoxLayout *   pLayout         = new QHBoxLayout( this );
    QTextBrowser *  pTextBrowser    = new QTextBrowser;

    pTextBrowser->setHtml( "<P>This is the Create Data Source Name Wizard.</P> <P>A Data Source Name (DSN) is a convenient way to connect to a data source since the connect options can be set in advance and simply reused, by name, during a connect.</P> <P>This wizard will guide you through the process of creating a new Data Source Name.</P>" );
    pLayout->addWidget( pTextBrowser );

    setTitle( tr( "Introduction" ) );
}

int CDSNWizardEntre::nextId() const
{
    return CDSNWizard::PageType;
}

void CDSNWizardEntre::initializePage()
{
}

void CDSNWizardEntre::cleanupPage()
{
}