|
|
#include "watermark.xpm" | #include "watermark.xpm" |
#include "atilogo.xpm" | #include "atilogo.xpm" |
| |
InfoPage::InfoPage ( QWidget *parent, bool is_firegl ) : QWidget ( parent, (const char *)0 ) |
InfoPage::InfoPage ( QWidget *parent, bool is_firegl ) : QWidget ( parent, reinterpret_cast<const char *>(0) ) |
{ | { |
m_Init = FALSE ; | m_Init = FALSE ; |
m_IsFireGL = is_firegl; | m_IsFireGL = is_firegl; |
|
|
if( m_IsFireGL ) | if( m_IsFireGL ) |
{ | { |
// ======== | // ======== |
BInfo = new QLabel ( tr("Display Adapter"), (QWidget *)this ) ; |
BInfo = new QLabel ( tr("Display Adapter"), reinterpret_cast<QWidget *>(this) ) ; |
// BInfo->setFont (QFont( "Helvetica", 18 ) ) ; | // BInfo->setFont (QFont( "Helvetica", 18 ) ) ; |
BInfo->setGeometry ( 10, 10, 300, 20 ) ; | BInfo->setGeometry ( 10, 10, 300, 20 ) ; |
BInfo->setAutoResize ( TRUE ) ; | BInfo->setAutoResize ( TRUE ) ; |
|
|
BInfo->setBackgroundOrigin ( QWidget::ParentOrigin ) ; | BInfo->setBackgroundOrigin ( QWidget::ParentOrigin ) ; |
BInfo->show ( ) ; | BInfo->show ( ) ; |
| |
CardName = new QLabel ( tr("Card Name :"), (QWidget *)this ) ; |
CardName = new QLabel ( tr("Card Name :"), reinterpret_cast<QWidget *>(this) ) ; |
CardName->setGeometry ( 20, 35, 300, 20 ) ; | CardName->setGeometry ( 20, 35, 300, 20 ) ; |
| |
CardName->setAutoResize ( TRUE ) ; | CardName->setAutoResize ( TRUE ) ; |
|
|
CardName->setBackgroundOrigin ( QWidget::ParentOrigin ) ; | CardName->setBackgroundOrigin ( QWidget::ParentOrigin ) ; |
CardName->show ( ) ; | CardName->show ( ) ; |
| |
CardName1 = new QLabel ( BoardInfo.BoardName ( ), (QWidget *)this ) ; |
CardName1 = new QLabel ( BoardInfo.BoardName ( ), reinterpret_cast<QWidget *>(this) ) ; |
CardName1->setGeometry ( 180, 35, 200, 20 ) ; | CardName1->setGeometry ( 180, 35, 200, 20 ) ; |
CardName1->setAutoResize ( TRUE ) ; | CardName1->setAutoResize ( TRUE ) ; |
CardName1->setBackgroundPixmap ( pixmap ) ; | CardName1->setBackgroundPixmap ( pixmap ) ; |
|
|
CardName1->show ( ) ; | CardName1->show ( ) ; |
| |
| |
BiosVersion = new QLabel ( tr("BIOS Version :"), (QWidget *)this ) ; |
BiosVersion = new QLabel ( tr("BIOS Version :"), reinterpret_cast<QWidget *>(this) ) ; |
BiosVersion->setGeometry ( 20, 55, 300, 20 ) ; | BiosVersion->setGeometry ( 20, 55, 300, 20 ) ; |
BiosVersion->setAutoResize ( TRUE ) ; | BiosVersion->setAutoResize ( TRUE ) ; |
BiosVersion->setBackgroundPixmap ( pixmap ) ; | BiosVersion->setBackgroundPixmap ( pixmap ) ; |
BiosVersion->setBackgroundOrigin ( QWidget::ParentOrigin ) ; | BiosVersion->setBackgroundOrigin ( QWidget::ParentOrigin ) ; |
BiosVersion->show ( ) ; | BiosVersion->show ( ) ; |
| |
BiosVersion1 = new QLabel ( BoardInfo.BiosVersion ( ), (QWidget *)this ) ; |
BiosVersion1 = new QLabel ( BoardInfo.BiosVersion ( ), reinterpret_cast<QWidget *>(this) ) ; |
BiosVersion1->setGeometry ( 180, 55, 300, 20 ) ; | BiosVersion1->setGeometry ( 180, 55, 300, 20 ) ; |
BiosVersion1->setAutoResize ( TRUE ) ; | BiosVersion1->setAutoResize ( TRUE ) ; |
BiosVersion1->setBackgroundPixmap ( pixmap ) ; | BiosVersion1->setBackgroundPixmap ( pixmap ) ; |
|
|
BiosVersion1->show ( ) ; | BiosVersion1->show ( ) ; |
| |
| |
ChipType = new QLabel ( tr("Chip Type :"), (QWidget *)this ) ; |
ChipType = new QLabel ( tr("Chip Type :"), reinterpret_cast<QWidget *>(this) ) ; |
ChipType->setGeometry ( 20, 75, 300, 20 ) ; | ChipType->setGeometry ( 20, 75, 300, 20 ) ; |
ChipType->setAutoResize ( TRUE ) ; | ChipType->setAutoResize ( TRUE ) ; |
ChipType->setBackgroundPixmap ( pixmap ) ; | ChipType->setBackgroundPixmap ( pixmap ) ; |
ChipType->setBackgroundOrigin ( QWidget::ParentOrigin ) ; | ChipType->setBackgroundOrigin ( QWidget::ParentOrigin ) ; |
ChipType->show ( ) ; | ChipType->show ( ) ; |
| |
ChipType1 = new QLabel ( BoardInfo.ChipType ( ), (QWidget *)this ) ; |
ChipType1 = new QLabel ( BoardInfo.ChipType ( ), reinterpret_cast<QWidget *>(this) ) ; |
ChipType1->setGeometry ( 180, 75, 300, 20 ) ; | ChipType1->setGeometry ( 180, 75, 300, 20 ) ; |
ChipType1->setAutoResize ( TRUE ) ; | ChipType1->setAutoResize ( TRUE ) ; |
ChipType1->setBackgroundPixmap ( pixmap ) ; | ChipType1->setBackgroundPixmap ( pixmap ) ; |
|
|
ChipType1->show ( ) ; | ChipType1->show ( ) ; |
| |
| |
ChipRevision = new QLabel ( tr("Chip Revision :"), (QWidget *)this ) ; |
ChipRevision = new QLabel ( tr("Chip Revision :"), reinterpret_cast<QWidget *>(this) ) ; |
ChipRevision->setGeometry ( 20, 95, 300, 20 ) ; | ChipRevision->setGeometry ( 20, 95, 300, 20 ) ; |
ChipRevision->setAutoResize ( TRUE ) ; | ChipRevision->setAutoResize ( TRUE ) ; |
ChipRevision->setBackgroundPixmap ( pixmap ) ; | ChipRevision->setBackgroundPixmap ( pixmap ) ; |
ChipRevision->setBackgroundOrigin ( QWidget::ParentOrigin ) ; | ChipRevision->setBackgroundOrigin ( QWidget::ParentOrigin ) ; |
ChipRevision->show ( ) ; | ChipRevision->show ( ) ; |
| |
ChipRevision1 = new QLabel ( BoardInfo.ChipRevision ( ), (QWidget *)this ) ; |
ChipRevision1 = new QLabel ( BoardInfo.ChipRevision ( ), reinterpret_cast<QWidget *>(this) ) ; |
ChipRevision1->setGeometry ( 180, 95, 300, 20 ) ; | ChipRevision1->setGeometry ( 180, 95, 300, 20 ) ; |
ChipRevision1->setAutoResize ( TRUE ) ; | ChipRevision1->setAutoResize ( TRUE ) ; |
ChipRevision1->setBackgroundPixmap ( pixmap ) ; | ChipRevision1->setBackgroundPixmap ( pixmap ) ; |
|
|
ChipRevision1->show ( ) ; | ChipRevision1->show ( ) ; |
| |
#if 0 | #if 0 |
ChipSpeed = new QLabel ( tr("Chip Speed :"), (QWidget *)this ) ; |
ChipSpeed = new QLabel ( tr("Chip Speed :"), reinterpret_cast<QWidget *>(this) ) ; |
ChipSpeed->setGeometry ( 20, 120, 300, 20 ) ; | ChipSpeed->setGeometry ( 20, 120, 300, 20 ) ; |
ChipSpeed->setAutoResize ( TRUE ) ; | ChipSpeed->setAutoResize ( TRUE ) ; |
ChipSpeed->setBackgroundPixmap ( pixmap ) ; | ChipSpeed->setBackgroundPixmap ( pixmap ) ; |
ChipSpeed->setBackgroundOrigin ( QWidget::ParentOrigin ) ; | ChipSpeed->setBackgroundOrigin ( QWidget::ParentOrigin ) ; |
ChipSpeed->show ( ) ; | ChipSpeed->show ( ) ; |
| |
ChipSpeed1 = new QLabel ( BoardInfo.ChipSpeed ( ), (QWidget *)this ) ; |
ChipSpeed1 = new QLabel ( BoardInfo.ChipSpeed ( ), reinterpret_cast<QWidget *>(this) ) ; |
ChipSpeed1->setGeometry ( 180, 120, 300, 20 ) ; | ChipSpeed1->setGeometry ( 180, 120, 300, 20 ) ; |
ChipSpeed1->setAutoResize ( TRUE ) ; | ChipSpeed1->setAutoResize ( TRUE ) ; |
ChipSpeed1->setBackgroundPixmap ( pixmap ) ; | ChipSpeed1->setBackgroundPixmap ( pixmap ) ; |
|
|
ChipSpeed1->show ( ) ; | ChipSpeed1->show ( ) ; |
#endif | #endif |
| |
DacSpeed = new QLabel ( tr("DAC Speed :"), (QWidget *)this ) ; |
DacSpeed = new QLabel ( tr("DAC Speed :"), reinterpret_cast<QWidget *>(this) ) ; |
// DacSpeed->setGeometry ( 20, 140, 300, 20 ) ; | // DacSpeed->setGeometry ( 20, 140, 300, 20 ) ; |
DacSpeed->setGeometry ( 20, 115, 300, 20 ) ; | DacSpeed->setGeometry ( 20, 115, 300, 20 ) ; |
DacSpeed->setAutoResize ( TRUE ) ; | DacSpeed->setAutoResize ( TRUE ) ; |
|
|
DacSpeed->setBackgroundOrigin ( QWidget::ParentOrigin ) ; | DacSpeed->setBackgroundOrigin ( QWidget::ParentOrigin ) ; |
DacSpeed->show ( ) ; | DacSpeed->show ( ) ; |
| |
DacSpeed1 = new QLabel ( BoardInfo.DacSpeed ( ), (QWidget *)this ) ; |
DacSpeed1 = new QLabel ( BoardInfo.DacSpeed ( ), reinterpret_cast<QWidget *>(this) ) ; |
// DacSpeed1->setGeometry ( 180, 140, 300, 20 ) ; | // DacSpeed1->setGeometry ( 180, 140, 300, 20 ) ; |
DacSpeed1->setGeometry ( 180, 115, 300, 20 ) ; | DacSpeed1->setGeometry ( 180, 115, 300, 20 ) ; |
DacSpeed1->setAutoResize ( TRUE ) ; | DacSpeed1->setAutoResize ( TRUE ) ; |
|
|
DacSpeed1->show ( ) ; | DacSpeed1->show ( ) ; |
| |
| |
MemoryType = new QLabel ( tr("Memory Type :"), (QWidget *)this ) ; |
MemoryType = new QLabel ( tr("Memory Type :"), reinterpret_cast<QWidget *>(this) ) ; |
// MemoryType->setGeometry ( 20, 160, 300, 20 ) ; | // MemoryType->setGeometry ( 20, 160, 300, 20 ) ; |
MemoryType->setGeometry ( 20, 135, 300, 20 ) ; | MemoryType->setGeometry ( 20, 135, 300, 20 ) ; |
MemoryType->setAutoResize ( TRUE ) ; | MemoryType->setAutoResize ( TRUE ) ; |
|
|
MemoryType->setBackgroundOrigin ( QWidget::ParentOrigin ) ; | MemoryType->setBackgroundOrigin ( QWidget::ParentOrigin ) ; |
MemoryType->show ( ) ; | MemoryType->show ( ) ; |
| |
MemoryType1 = new QLabel ( BoardInfo.MemoryType ( ), (QWidget *)this ) ; |
MemoryType1 = new QLabel ( BoardInfo.MemoryType ( ), reinterpret_cast<QWidget *>(this) ) ; |
// MemoryType1->setGeometry ( 180, 160, 300, 20 ) ; | // MemoryType1->setGeometry ( 180, 160, 300, 20 ) ; |
MemoryType1->setGeometry ( 180, 135, 300, 20 ) ; | MemoryType1->setGeometry ( 180, 135, 300, 20 ) ; |
MemoryType1->setAutoResize ( TRUE ) ; | MemoryType1->setAutoResize ( TRUE ) ; |
|
|
MemoryType1->setBackgroundOrigin ( QWidget::ParentOrigin ) ; | MemoryType1->setBackgroundOrigin ( QWidget::ParentOrigin ) ; |
MemoryType1->show ( ) ; | MemoryType1->show ( ) ; |
| |
MemorySize = new QLabel ( tr("Memory Size :"), (QWidget *)this ) ; |
MemorySize = new QLabel ( tr("Memory Size :"), reinterpret_cast<QWidget *>(this) ) ; |
// MemorySize->setGeometry ( 20, 180, 300, 20 ) ; | // MemorySize->setGeometry ( 20, 180, 300, 20 ) ; |
MemorySize->setGeometry ( 20, 155, 300, 20 ) ; | MemorySize->setGeometry ( 20, 155, 300, 20 ) ; |
MemorySize->setAutoResize ( TRUE ) ; | MemorySize->setAutoResize ( TRUE ) ; |
|
|
MemorySize->setBackgroundOrigin ( QWidget::ParentOrigin ) ; | MemorySize->setBackgroundOrigin ( QWidget::ParentOrigin ) ; |
MemorySize->show ( ) ; | MemorySize->show ( ) ; |
| |
MemorySize1 = new QLabel ( BoardInfo.MemorySize ( ), (QWidget *)this ) ; |
MemorySize1 = new QLabel ( BoardInfo.MemorySize ( ), reinterpret_cast<QWidget *>(this) ) ; |
// MemorySize1->setGeometry ( 180, 180, 300, 20 ) ; | // MemorySize1->setGeometry ( 180, 180, 300, 20 ) ; |
MemorySize1->setGeometry ( 180, 155, 300, 20 ) ; | MemorySize1->setGeometry ( 180, 155, 300, 20 ) ; |
MemorySize1->setAutoResize ( TRUE ) ; | MemorySize1->setAutoResize ( TRUE ) ; |
|
|
MemorySize1->show ( ) ; | MemorySize1->show ( ) ; |
| |
#if 0 | #if 0 |
MemorySpeed = new QLabel ( tr("Memory Speed :"), (QWidget *)this ) ; |
MemorySpeed = new QLabel ( tr("Memory Speed :"), reinterpret_cast<QWidget *>(this) ) ; |
MemorySpeed->setGeometry ( 20, 200, 300, 20 ) ; | MemorySpeed->setGeometry ( 20, 200, 300, 20 ) ; |
MemorySpeed->setAutoResize ( TRUE ) ; | MemorySpeed->setAutoResize ( TRUE ) ; |
MemorySpeed->setBackgroundPixmap ( pixmap ) ; | MemorySpeed->setBackgroundPixmap ( pixmap ) ; |
MemorySpeed->setBackgroundOrigin ( QWidget::ParentOrigin ) ; | MemorySpeed->setBackgroundOrigin ( QWidget::ParentOrigin ) ; |
MemorySpeed->show ( ) ; | MemorySpeed->show ( ) ; |
| |
MemorySpeed1 = new QLabel ( BoardInfo.MemorySpeed ( ), (QWidget *)this ) ; |
MemorySpeed1 = new QLabel ( BoardInfo.MemorySpeed ( ), reinterpret_cast<QWidget *>(this) ) ; |
MemorySpeed1->setGeometry ( 180, 200, 300, 20 ) ; | MemorySpeed1->setGeometry ( 180, 200, 300, 20 ) ; |
MemorySpeed1->setAutoResize ( TRUE ) ; | MemorySpeed1->setAutoResize ( TRUE ) ; |
MemorySpeed1->setBackgroundPixmap ( pixmap ) ; | MemorySpeed1->setBackgroundPixmap ( pixmap ) ; |
|
|
MemorySpeed1->show ( ) ; | MemorySpeed1->show ( ) ; |
#endif | #endif |
| |
TransferMode = new QLabel ( tr("Transfer Mode :"), (QWidget *)this ) ; |
TransferMode = new QLabel ( tr("Transfer Mode :"), reinterpret_cast<QWidget *>(this) ) ; |
TransferMode->setGeometry ( 20, 175, 300, 20 ) ; | TransferMode->setGeometry ( 20, 175, 300, 20 ) ; |
TransferMode->setAutoResize ( TRUE ) ; | TransferMode->setAutoResize ( TRUE ) ; |
TransferMode->setBackgroundPixmap ( pixmap ) ; | TransferMode->setBackgroundPixmap ( pixmap ) ; |
TransferMode->setBackgroundOrigin ( QWidget::ParentOrigin ) ; | TransferMode->setBackgroundOrigin ( QWidget::ParentOrigin ) ; |
TransferMode->show ( ) ; | TransferMode->show ( ) ; |
| |
TransferMode1 = new QLabel ( BoardInfo.TransferMode ( ), (QWidget *)this ) ; |
TransferMode1 = new QLabel ( BoardInfo.TransferMode ( ), reinterpret_cast<QWidget *>(this) ) ; |
TransferMode1->setGeometry ( 180, 175, 300, 20 ) ; | TransferMode1->setGeometry ( 180, 175, 300, 20 ) ; |
TransferMode1->setAutoResize ( TRUE ) ; | TransferMode1->setAutoResize ( TRUE ) ; |
TransferMode1->setBackgroundPixmap ( pixmap ) ; | TransferMode1->setBackgroundPixmap ( pixmap ) ; |
|
|
if( m_IsFireGL ) | if( m_IsFireGL ) |
{ | { |
// ======== | // ======== |
DInfo = new QLabel ( tr("Display Driver"), (QWidget *)this ) ; |
DInfo = new QLabel ( tr("Display Driver"), reinterpret_cast<QWidget *>(this) ) ; |
// DInfo->setFont (QFont( "Helvetica", 18 ) ) ; | // DInfo->setFont (QFont( "Helvetica", 18 ) ) ; |
DInfo->setGeometry ( 10, 200, 300, 20 ) ; | DInfo->setGeometry ( 10, 200, 300, 20 ) ; |
DInfo->setAutoResize ( TRUE ) ; | DInfo->setAutoResize ( TRUE ) ; |
|
|
DInfo->setBackgroundOrigin ( QWidget::ParentOrigin ) ; | DInfo->setBackgroundOrigin ( QWidget::ParentOrigin ) ; |
DInfo->show ( ) ; | DInfo->show ( ) ; |
| |
DriverVersion = new QLabel ( tr("Driver Version :"), (QWidget *)this ) ; |
DriverVersion = new QLabel ( tr("Driver Version :"), reinterpret_cast<QWidget *>(this) ) ; |
DriverVersion->setGeometry ( 20, 225, 300, 20 ) ; | DriverVersion->setGeometry ( 20, 225, 300, 20 ) ; |
DriverVersion->setAutoResize ( TRUE ) ; | DriverVersion->setAutoResize ( TRUE ) ; |
DriverVersion->setBackgroundPixmap ( pixmap ) ; | DriverVersion->setBackgroundPixmap ( pixmap ) ; |
DriverVersion->setBackgroundOrigin ( QWidget::ParentOrigin ) ; | DriverVersion->setBackgroundOrigin ( QWidget::ParentOrigin ) ; |
DriverVersion->show ( ) ; | DriverVersion->show ( ) ; |
| |
DriverVersion1 = new QLabel ( BoardInfo.DriverVersion ( ), (QWidget *)this ) ; |
DriverVersion1 = new QLabel ( BoardInfo.DriverVersion ( ), reinterpret_cast<QWidget *>(this) ) ; |
DriverVersion1->setGeometry ( 180, 225, 300, 20 ) ; | DriverVersion1->setGeometry ( 180, 225, 300, 20 ) ; |
DriverVersion1->setAutoResize ( TRUE ) ; | DriverVersion1->setAutoResize ( TRUE ) ; |
DriverVersion1->setBackgroundPixmap ( pixmap ) ; | DriverVersion1->setBackgroundPixmap ( pixmap ) ; |
|
|
| |
| |
// ======== | // ======== |
OGLInfo = new QLabel ( tr("OpenGL"), (QWidget *)this ) ; |
OGLInfo = new QLabel ( tr("OpenGL"), reinterpret_cast<QWidget *>(this) ) ; |
// OGLInfo->setFont (QFont( "Helvetica", 18 ) ) ; | // OGLInfo->setFont (QFont( "Helvetica", 18 ) ) ; |
OGLInfo->setGeometry ( 10, 245, 300, 20 ) ; | OGLInfo->setGeometry ( 10, 245, 300, 20 ) ; |
OGLInfo->setAutoResize ( TRUE ) ; | OGLInfo->setAutoResize ( TRUE ) ; |
|
|
OGLInfo->setBackgroundOrigin ( QWidget::ParentOrigin ) ; | OGLInfo->setBackgroundOrigin ( QWidget::ParentOrigin ) ; |
OGLInfo->show ( ) ; | OGLInfo->show ( ) ; |
| |
OGLVendor = new QLabel ( tr("OpenGL vendor string :"), (QWidget *)this ) ; |
OGLVendor = new QLabel ( tr("OpenGL vendor string :"), reinterpret_cast<QWidget *>(this) ) ; |
OGLVendor->setGeometry ( 20, 270, 300, 20 ) ; | OGLVendor->setGeometry ( 20, 270, 300, 20 ) ; |
OGLVendor->setAutoResize ( TRUE ) ; | OGLVendor->setAutoResize ( TRUE ) ; |
OGLVendor->setBackgroundPixmap ( pixmap ) ; | OGLVendor->setBackgroundPixmap ( pixmap ) ; |
OGLVendor->setBackgroundOrigin ( QWidget::ParentOrigin ) ; | OGLVendor->setBackgroundOrigin ( QWidget::ParentOrigin ) ; |
OGLVendor->show ( ) ; | OGLVendor->show ( ) ; |
| |
OGLVendor1 = new QLabel ( BoardInfo.OGLVendor ( ), (QWidget *)this ) ; |
OGLVendor1 = new QLabel ( BoardInfo.OGLVendor ( ), reinterpret_cast<QWidget *>(this) ) ; |
OGLVendor1->setGeometry ( 180, 270, 300, 20 ) ; | OGLVendor1->setGeometry ( 180, 270, 300, 20 ) ; |
OGLVendor1->setAutoResize ( TRUE ) ; | OGLVendor1->setAutoResize ( TRUE ) ; |
OGLVendor1->setBackgroundPixmap ( pixmap ) ; | OGLVendor1->setBackgroundPixmap ( pixmap ) ; |
OGLVendor1->setBackgroundOrigin ( QWidget::ParentOrigin ) ; | OGLVendor1->setBackgroundOrigin ( QWidget::ParentOrigin ) ; |
OGLVendor1->show ( ) ; | OGLVendor1->show ( ) ; |
| |
OGLRenderer = new QLabel ( tr("OpenGL renderer string :"), (QWidget *)this ) ; |
OGLRenderer = new QLabel ( tr("OpenGL renderer string :"), reinterpret_cast<QWidget *>(this) ) ; |
OGLRenderer->setGeometry ( 20, 290, 300, 20 ) ; | OGLRenderer->setGeometry ( 20, 290, 300, 20 ) ; |
OGLRenderer->setAutoResize ( TRUE ) ; | OGLRenderer->setAutoResize ( TRUE ) ; |
OGLRenderer->setBackgroundPixmap ( pixmap ) ; | OGLRenderer->setBackgroundPixmap ( pixmap ) ; |
OGLRenderer->setBackgroundOrigin ( QWidget::ParentOrigin ) ; | OGLRenderer->setBackgroundOrigin ( QWidget::ParentOrigin ) ; |
OGLRenderer->show ( ) ; | OGLRenderer->show ( ) ; |
| |
OGLRenderer1 = new QLabel ( BoardInfo.OGLRenderer ( ), (QWidget *)this ) ; |
OGLRenderer1 = new QLabel ( BoardInfo.OGLRenderer ( ), reinterpret_cast<QWidget *>(this) ) ; |
OGLRenderer1->setGeometry ( 180, 290, 300, 20 ) ; | OGLRenderer1->setGeometry ( 180, 290, 300, 20 ) ; |
OGLRenderer1->setAutoResize ( TRUE ) ; | OGLRenderer1->setAutoResize ( TRUE ) ; |
OGLRenderer1->setBackgroundPixmap ( pixmap ) ; | OGLRenderer1->setBackgroundPixmap ( pixmap ) ; |
OGLRenderer1->setBackgroundOrigin ( QWidget::ParentOrigin ) ; | OGLRenderer1->setBackgroundOrigin ( QWidget::ParentOrigin ) ; |
OGLRenderer1->show ( ) ; | OGLRenderer1->show ( ) ; |
| |
OGLVersion = new QLabel ( tr("OpenGL version string :"), (QWidget *)this ) ; |
OGLVersion = new QLabel ( tr("OpenGL version string :"), reinterpret_cast<QWidget *>(this) ) ; |
OGLVersion->setGeometry ( 20, 310, 300, 20 ) ; | OGLVersion->setGeometry ( 20, 310, 300, 20 ) ; |
OGLVersion->setAutoResize ( TRUE ) ; | OGLVersion->setAutoResize ( TRUE ) ; |
OGLVersion->setBackgroundPixmap ( pixmap ) ; | OGLVersion->setBackgroundPixmap ( pixmap ) ; |
OGLVersion->setBackgroundOrigin ( QWidget::ParentOrigin ) ; | OGLVersion->setBackgroundOrigin ( QWidget::ParentOrigin ) ; |
OGLVersion->show ( ) ; | OGLVersion->show ( ) ; |
| |
OGLVersion1 = new QLabel ( BoardInfo.OGLVersion ( ), (QWidget *)this ) ; |
OGLVersion1 = new QLabel ( BoardInfo.OGLVersion ( ), reinterpret_cast<QWidget *>(this) ) ; |
OGLVersion1->setGeometry ( 180, 310, 300, 20 ) ; | OGLVersion1->setGeometry ( 180, 310, 300, 20 ) ; |
OGLVersion1->setAutoResize ( TRUE ) ; | OGLVersion1->setAutoResize ( TRUE ) ; |
OGLVersion1->setBackgroundPixmap ( pixmap ) ; | OGLVersion1->setBackgroundPixmap ( pixmap ) ; |
|
|
OGLVersion1->show ( ) ; | OGLVersion1->show ( ) ; |
| |
// ======== | // ======== |
Logo = new QLabel ( "", (QWidget *)this ) ; |
Logo = new QLabel ( "", reinterpret_cast<QWidget *>(this) ) ; |
Logo->setGeometry ( 10, 330, 72, 50 ) ; | Logo->setGeometry ( 10, 330, 72, 50 ) ; |
Logo->setBackgroundPixmap ( logopix ) ; | Logo->setBackgroundPixmap ( logopix ) ; |
Logo->show ( ) ; | Logo->show ( ) ; |