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 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83
|
/*!
* \file
*
* \author Peter Harvey <pharvey@peterharvey.org>
* \author \sa AUTHORS file
* \version 2
* \date 2007
* \license Copyright unixODBC Project 2007-2008, LGPL
*/
#include <QtGui>
#include "CAbout.h"
#include "About48.xpm"
CAbout::CAbout( QWidget *pwidgetParent )
: QTabWidget( pwidgetParent )
{
// introduction to ODBC
{
QWidget * pwidget = new QWidget( this );
QVBoxLayout * playout = new QVBoxLayout( pwidget );
QTextBrowser * ptextbrowser = new QTextBrowser( pwidget );
playout->addWidget( ptextbrowser );
ptextbrowser->setHtml( "<B>What is ODBC?</B><P>Open Database Connectivity (ODBC) is an open specification for providing application developers with a predictable API with which to access Data Sources. Data Sources include SQL Servers and any Data Source with an ODBC Driver.</P><B>Why Use ODBC?</B><P>Software developers like to code to the ODBC specification because; <UL><LI>cross-database API</LI><LI>cross-platform API</LI><LI>API in their langauge of choice (C/C++)</LI><LI>ubiquitous support</LI><LI>no purchase required</LI><LI>good debugging support</LI><LI>good community support</LI><LI>knowledge of is relatively common</LI><LI>well documented API</LI></UL></P><P>Application Users like ODBC for some of the same reasons as Developers but also because;<UL><LI>many applications, particularly database appplications, support ODBC</LI><LI>easy to administrate</LI><LI>all majour databases (and then some) have an ODBC driver</LI><LI>an ODBC application can be told to use a different database without having to go to a developer to recode or even rebuild.</LI></UL></P><P>Whatever your reason is for using ODBC you can rest assured that you are in good company.</P><B>Resources</B><UL><LI>Microsoft - msdn.microsoft.com/library</LI></UL>" );
addTab( pwidget, tr( "ODBC" ) );
}
// introduction to unixODBC
{
QWidget * pwidget = new QWidget( this );
QVBoxLayout * playout = new QVBoxLayout( pwidget );
QTextBrowser * ptextbrowser = new QTextBrowser( pwidget );
playout->addWidget( ptextbrowser );
ptextbrowser->setHtml( "<B>What is unixODBC?</B><P>unixODBC is an Open Source, free, implementation of ODBC for non-Microsoft platforms (platforms such as UNIX/Linux/OSX etc). ODBC applications developed on one platform have a very good chance of working on another platform with a simple recompile.</P><B>Resources</B><UL><LI>unixODBC - www.unixodbc.org</LI></UL>" );
addTab( pwidget, tr( "unixODBC" ) );
}
// introduction to people
{
QWidget * pwidget = new QWidget( this );
QVBoxLayout * playout = new QVBoxLayout( pwidget );
QTextBrowser * ptextbrowser = new QTextBrowser( pwidget );
playout->addWidget( ptextbrowser );
ptextbrowser->setHtml( "<P><B>Nick Gorham</B> (current project lead) and <B>Peter Harvey</B> (founder of unixODBC) are the principle developers of unixODBC. Many others have contributed.</P><P>Please see the <B>AUTHORS</B> file in the source distribution for more information.</P>" );
addTab( pwidget, tr( "People" ) );
}
// license
{
QWidget * pwidget = new QWidget( this );
QVBoxLayout * playout = new QVBoxLayout( pwidget );
QTextBrowser * ptextbrowser = new QTextBrowser( pwidget );
playout->addWidget( ptextbrowser );
ptextbrowser->setHtml( "<P>unixODBC is Open Source and licensed under GPL and LGPL. Those developing commercial software can safely build upon unixODBC without having to worry about additional licensing and cost issues.</P><P>The unixODBC source includes a copy of the relevant license information in the <B>COPYING</B> file.</P>" );
addTab( pwidget, tr( "License" ) );
}
// version
{
QWidget * pwidget = new QWidget( this );
QVBoxLayout * playout = new QVBoxLayout( pwidget );
QTextBrowser * ptextbrowser = new QTextBrowser( pwidget );
playout->addWidget( ptextbrowser );
ptextbrowser->setHtml( QString( "<TABLE><TR><TD>unixODBC</TD><TD>%1</TD><TR></TABLE>" ).arg( VERSION ) );
addTab( pwidget, tr( "Version" ) );
}
setWindowIcon( QPixmap( xpmAbout48 ) );
setWindowTitle( tr( "About" ) );
}
CAbout::~CAbout()
{
}
|