File: CStats.cpp

package info (click to toggle)
unixodbc 2.1.1-8
  • links: PTS
  • area: main
  • in suites: woody
  • size: 12,668 kB
  • ctags: 12,486
  • sloc: ansic: 107,685; cpp: 33,663; sh: 13,300; makefile: 2,926; yacc: 499; lex: 241; sed: 93; sql: 1
file content (50 lines) | stat: -rw-r--r-- 1,420 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
41
42
43
44
45
46
47
48
49
50
#include "CStats.h"

#include "info.xpm"

CStats::CStats( QWidget* parent, const char* name )
	: QWidget( parent, name, 0 )
{
	QBoxLayout * pLayoutTop	= new QVBoxLayout( this, 5 );

    // main frame
	QBoxLayout * pLayoutMain = new QHBoxLayout( pLayoutTop, 5 );
    pSummary = new CStatSummary( this );
    pLayoutMain->addWidget( pSummary );
    pDetails = new CStatDetails( this );
    pLayoutMain->addWidget( pDetails );

	// helpt text
	QBoxLayout	*playoutHelp = new QHBoxLayout( pLayoutTop, 5 );

	QFrame* qtarch_Frame_7;
	qtarch_Frame_7 = new QFrame( this, "Frame_7" );
	qtarch_Frame_7->setGeometry( 10, 204, 380, 90 );
	qtarch_Frame_7->setMinimumSize( 380, 90 );
	qtarch_Frame_7->setMaximumSize( 32767, 32767 );
	qtarch_Frame_7->setFrameStyle( QFrame::Box | QFrame::Raised );

	playoutHelp->addWidget( qtarch_Frame_7 );

	QLabel* qtarch_Label_2;
	qtarch_Label_2 = new QLabel( qtarch_Frame_7, "Label_2" );
	qtarch_Label_2->setGeometry( 20, 20, 32, 32 );
	qtarch_Label_2->setPixmap( info_xpm );

	QLabel* qtarch_Label_1;
	qtarch_Label_1 = new QLabel( qtarch_Frame_7, "Label_1" );
	qtarch_Label_1->setGeometry( 70, 10, 310, 70 );
	qtarch_Label_1->setText( "These are the number of active ODBC; environments, connections, statements and descriptors." );
	qtarch_Label_1->setAlignment( AlignLeft | WordBreak );

	resize( 500,330 );
	setMinimumSize( 0, 0 );
	setMaximumSize( 32767, 32767 );
}

CStats::~CStats()
{
}