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

/********************************************************************************
** Form generated from reading UI file 'general.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_GENERAL_H
#define UI_GENERAL_H

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

QT_BEGIN_NAMESPACE

class Ui_General
{
public:
    QVBoxLayout *verticalLayout_2;
    QCheckBox *kcfg_RememberSessions;
    QCheckBox *kcfg_RememberHistory;
    QCheckBox *kcfg_WalletSupport;
    QCheckBox *kcfg_SystemTrayIcon;
    QCheckBox *kcfg_ShowStatusBar;
    QCheckBox *kcfg_KeepAspectRatio;
    QHBoxLayout *hboxLayout;
    QLabel *backgroundLabel;
    QSpacerItem *spacerItem;
    KColorButton *kcfg_BackgroundColor;
    QGroupBox *connectionGroupBox;
    QVBoxLayout *verticalLayout_3;
    QCheckBox *kcfg_ShowPreferencesForNewConnections;
    QCheckBox *kcfg_ResizeOnConnect;
    QCheckBox *kcfg_FullscreenOnConnect;
    QGroupBox *tabGroupBox;
    QVBoxLayout *verticalLayout;
    QCheckBox *kcfg_ShowTabBar;
    QCheckBox *kcfg_TabCloseButton;
    QCheckBox *kcfg_TabMiddleClick;
    QHBoxLayout *horizontalLayout;
    QLabel *tabOrientationLabel;
    KComboBox *kcfg_TabPosition;
    QSpacerItem *spacerItem1;

    void setupUi(QWidget *General)
    {
        if (General->objectName().isEmpty())
            General->setObjectName(QString::fromUtf8("General"));
        General->resize(363, 464);
        verticalLayout_2 = new QVBoxLayout(General);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        kcfg_RememberSessions = new QCheckBox(General);
        kcfg_RememberSessions->setObjectName(QString::fromUtf8("kcfg_RememberSessions"));

        verticalLayout_2->addWidget(kcfg_RememberSessions);

        kcfg_RememberHistory = new QCheckBox(General);
        kcfg_RememberHistory->setObjectName(QString::fromUtf8("kcfg_RememberHistory"));

        verticalLayout_2->addWidget(kcfg_RememberHistory);

        kcfg_WalletSupport = new QCheckBox(General);
        kcfg_WalletSupport->setObjectName(QString::fromUtf8("kcfg_WalletSupport"));

        verticalLayout_2->addWidget(kcfg_WalletSupport);

        kcfg_SystemTrayIcon = new QCheckBox(General);
        kcfg_SystemTrayIcon->setObjectName(QString::fromUtf8("kcfg_SystemTrayIcon"));

        verticalLayout_2->addWidget(kcfg_SystemTrayIcon);

        kcfg_ShowStatusBar = new QCheckBox(General);
        kcfg_ShowStatusBar->setObjectName(QString::fromUtf8("kcfg_ShowStatusBar"));

        verticalLayout_2->addWidget(kcfg_ShowStatusBar);

        kcfg_KeepAspectRatio = new QCheckBox(General);
        kcfg_KeepAspectRatio->setObjectName(QString::fromUtf8("kcfg_KeepAspectRatio"));

        verticalLayout_2->addWidget(kcfg_KeepAspectRatio);

        hboxLayout = new QHBoxLayout();
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        backgroundLabel = new QLabel(General);
        backgroundLabel->setObjectName(QString::fromUtf8("backgroundLabel"));

        hboxLayout->addWidget(backgroundLabel);

        spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout->addItem(spacerItem);

        kcfg_BackgroundColor = new KColorButton(General);
        kcfg_BackgroundColor->setObjectName(QString::fromUtf8("kcfg_BackgroundColor"));
        QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(kcfg_BackgroundColor->sizePolicy().hasHeightForWidth());
        kcfg_BackgroundColor->setSizePolicy(sizePolicy);

        hboxLayout->addWidget(kcfg_BackgroundColor);


        verticalLayout_2->addLayout(hboxLayout);

        connectionGroupBox = new QGroupBox(General);
        connectionGroupBox->setObjectName(QString::fromUtf8("connectionGroupBox"));
        verticalLayout_3 = new QVBoxLayout(connectionGroupBox);
        verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
        kcfg_ShowPreferencesForNewConnections = new QCheckBox(connectionGroupBox);
        kcfg_ShowPreferencesForNewConnections->setObjectName(QString::fromUtf8("kcfg_ShowPreferencesForNewConnections"));

        verticalLayout_3->addWidget(kcfg_ShowPreferencesForNewConnections);

        kcfg_ResizeOnConnect = new QCheckBox(connectionGroupBox);
        kcfg_ResizeOnConnect->setObjectName(QString::fromUtf8("kcfg_ResizeOnConnect"));

        verticalLayout_3->addWidget(kcfg_ResizeOnConnect);

        kcfg_FullscreenOnConnect = new QCheckBox(connectionGroupBox);
        kcfg_FullscreenOnConnect->setObjectName(QString::fromUtf8("kcfg_FullscreenOnConnect"));

        verticalLayout_3->addWidget(kcfg_FullscreenOnConnect);


        verticalLayout_2->addWidget(connectionGroupBox);

        tabGroupBox = new QGroupBox(General);
        tabGroupBox->setObjectName(QString::fromUtf8("tabGroupBox"));
        verticalLayout = new QVBoxLayout(tabGroupBox);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        kcfg_ShowTabBar = new QCheckBox(tabGroupBox);
        kcfg_ShowTabBar->setObjectName(QString::fromUtf8("kcfg_ShowTabBar"));

        verticalLayout->addWidget(kcfg_ShowTabBar);

        kcfg_TabCloseButton = new QCheckBox(tabGroupBox);
        kcfg_TabCloseButton->setObjectName(QString::fromUtf8("kcfg_TabCloseButton"));

        verticalLayout->addWidget(kcfg_TabCloseButton);

        kcfg_TabMiddleClick = new QCheckBox(tabGroupBox);
        kcfg_TabMiddleClick->setObjectName(QString::fromUtf8("kcfg_TabMiddleClick"));

        verticalLayout->addWidget(kcfg_TabMiddleClick);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        tabOrientationLabel = new QLabel(tabGroupBox);
        tabOrientationLabel->setObjectName(QString::fromUtf8("tabOrientationLabel"));

        horizontalLayout->addWidget(tabOrientationLabel);

        kcfg_TabPosition = new KComboBox(tabGroupBox);
        kcfg_TabPosition->setObjectName(QString::fromUtf8("kcfg_TabPosition"));

        horizontalLayout->addWidget(kcfg_TabPosition);


        verticalLayout->addLayout(horizontalLayout);


        verticalLayout_2->addWidget(tabGroupBox);

        spacerItem1 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);

        verticalLayout_2->addItem(spacerItem1);


        retranslateUi(General);

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

    void retranslateUi(QWidget *General)
    {
        kcfg_RememberSessions->setText(tr2i18n("Remember open sessions for next startup", 0));
        kcfg_RememberHistory->setText(tr2i18n("Remember connection history", 0));
        kcfg_WalletSupport->setText(tr2i18n("Remember passwords (KWallet)", 0));
        kcfg_SystemTrayIcon->setText(tr2i18n("Enable system tray icon", 0));
        kcfg_ShowStatusBar->setText(tr2i18n("Show status bar", 0));
        kcfg_KeepAspectRatio->setText(tr2i18n("Keep aspect ratio when scaling", 0));
        backgroundLabel->setText(tr2i18n("Background color of empty place:", 0));
        connectionGroupBox->setTitle(tr2i18n("When Connecting", 0));
        kcfg_ShowPreferencesForNewConnections->setText(tr2i18n("Show the preferences dialog for new connections", 0));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_ResizeOnConnect->setToolTip(tr2i18n("This option will resize the window to fit the connection size.  If it is too big, it will maximize the window.", 0));
#endif // QT_NO_TOOLTIP
        kcfg_ResizeOnConnect->setText(tr2i18n("Resize to fit", 0));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_FullscreenOnConnect->setToolTip(tr2i18n("This option switches to fullscreen only if the connection resolution is the same as the current screen resolution", 0));
#endif // QT_NO_TOOLTIP
        kcfg_FullscreenOnConnect->setText(tr2i18n("Switch to Fullscreen if appropriate", 0));
        tabGroupBox->setTitle(tr2i18n("Tab Settings", 0));
        kcfg_ShowTabBar->setText(tr2i18n("Always show tab bar", 0));
        kcfg_TabCloseButton->setText(tr2i18n("Show close button on tabs", 0));
        kcfg_TabMiddleClick->setText(tr2i18n("Middle-click on a tab closes it", 0));
        tabOrientationLabel->setText(tr2i18n("Tab position:", 0));
        kcfg_TabPosition->clear();
        kcfg_TabPosition->insertItems(0, QStringList()
         << tr2i18n("Top", 0)
         << tr2i18n("Bottom", 0)
         << tr2i18n("Left", 0)
         << tr2i18n("Right", 0)
        );
        Q_UNUSED(General);
    } // retranslateUi

};

namespace Ui {
    class General: public Ui_General {};
} // namespace Ui

QT_END_NAMESPACE

#endif // GENERAL_H

