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

/*
This file is part of the KDE project
Copyright (C) 2004 Ariya Hidayat <ariya@kde.org>

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Library General Public License for more details.

You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB.  If not,
write to the Free Software Foundation, Inc., 51 Franklin Street,
Fifth Floor, Boston, MA 02110-1301, USA.
*/

/********************************************************************************
** Form generated from reading UI file 'SheetPropertiesWidget.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_SHEETPROPERTIESWIDGET_H
#define UI_SHEETPROPERTIESWIDGET_H

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

QT_BEGIN_NAMESPACE

class Ui_SheetPropertiesWidget
{
public:
    QVBoxLayout *vboxLayout;
    QHBoxLayout *hboxLayout;
    QHBoxLayout *hboxLayout1;
    QLabel *textLabel1;
    KComboBox *directionComboBox;
    QSpacerItem *spacerItem;
    QSpacerItem *spacerItem1;
    QGridLayout *gridLayout;
    QCheckBox *showCommentIndicatorCheckBox;
    QCheckBox *useLCModeCheckBox;
    QCheckBox *showPageOutlineCheckBox;
    QCheckBox *capitalizeFirstLetterCheckBox;
    QCheckBox *hideZeroCheckBox;
    QCheckBox *showFormulaCheckBox;
    QCheckBox *showColumnAsNumbersCheckBox;
    QCheckBox *showFormulaIndicatorCheckBox;
    QCheckBox *showGridCheckBox;
    QCheckBox *autoCalcCheckBox;

    void setupUi(QWidget *SheetPropertiesWidget)
    {
        if (SheetPropertiesWidget->objectName().isEmpty())
            SheetPropertiesWidget->setObjectName(QString::fromUtf8("SheetPropertiesWidget"));
        SheetPropertiesWidget->resize(438, 212);
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Minimum);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(SheetPropertiesWidget->sizePolicy().hasHeightForWidth());
        SheetPropertiesWidget->setSizePolicy(sizePolicy);
        vboxLayout = new QVBoxLayout(SheetPropertiesWidget);
        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
        hboxLayout = new QHBoxLayout();
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        hboxLayout1 = new QHBoxLayout();
        hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
        textLabel1 = new QLabel(SheetPropertiesWidget);
        textLabel1->setObjectName(QString::fromUtf8("textLabel1"));

        hboxLayout1->addWidget(textLabel1);

        directionComboBox = new KComboBox(SheetPropertiesWidget);
        directionComboBox->setObjectName(QString::fromUtf8("directionComboBox"));

        hboxLayout1->addWidget(directionComboBox);


        hboxLayout->addLayout(hboxLayout1);

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

        hboxLayout->addItem(spacerItem);


        vboxLayout->addLayout(hboxLayout);

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

        vboxLayout->addItem(spacerItem1);

        gridLayout = new QGridLayout();
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        showCommentIndicatorCheckBox = new QCheckBox(SheetPropertiesWidget);
        showCommentIndicatorCheckBox->setObjectName(QString::fromUtf8("showCommentIndicatorCheckBox"));

        gridLayout->addWidget(showCommentIndicatorCheckBox, 4, 1, 1, 1);

        useLCModeCheckBox = new QCheckBox(SheetPropertiesWidget);
        useLCModeCheckBox->setObjectName(QString::fromUtf8("useLCModeCheckBox"));

        gridLayout->addWidget(useLCModeCheckBox, 3, 0, 1, 1);

        showPageOutlineCheckBox = new QCheckBox(SheetPropertiesWidget);
        showPageOutlineCheckBox->setObjectName(QString::fromUtf8("showPageOutlineCheckBox"));

        gridLayout->addWidget(showPageOutlineCheckBox, 1, 1, 1, 1);

        capitalizeFirstLetterCheckBox = new QCheckBox(SheetPropertiesWidget);
        capitalizeFirstLetterCheckBox->setObjectName(QString::fromUtf8("capitalizeFirstLetterCheckBox"));

        gridLayout->addWidget(capitalizeFirstLetterCheckBox, 4, 0, 1, 1);

        hideZeroCheckBox = new QCheckBox(SheetPropertiesWidget);
        hideZeroCheckBox->setObjectName(QString::fromUtf8("hideZeroCheckBox"));

        gridLayout->addWidget(hideZeroCheckBox, 0, 0, 1, 1);

        showFormulaCheckBox = new QCheckBox(SheetPropertiesWidget);
        showFormulaCheckBox->setObjectName(QString::fromUtf8("showFormulaCheckBox"));

        gridLayout->addWidget(showFormulaCheckBox, 2, 1, 1, 1);

        showColumnAsNumbersCheckBox = new QCheckBox(SheetPropertiesWidget);
        showColumnAsNumbersCheckBox->setObjectName(QString::fromUtf8("showColumnAsNumbersCheckBox"));

        gridLayout->addWidget(showColumnAsNumbersCheckBox, 2, 0, 1, 1);

        showFormulaIndicatorCheckBox = new QCheckBox(SheetPropertiesWidget);
        showFormulaIndicatorCheckBox->setObjectName(QString::fromUtf8("showFormulaIndicatorCheckBox"));

        gridLayout->addWidget(showFormulaIndicatorCheckBox, 3, 1, 1, 1);

        showGridCheckBox = new QCheckBox(SheetPropertiesWidget);
        showGridCheckBox->setObjectName(QString::fromUtf8("showGridCheckBox"));

        gridLayout->addWidget(showGridCheckBox, 0, 1, 1, 1);

        autoCalcCheckBox = new QCheckBox(SheetPropertiesWidget);
        autoCalcCheckBox->setObjectName(QString::fromUtf8("autoCalcCheckBox"));

        gridLayout->addWidget(autoCalcCheckBox, 1, 0, 1, 1);


        vboxLayout->addLayout(gridLayout);

        QWidget::setTabOrder(directionComboBox, hideZeroCheckBox);
        QWidget::setTabOrder(hideZeroCheckBox, showGridCheckBox);
        QWidget::setTabOrder(showGridCheckBox, autoCalcCheckBox);
        QWidget::setTabOrder(autoCalcCheckBox, showPageOutlineCheckBox);
        QWidget::setTabOrder(showPageOutlineCheckBox, showColumnAsNumbersCheckBox);
        QWidget::setTabOrder(showColumnAsNumbersCheckBox, showFormulaCheckBox);
        QWidget::setTabOrder(showFormulaCheckBox, useLCModeCheckBox);
        QWidget::setTabOrder(useLCModeCheckBox, showFormulaIndicatorCheckBox);
        QWidget::setTabOrder(showFormulaIndicatorCheckBox, capitalizeFirstLetterCheckBox);
        QWidget::setTabOrder(capitalizeFirstLetterCheckBox, showCommentIndicatorCheckBox);

        retranslateUi(SheetPropertiesWidget);

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

    void retranslateUi(QWidget *SheetPropertiesWidget)
    {
        SheetPropertiesWidget->setWindowTitle(tr2i18n("SheetPropertiesBase", 0));
        textLabel1->setText(tr2i18n("Layout direction:", 0));
        directionComboBox->clear();
        directionComboBox->insertItems(0, QStringList()
         << tr2i18n("Left to Right", 0)
         << tr2i18n("Right to Left", 0)
        );
#ifndef UI_QT_NO_WHATSTHIS
        directionComboBox->setWhatsThis(tr2i18n("Default is that the first column of the sheet is on the left. If you choose Right to Left, then the first column will be on the right and the others added from right to left.", 0));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_WHATSTHIS
        showCommentIndicatorCheckBox->setWhatsThis(tr2i18n("If this box is checked cells containing comments will be marked by a small red triangle at the top right corner.", 0));
#endif // QT_NO_WHATSTHIS
        showCommentIndicatorCheckBox->setText(tr2i18n("Show c&omment indicator", 0));
#ifndef UI_QT_NO_WHATSTHIS
        useLCModeCheckBox->setWhatsThis(tr2i18n("If this box is checked the cell reference shown at the left end of the Formula Bar will be displayed in LC mode (i.e. L2C3) rather than in its normal form B3. This does not seem to be of much use at the moment.", 0));
#endif // QT_NO_WHATSTHIS
        useLCModeCheckBox->setText(tr2i18n("Use &LC mode", 0));
#ifndef UI_QT_NO_WHATSTHIS
        showPageOutlineCheckBox->setWhatsThis(tr2i18n("If you check this option, the page borders will be drawn on your current sheet. Per default the page borders are not displayed. It is useful to see the page borders if you want to print your sheet.", 0));
#endif // QT_NO_WHATSTHIS
        showPageOutlineCheckBox->setText(tr2i18n("Show page outline", 0));
#ifndef UI_QT_NO_WHATSTHIS
        capitalizeFirstLetterCheckBox->setWhatsThis(tr2i18n("Check this box and the first letter of any text you type in will automatically be converted to uppercase.", 0));
#endif // QT_NO_WHATSTHIS
        capitalizeFirstLetterCheckBox->setText(tr2i18n("&Convert first letter to uppercase", 0));
#ifndef UI_QT_NO_WHATSTHIS
        hideZeroCheckBox->setWhatsThis(tr2i18n("If this box is checked any cell containing the value zero will appear blank.", 0));
#endif // QT_NO_WHATSTHIS
        hideZeroCheckBox->setText(tr2i18n("&Hide zero", 0));
#ifndef UI_QT_NO_WHATSTHIS
        showFormulaCheckBox->setWhatsThis(tr2i18n("If this box is checked Calligra Sheets will display the actual formulae in cells rather than the results.", 0));
#endif // QT_NO_WHATSTHIS
        showFormulaCheckBox->setText(tr2i18n("Show &formula", 0));
#ifndef UI_QT_NO_WHATSTHIS
        showColumnAsNumbersCheckBox->setWhatsThis(tr2i18n("If this box is checked the column headings will show as numbers rather than as letters. Letters are default.", 0));
#endif // QT_NO_WHATSTHIS
        showColumnAsNumbersCheckBox->setText(tr2i18n("Show column as &numbers", 0));
#ifndef UI_QT_NO_WHATSTHIS
        showFormulaIndicatorCheckBox->setWhatsThis(tr2i18n("If this box is checked Calligra Sheets will display a small blue triangle at the bottom left corner of cells containing formulae. This is useful if you want to protect cells with formulae.", 0));
#endif // QT_NO_WHATSTHIS
        showFormulaIndicatorCheckBox->setText(tr2i18n("Show formula &indicator", 0));
#ifndef UI_QT_NO_WHATSTHIS
        showGridCheckBox->setWhatsThis(tr2i18n("If checked, the grid (the cell limits) will be shown. This is the default. If unchecked, the grid will be hidden.", 0));
#endif // QT_NO_WHATSTHIS
        showGridCheckBox->setText(tr2i18n("Show &grid", 0));
#ifndef UI_QT_NO_WHATSTHIS
        autoCalcCheckBox->setWhatsThis(tr2i18n("This setting controls whether formulae are recalculated automatically when the value of any cell they refer to changes.", 0));
#endif // QT_NO_WHATSTHIS
        autoCalcCheckBox->setText(tr2i18n("&Automatic recalculation", 0));
    } // retranslateUi

};

namespace Ui {
    class SheetPropertiesWidget: public Ui_SheetPropertiesWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // SHEETPROPERTIESWIDGET_H

