Logo Search packages:      
Sourcecode: xcardii version File versions  Download package

xcardPutKeyData.cpp

/**********************************************************************

      --- Qt Architect generated file ---

      File: xcardPutKeyData.cpp
      Last generated: Mon Oct 15 17:17:31 2001

      DO NOT EDIT!!!  This file will be automatically
      regenerated by qtarch.  All changes will be lost.

 *********************************************************************/

#include <qpixmap.h>
#include <qlayout.h>
#include "xcardPutKeyData.h"

#include <qlabel.h>
#include <qframe.h>

xcardPutKeyData::xcardPutKeyData(QWidget *parent, const char *name)
                : QDialog(parent, name, TRUE, 0)
{
    QFrame *qtarch_Frame_1 = new QFrame(this, "Frame_1");
    qtarch_Frame_1->setGeometry(0, 0, 400, 370);
    qtarch_Frame_1->setMinimumSize(0, 0);
    qtarch_Frame_1->setMaximumSize(32767, 32767);
    qtarch_Frame_1->setFocusPolicy(QWidget::NoFocus);
    qtarch_Frame_1->setBackgroundMode(QWidget::PaletteBackground);
    qtarch_Frame_1->setBackgroundOrigin( QWidget::WidgetOrigin );
    qtarch_Frame_1->setFrameStyle( 0 );
    qtarch_Frame_1->setLineWidth( 1 );
    qtarch_Frame_1->setMidLineWidth( 0 );
    qtarch_Frame_1->setMargin( 0 );

    g_putKeyLabel1 = new QLabel(this, "Label_1");
    g_putKeyLabel1->setGeometry(20, 20, 370, 40);
    g_putKeyLabel1->setMinimumSize(0, 0);
    g_putKeyLabel1->setMaximumSize(32767, 32767);
    g_putKeyLabel1->setFocusPolicy(QWidget::NoFocus);
    g_putKeyLabel1->setBackgroundMode(QWidget::PaletteBackground);
    g_putKeyLabel1->setBackgroundOrigin( QWidget::WidgetOrigin );
    g_putKeyLabel1->setFrameStyle( 33 );
    g_putKeyLabel1->setLineWidth( 1 );
    g_putKeyLabel1->setMidLineWidth( 0 );
    g_putKeyLabel1->setMargin( 0 );
    g_putKeyLabel1->setTextFormat( Qt::AutoText );
    g_putKeyLabel1->setText( "Generate Key Pair" );
    g_putKeyLabel1->setAlignment( AlignHCenter|AlignVCenter|ExpandTabs );
    g_putKeyLabel1->setIndent( -1 );

    g_putKeyTypeLabel1 = new QLabel(this, "Label_2");
    g_putKeyTypeLabel1->setGeometry(140, 80, 60, 20);
    g_putKeyTypeLabel1->setMinimumSize(0, 0);
    g_putKeyTypeLabel1->setMaximumSize(32767, 32767);
    g_putKeyTypeLabel1->setFocusPolicy(QWidget::NoFocus);
    g_putKeyTypeLabel1->setBackgroundMode(QWidget::PaletteBackground);
    g_putKeyTypeLabel1->setBackgroundOrigin( QWidget::WidgetOrigin );
    g_putKeyTypeLabel1->setFrameStyle( 0 );
    g_putKeyTypeLabel1->setLineWidth( 1 );
    g_putKeyTypeLabel1->setMidLineWidth( 0 );
    g_putKeyTypeLabel1->setMargin( 0 );
    g_putKeyTypeLabel1->setTextFormat( Qt::AutoText );
    g_putKeyTypeLabel1->setText( "Key Type" );
    g_putKeyTypeLabel1->setAlignment( AlignLeft|AlignVCenter|ExpandTabs );
    g_putKeyTypeLabel1->setIndent( -1 );

    g_putKeySizeLabel1 = new QLabel(this, "Label_3");
    g_putKeySizeLabel1->setGeometry(300, 80, 50, 20);
    g_putKeySizeLabel1->setMinimumSize(0, 0);
    g_putKeySizeLabel1->setMaximumSize(32767, 32767);
    g_putKeySizeLabel1->setFocusPolicy(QWidget::NoFocus);
    g_putKeySizeLabel1->setBackgroundMode(QWidget::PaletteBackground);
    g_putKeySizeLabel1->setBackgroundOrigin( QWidget::WidgetOrigin );
    g_putKeySizeLabel1->setFrameStyle( 0 );
    g_putKeySizeLabel1->setLineWidth( 1 );
    g_putKeySizeLabel1->setMidLineWidth( 0 );
    g_putKeySizeLabel1->setMargin( 0 );
    g_putKeySizeLabel1->setTextFormat( Qt::AutoText );
    g_putKeySizeLabel1->setText( "Key Size" );
    g_putKeySizeLabel1->setAlignment( AlignLeft|AlignVCenter|ExpandTabs );
    g_putKeySizeLabel1->setIndent( -1 );

    QFrame *qtarch_Frame_3 = new QFrame(this, "Frame_3");
    qtarch_Frame_3->setGeometry(20, 180, 370, 150);
    qtarch_Frame_3->setMinimumSize(0, 0);
    qtarch_Frame_3->setMaximumSize(32767, 32767);
    qtarch_Frame_3->setFocusPolicy(QWidget::NoFocus);
    qtarch_Frame_3->setBackgroundMode(QWidget::PaletteBackground);
    qtarch_Frame_3->setBackgroundOrigin( QWidget::WidgetOrigin );
    qtarch_Frame_3->setFrameStyle( 49 );
    qtarch_Frame_3->setLineWidth( 1 );
    qtarch_Frame_3->setMidLineWidth( 0 );
    qtarch_Frame_3->setMargin( 0 );

    QLabel *qtarch_Label_8 = new QLabel(this, "Label_8");
    qtarch_Label_8->setGeometry(20, 150, 70, 20);
    qtarch_Label_8->setMinimumSize(0, 0);
    qtarch_Label_8->setMaximumSize(32767, 32767);
    qtarch_Label_8->setFocusPolicy(QWidget::NoFocus);
    qtarch_Label_8->setBackgroundMode(QWidget::PaletteBackground);
    qtarch_Label_8->setBackgroundOrigin( QWidget::WidgetOrigin );
    qtarch_Label_8->setFrameStyle( 0 );
    qtarch_Label_8->setLineWidth( 1 );
    qtarch_Label_8->setMidLineWidth( 0 );
    qtarch_Label_8->setMargin( 0 );
    qtarch_Label_8->setTextFormat( Qt::AutoText );
    qtarch_Label_8->setText( "Permissions" );
    qtarch_Label_8->setAlignment( AlignLeft|AlignVCenter|ExpandTabs );
    qtarch_Label_8->setIndent( -1 );

    QLabel *qtarch_Label_9 = new QLabel(this, "Label_9");
    qtarch_Label_9->setGeometry(30, 190, 40, 20);
    qtarch_Label_9->setMinimumSize(0, 0);
    qtarch_Label_9->setMaximumSize(32767, 32767);
    qtarch_Label_9->setFocusPolicy(QWidget::NoFocus);
    qtarch_Label_9->setBackgroundMode(QWidget::PaletteBackground);
    qtarch_Label_9->setBackgroundOrigin( QWidget::WidgetOrigin );
    qtarch_Label_9->setFrameStyle( 0 );
    qtarch_Label_9->setLineWidth( 1 );
    qtarch_Label_9->setMidLineWidth( 0 );
    qtarch_Label_9->setMargin( 0 );
    qtarch_Label_9->setTextFormat( Qt::AutoText );
    qtarch_Label_9->setText( "Read" );
    qtarch_Label_9->setAlignment( AlignLeft|AlignVCenter|ExpandTabs );
    qtarch_Label_9->setIndent( -1 );

    g_readPermCombo1 = new QListBox(this, "ListBox_3");
    g_readPermCombo1->setGeometry(30, 220, 90, 100);
    g_readPermCombo1->setMinimumSize(0, 0);
    g_readPermCombo1->setMaximumSize(32767, 32767);
    g_readPermCombo1->setFocusPolicy(QWidget::TabFocus);
    g_readPermCombo1->setBackgroundMode(QWidget::PaletteBackground);
    g_readPermCombo1->setBackgroundOrigin( QWidget::WidgetOrigin );
    g_readPermCombo1->setFrameStyle( 54 );
    g_readPermCombo1->setLineWidth( 2 );
    g_readPermCombo1->setMidLineWidth( 0 );
    g_readPermCombo1->setMargin( 0 );
    g_readPermCombo1->setResizePolicy( QScrollView::Manual );
    g_readPermCombo1->setVScrollBarMode( QScrollView::Auto );
    g_readPermCombo1->setHScrollBarMode( QScrollView::Auto );
    g_readPermCombo1->setDragAutoScroll( TRUE );
    g_readPermCombo1->insertItem( "Allowed" );
    g_readPermCombo1->insertItem( "UnAllowed" );
    g_readPermCombo1->setSelectionMode( QListBox::Multi );
    g_readPermCombo1->setColumnMode( 1 );
    g_readPermCombo1->setRowMode( QListBox::Variable );

    QLabel *qtarch_Label_10 = new QLabel(this, "Label_10");
    qtarch_Label_10->setGeometry(160, 190, 40, 20);
    qtarch_Label_10->setMinimumSize(0, 0);
    qtarch_Label_10->setMaximumSize(32767, 32767);
    qtarch_Label_10->setFocusPolicy(QWidget::NoFocus);
    qtarch_Label_10->setBackgroundMode(QWidget::PaletteBackground);
    qtarch_Label_10->setBackgroundOrigin( QWidget::WidgetOrigin );
    qtarch_Label_10->setFrameStyle( 0 );
    qtarch_Label_10->setLineWidth( 1 );
    qtarch_Label_10->setMidLineWidth( 0 );
    qtarch_Label_10->setMargin( 0 );
    qtarch_Label_10->setTextFormat( Qt::AutoText );
    qtarch_Label_10->setText( "Write" );
    qtarch_Label_10->setAlignment( AlignLeft|AlignVCenter|ExpandTabs );
    qtarch_Label_10->setIndent( -1 );

    g_writePermCombo1 = new QListBox(this, "ListBox_4");
    g_writePermCombo1->setGeometry(160, 220, 90, 100);
    g_writePermCombo1->setMinimumSize(0, 0);
    g_writePermCombo1->setMaximumSize(32767, 32767);
    g_writePermCombo1->setFocusPolicy(QWidget::TabFocus);
    g_writePermCombo1->setBackgroundMode(QWidget::PaletteBackground);
    g_writePermCombo1->setBackgroundOrigin( QWidget::WidgetOrigin );
    g_writePermCombo1->setFrameStyle( 54 );
    g_writePermCombo1->setLineWidth( 2 );
    g_writePermCombo1->setMidLineWidth( 0 );
    g_writePermCombo1->setMargin( 0 );
    g_writePermCombo1->setResizePolicy( QScrollView::Manual );
    g_writePermCombo1->setVScrollBarMode( QScrollView::Auto );
    g_writePermCombo1->setHScrollBarMode( QScrollView::Auto );
    g_writePermCombo1->setDragAutoScroll( TRUE );
    g_writePermCombo1->insertItem( "Allowed" );
    g_writePermCombo1->insertItem( "UnAllowed" );
    g_writePermCombo1->setSelectionMode( QListBox::Multi );
    g_writePermCombo1->setColumnMode( 1 );
    g_writePermCombo1->setRowMode( QListBox::Variable );

    QLabel *qtarch_Label_11 = new QLabel(this, "Label_11");
    qtarch_Label_11->setGeometry(290, 190, 70, 20);
    qtarch_Label_11->setMinimumSize(0, 0);
    qtarch_Label_11->setMaximumSize(32767, 32767);
    qtarch_Label_11->setFocusPolicy(QWidget::NoFocus);
    qtarch_Label_11->setBackgroundMode(QWidget::PaletteBackground);
    qtarch_Label_11->setBackgroundOrigin( QWidget::WidgetOrigin );
    qtarch_Label_11->setFrameStyle( 0 );
    qtarch_Label_11->setLineWidth( 1 );
    qtarch_Label_11->setMidLineWidth( 0 );
    qtarch_Label_11->setMargin( 0 );
    qtarch_Label_11->setTextFormat( Qt::AutoText );
    qtarch_Label_11->setText( "Usage" );
    qtarch_Label_11->setAlignment( AlignLeft|AlignVCenter|ExpandTabs );
    qtarch_Label_11->setIndent( -1 );

    g_usagePermCombo1 = new QListBox(this, "ListBox_5");
    g_usagePermCombo1->setGeometry(290, 220, 90, 100);
    g_usagePermCombo1->setMinimumSize(0, 0);
    g_usagePermCombo1->setMaximumSize(32767, 32767);
    g_usagePermCombo1->setFocusPolicy(QWidget::TabFocus);
    g_usagePermCombo1->setBackgroundMode(QWidget::PaletteBackground);
    g_usagePermCombo1->setBackgroundOrigin( QWidget::WidgetOrigin );
    g_usagePermCombo1->setFrameStyle( 54 );
    g_usagePermCombo1->setLineWidth( 2 );
    g_usagePermCombo1->setMidLineWidth( 0 );
    g_usagePermCombo1->setMargin( 0 );
    g_usagePermCombo1->setResizePolicy( QScrollView::Manual );
    g_usagePermCombo1->setVScrollBarMode( QScrollView::Auto );
    g_usagePermCombo1->setHScrollBarMode( QScrollView::Auto );
    g_usagePermCombo1->setDragAutoScroll( TRUE );
    g_usagePermCombo1->insertItem( "Allowed" );
    g_usagePermCombo1->insertItem( "UnAllowed" );
    g_usagePermCombo1->setSelectionMode( QListBox::Multi );
    g_usagePermCombo1->setColumnMode( 1 );
    g_usagePermCombo1->setRowMode( QListBox::Variable );

    g_putKeyOKButton1 = new QPushButton(this, "PushButton_2");
    g_putKeyOKButton1->setGeometry(20, 340, 100, 30);
    g_putKeyOKButton1->setMinimumSize(0, 0);
    g_putKeyOKButton1->setMaximumSize(32767, 32767);
    g_putKeyOKButton1->setFocusPolicy(QWidget::TabFocus);
    g_putKeyOKButton1->setBackgroundMode(QWidget::PaletteButton);
    g_putKeyOKButton1->setBackgroundOrigin( QWidget::WidgetOrigin );
    g_putKeyOKButton1->setText( "OK" );
    g_putKeyOKButton1->setAutoRepeat( FALSE );
    g_putKeyOKButton1->setToggleButton( FALSE );
    g_putKeyOKButton1->setDefault( TRUE );
    g_putKeyOKButton1->setAutoDefault( FALSE );
    connect(g_putKeyOKButton1, SIGNAL(clicked()), SLOT(XCOKPutKeyClicked()));

    g_putKeyCancelButton1 = new QPushButton(this, "PushButton_3");
    g_putKeyCancelButton1->setGeometry(290, 340, 100, 30);
    g_putKeyCancelButton1->setMinimumSize(0, 0);
    g_putKeyCancelButton1->setMaximumSize(32767, 32767);
    g_putKeyCancelButton1->setFocusPolicy(QWidget::TabFocus);
    g_putKeyCancelButton1->setBackgroundMode(QWidget::PaletteButton);
    g_putKeyCancelButton1->setBackgroundOrigin( QWidget::WidgetOrigin );
    g_putKeyCancelButton1->setText( "Cancel" );
    g_putKeyCancelButton1->setAutoRepeat( FALSE );
    g_putKeyCancelButton1->setToggleButton( FALSE );
    g_putKeyCancelButton1->setDefault( FALSE );
    g_putKeyCancelButton1->setAutoDefault( FALSE );
    connect(g_putKeyCancelButton1, SIGNAL(clicked()), SLOT(XCCancelPutKeyClicked()));

    g_putKeyFileSelectLabel1 = new QLabel(this, "Label_12");
    g_putKeyFileSelectLabel1->setGeometry(170, 150, 210, 20);
    g_putKeyFileSelectLabel1->setMinimumSize(0, 0);
    g_putKeyFileSelectLabel1->setMaximumSize(32767, 32767);
    g_putKeyFileSelectLabel1->setFocusPolicy(QWidget::NoFocus);
    g_putKeyFileSelectLabel1->setBackgroundMode(QWidget::PaletteBackground);
    g_putKeyFileSelectLabel1->setBackgroundOrigin( QWidget::WidgetOrigin );
    g_putKeyFileSelectLabel1->setFrameStyle( 0 );
    g_putKeyFileSelectLabel1->setLineWidth( 1 );
    g_putKeyFileSelectLabel1->setMidLineWidth( 0 );
    g_putKeyFileSelectLabel1->setMargin( 0 );
    g_putKeyFileSelectLabel1->setTextFormat( Qt::AutoText );
    g_putKeyFileSelectLabel1->setText( "No File Selected" );
    g_putKeyFileSelectLabel1->setAlignment( AlignLeft|AlignVCenter|ExpandTabs );
    g_putKeyFileSelectLabel1->setIndent( -1 );

    g_putKeyTypeBox1 = new QComboBox(FALSE, this, "ComboBox_1");
    g_putKeyTypeBox1->setGeometry(140, 110, 120, 20);
    g_putKeyTypeBox1->setMinimumSize(0, 0);
    g_putKeyTypeBox1->setMaximumSize(32767, 32767);
    g_putKeyTypeBox1->setFocusPolicy(QWidget::StrongFocus);
    g_putKeyTypeBox1->setBackgroundMode(QWidget::PaletteButton);
    g_putKeyTypeBox1->setBackgroundOrigin( QWidget::WidgetOrigin );
    g_putKeyTypeBox1->setSizeLimit( 10 );
    g_putKeyTypeBox1->insertItem( "RSA CRT" );
    g_putKeyTypeBox1->setMaxCount( 2147483647 );
    g_putKeyTypeBox1->setAutoCompletion( FALSE );
    g_putKeyTypeBox1->setDuplicatesEnabled( TRUE );
    connect(g_putKeyTypeBox1, SIGNAL(activated(const QString&)), SLOT(XCKeyTypeChanged(const QString&)));

    g_putKeySizeBox1 = new QComboBox(FALSE, this, "ComboBox_2");
    g_putKeySizeBox1->setGeometry(300, 110, 90, 20);
    g_putKeySizeBox1->setMinimumSize(0, 0);
    g_putKeySizeBox1->setMaximumSize(32767, 32767);
    g_putKeySizeBox1->setFocusPolicy(QWidget::StrongFocus);
    g_putKeySizeBox1->setBackgroundMode(QWidget::PaletteButton);
    g_putKeySizeBox1->setBackgroundOrigin( QWidget::WidgetOrigin );
    g_putKeySizeBox1->setSizeLimit( 10 );
    g_putKeySizeBox1->insertItem( "2048" );
    g_putKeySizeBox1->insertItem( "1024" );
    g_putKeySizeBox1->insertItem( "768" );
    g_putKeySizeBox1->insertItem( "512" );
    g_putKeySizeBox1->setMaxCount( 2147483647 );
    g_putKeySizeBox1->setAutoCompletion( FALSE );
    g_putKeySizeBox1->setDuplicatesEnabled( TRUE );
    connect(g_putKeySizeBox1, SIGNAL(activated(int)), SLOT(XCKeySizeSelected(int)));

    g_putKeyNumberBox1 = new QComboBox(FALSE, this, "ComboBox_3");
    g_putKeyNumberBox1->setGeometry(20, 110, 80, 20);
    g_putKeyNumberBox1->setMinimumSize(0, 0);
    g_putKeyNumberBox1->setMaximumSize(32767, 32767);
    g_putKeyNumberBox1->setFocusPolicy(QWidget::StrongFocus);
    g_putKeyNumberBox1->setBackgroundMode(QWidget::PaletteButton);
    g_putKeyNumberBox1->setBackgroundOrigin( QWidget::WidgetOrigin );
    g_putKeyNumberBox1->setSizeLimit( 10 );
    g_putKeyNumberBox1->setMaxCount( 2147483647 );
    g_putKeyNumberBox1->setAutoCompletion( FALSE );
    g_putKeyNumberBox1->setDuplicatesEnabled( TRUE );

    QLabel *qtarch_Label_13 = new QLabel(this, "Label_13");
    qtarch_Label_13->setGeometry(20, 80, 40, 20);
    qtarch_Label_13->setMinimumSize(0, 0);
    qtarch_Label_13->setMaximumSize(32767, 32767);
    qtarch_Label_13->setFocusPolicy(QWidget::NoFocus);
    qtarch_Label_13->setBackgroundMode(QWidget::PaletteBackground);
    qtarch_Label_13->setBackgroundOrigin( QWidget::WidgetOrigin );
    qtarch_Label_13->setFrameStyle( 0 );
    qtarch_Label_13->setLineWidth( 1 );
    qtarch_Label_13->setMidLineWidth( 0 );
    qtarch_Label_13->setMargin( 0 );
    qtarch_Label_13->setTextFormat( Qt::AutoText );
    qtarch_Label_13->setText( "Key #" );
    qtarch_Label_13->setAlignment( AlignLeft|AlignVCenter|ExpandTabs );
    qtarch_Label_13->setIndent( -1 );

    resize(410,380);
    setMinimumSize(410, 380);
    setMaximumSize(410, 380);

    QWidget::setTabOrder(g_readPermCombo1,g_writePermCombo1);
    QWidget::setTabOrder(g_writePermCombo1,g_usagePermCombo1);
    QWidget::setTabOrder(g_usagePermCombo1,g_putKeyOKButton1);
    QWidget::setTabOrder(g_putKeyOKButton1,g_putKeyCancelButton1);
    QWidget::setTabOrder(g_putKeyCancelButton1,g_putKeyTypeBox1);
    QWidget::setTabOrder(g_putKeyTypeBox1,g_putKeySizeBox1);
    QWidget::setTabOrder(g_putKeySizeBox1,g_putKeyNumberBox1);
}

xcardPutKeyData::~xcardPutKeyData()
{
}

Generated by  Doxygen 1.6.0   Back to index