#include <kdialog.h>
#include <klocale.h>

/********************************************************************************
** Form generated from reading UI file 'vncpreferences.ui'
**
** Created by: Qt User Interface Compiler version 4.8.7
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_VNCPREFERENCES_H
#define UI_VNCPREFERENCES_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QFormLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QSpacerItem>
#include <QtGui/QSpinBox>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "kcombobox.h"

QT_BEGIN_NAMESPACE

class Ui_VncPreferences
{
public:
    QVBoxLayout *verticalLayout;
    QGroupBox *vncGroupBox;
    QFormLayout *formLayout;
    QLabel *connectionLabel;
    KComboBox *kcfg_Quality;
    QVBoxLayout *vboxLayout;
    QCheckBox *kcfg_Scaling;
    QLabel *resolutionDummyLabel;
    QVBoxLayout *vboxLayout1;
    KComboBox *resolutionComboBox;
    QHBoxLayout *hboxLayout;
    QLabel *widthLabel;
    QSpinBox *kcfg_ScalingWidth;
    QLabel *heightLabel;
    QSpinBox *kcfg_ScalingHeight;
    QSpacerItem *verticalSpacer;

    void setupUi(QWidget *VncPreferences)
    {
        if (VncPreferences->objectName().isEmpty())
            VncPreferences->setObjectName(QString::fromUtf8("VncPreferences"));
        VncPreferences->resize(436, 151);
        verticalLayout = new QVBoxLayout(VncPreferences);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        vncGroupBox = new QGroupBox(VncPreferences);
        vncGroupBox->setObjectName(QString::fromUtf8("vncGroupBox"));
        formLayout = new QFormLayout(vncGroupBox);
        formLayout->setObjectName(QString::fromUtf8("formLayout"));
        connectionLabel = new QLabel(vncGroupBox);
        connectionLabel->setObjectName(QString::fromUtf8("connectionLabel"));

        formLayout->setWidget(0, QFormLayout::LabelRole, connectionLabel);

        kcfg_Quality = new KComboBox(vncGroupBox);
        kcfg_Quality->setObjectName(QString::fromUtf8("kcfg_Quality"));
        kcfg_Quality->setMinimumSize(QSize(280, 0));

        formLayout->setWidget(0, QFormLayout::FieldRole, kcfg_Quality);

        vboxLayout = new QVBoxLayout();
        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
        kcfg_Scaling = new QCheckBox(vncGroupBox);
        kcfg_Scaling->setObjectName(QString::fromUtf8("kcfg_Scaling"));

        vboxLayout->addWidget(kcfg_Scaling);

        resolutionDummyLabel = new QLabel(vncGroupBox);
        resolutionDummyLabel->setObjectName(QString::fromUtf8("resolutionDummyLabel"));

        vboxLayout->addWidget(resolutionDummyLabel);


        formLayout->setLayout(2, QFormLayout::LabelRole, vboxLayout);

        vboxLayout1 = new QVBoxLayout();
        vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
        resolutionComboBox = new KComboBox(vncGroupBox);
        resolutionComboBox->setObjectName(QString::fromUtf8("resolutionComboBox"));
        resolutionComboBox->setEnabled(false);
        resolutionComboBox->setMinimumSize(QSize(280, 0));

        vboxLayout1->addWidget(resolutionComboBox);

        hboxLayout = new QHBoxLayout();
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        widthLabel = new QLabel(vncGroupBox);
        widthLabel->setObjectName(QString::fromUtf8("widthLabel"));
        widthLabel->setEnabled(false);
        widthLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        hboxLayout->addWidget(widthLabel);

        kcfg_ScalingWidth = new QSpinBox(vncGroupBox);
        kcfg_ScalingWidth->setObjectName(QString::fromUtf8("kcfg_ScalingWidth"));
        kcfg_ScalingWidth->setEnabled(false);
        kcfg_ScalingWidth->setMaximum(9999);
        kcfg_ScalingWidth->setValue(800);

        hboxLayout->addWidget(kcfg_ScalingWidth);

        heightLabel = new QLabel(vncGroupBox);
        heightLabel->setObjectName(QString::fromUtf8("heightLabel"));
        heightLabel->setEnabled(false);
        heightLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        hboxLayout->addWidget(heightLabel);

        kcfg_ScalingHeight = new QSpinBox(vncGroupBox);
        kcfg_ScalingHeight->setObjectName(QString::fromUtf8("kcfg_ScalingHeight"));
        kcfg_ScalingHeight->setEnabled(false);
        kcfg_ScalingHeight->setMaximum(9999);
        kcfg_ScalingHeight->setValue(600);

        hboxLayout->addWidget(kcfg_ScalingHeight);


        vboxLayout1->addLayout(hboxLayout);


        formLayout->setLayout(2, QFormLayout::FieldRole, vboxLayout1);


        verticalLayout->addWidget(vncGroupBox);

        verticalSpacer = new QSpacerItem(428, 16, QSizePolicy::Minimum, QSizePolicy::Expanding);

        verticalLayout->addItem(verticalSpacer);

#ifndef UI_QT_NO_SHORTCUT
        connectionLabel->setBuddy(kcfg_Quality);
        widthLabel->setBuddy(kcfg_ScalingWidth);
        heightLabel->setBuddy(kcfg_ScalingHeight);
#endif // QT_NO_SHORTCUT

        retranslateUi(VncPreferences);

        resolutionComboBox->setCurrentIndex(1);


        QMetaObject::connectSlotsByName(VncPreferences);
    } // setupUi

    void retranslateUi(QWidget *VncPreferences)
    {
        vncGroupBox->setTitle(tr2i18n("Connection", 0));
        connectionLabel->setText(tr2i18n("Connection type:", 0));
        kcfg_Quality->clear();
        kcfg_Quality->insertItems(0, QStringList()
         << tr2i18n("High Quality (LAN, direct connection)", 0)
         << tr2i18n("Medium Quality (DSL, Cable, fast Internet)", 0)
         << tr2i18n("Low Quality (Modem, ISDN, slow Internet)", 0)
        );
#ifndef UI_QT_NO_WHATSTHIS
        kcfg_Quality->setWhatsThis(tr2i18n("Use this to specify the performance of your connection. Note that you should select the speed of the weakest link - even if you have a high speed connection, it will not help you if the remote computer uses a slow modem. Choosing a level of quality that is too high on a slow link will cause slower response times. Choosing a lower quality will increase latencies in high speed connections and results in lower image quality, especially in 'Low Quality' mode.", 0));
#endif // QT_NO_WHATSTHIS
        kcfg_Scaling->setText(tr2i18n("Scale to Size:", 0));
        resolutionComboBox->clear();
        resolutionComboBox->insertItems(0, QStringList()
         << tr2i18n("Minimal (640x480)", 0)
         << tr2i18n("Small (800x600)", 0)
         << tr2i18n("Normal (1024x768)", 0)
         << tr2i18n("Large (1280x1024)", 0)
         << tr2i18n("Very Large (1600x1200)", 0)
         << tr2i18n("Current Screen Resolution", 0)
         << tr2i18n("Custom Resolution (...)", 0)
        );
#ifndef UI_QT_NO_WHATSTHIS
        resolutionComboBox->setWhatsThis(tr2i18n("Here you can specify the resolution of the remote desktop. This resolution determines the size of the desktop that will be presented to you.", 0));
#endif // QT_NO_WHATSTHIS
        widthLabel->setText(tr2i18n("&Width:", 0));
#ifndef UI_QT_NO_WHATSTHIS
        kcfg_ScalingWidth->setWhatsThis(tr2i18n("This is the width of the remote desktop. You can only change this value manually if you select Custom as desktop resolution above.", 0));
#endif // QT_NO_WHATSTHIS
        heightLabel->setText(tr2i18n("H&eight:", 0));
#ifndef UI_QT_NO_WHATSTHIS
        kcfg_ScalingHeight->setWhatsThis(tr2i18n("This is the height of the remote desktop. You can only change this value manually if you select Custom as desktop resolution above.", 0));
#endif // QT_NO_WHATSTHIS
        Q_UNUSED(VncPreferences);
    } // retranslateUi

};

namespace Ui {
    class VncPreferences: public Ui_VncPreferences {};
} // namespace Ui

QT_END_NAMESPACE

#endif // VNCPREFERENCES_H

