#include <klocalizedstring.h>

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

#ifndef UI_COMMITMESSAGE_H
#define UI_COMMITMESSAGE_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QFrame>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSplitter>
#include <QtWidgets/QTreeView>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "kcombobox.h"
#include "ksvnwidgets/depthselector.h"
#include "ktextedit.h"

QT_BEGIN_NAMESPACE

class Ui_CommitMessage
{
public:
    QVBoxLayout *verticalLayout_3;
    QSplitter *m_MainSplitter;
    QFrame *m_ReviewFrame;
    QHBoxLayout *horizontalLayout;
    QVBoxLayout *verticalLayout_4;
    QLabel *m_Reviewlabel;
    QTreeView *m_CommitItemTree;
    QVBoxLayout *verticalLayout;
    QPushButton *m_SelectAllButton;
    QPushButton *m_UnselectAllButton;
    QPushButton *m_HideNewItems;
    QPushButton *m_MarkUnversioned;
    QPushButton *m_UnmarkUnversioned;
    QPushButton *m_RevertItemButton;
    QPushButton *m_DiffItem;
    QSpacerItem *verticalSpacer;
    QFrame *m_EditFrame;
    QVBoxLayout *verticalLayout_2;
    QLabel *m_HeadLabel;
    KTextEdit *m_LogEdit;
    QGridLayout *gridLayout;
    KComboBox *m_LogHistory;
    QLabel *m_LogLabel;
    QPushButton *m_insert_file_button;
    QHBoxLayout *m_CheckBoxLayout;
    QCheckBox *m_keepLocksButton;
    DepthSelector *m_DepthSelector;

    void setupUi(QWidget *CommitMessage)
    {
        if (CommitMessage->objectName().isEmpty())
            CommitMessage->setObjectName(QStringLiteral("CommitMessage"));
        CommitMessage->resize(600, 400);
        verticalLayout_3 = new QVBoxLayout(CommitMessage);
        verticalLayout_3->setSpacing(2);
        verticalLayout_3->setContentsMargins(2, 2, 2, 2);
        verticalLayout_3->setObjectName(QStringLiteral("verticalLayout_3"));
        m_MainSplitter = new QSplitter(CommitMessage);
        m_MainSplitter->setObjectName(QStringLiteral("m_MainSplitter"));
        m_MainSplitter->setOrientation(Qt::Vertical);
        m_ReviewFrame = new QFrame(m_MainSplitter);
        m_ReviewFrame->setObjectName(QStringLiteral("m_ReviewFrame"));
        m_ReviewFrame->setFrameShape(QFrame::StyledPanel);
        m_ReviewFrame->setFrameShadow(QFrame::Raised);
        horizontalLayout = new QHBoxLayout(m_ReviewFrame);
        horizontalLayout->setSpacing(2);
        horizontalLayout->setContentsMargins(2, 2, 2, 2);
        horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
        verticalLayout_4 = new QVBoxLayout();
        verticalLayout_4->setSpacing(2);
        verticalLayout_4->setObjectName(QStringLiteral("verticalLayout_4"));
        m_Reviewlabel = new QLabel(m_ReviewFrame);
        m_Reviewlabel->setObjectName(QStringLiteral("m_Reviewlabel"));
        m_Reviewlabel->setAlignment(Qt::AlignCenter);
        m_Reviewlabel->setWordWrap(false);

        verticalLayout_4->addWidget(m_Reviewlabel);

        m_CommitItemTree = new QTreeView(m_ReviewFrame);
        m_CommitItemTree->setObjectName(QStringLiteral("m_CommitItemTree"));
        m_CommitItemTree->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
        m_CommitItemTree->setRootIsDecorated(false);
        m_CommitItemTree->setItemsExpandable(false);
        m_CommitItemTree->setSortingEnabled(true);
        m_CommitItemTree->setAllColumnsShowFocus(true);

        verticalLayout_4->addWidget(m_CommitItemTree);


        horizontalLayout->addLayout(verticalLayout_4);

        verticalLayout = new QVBoxLayout();
        verticalLayout->setSpacing(2);
        verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
        m_SelectAllButton = new QPushButton(m_ReviewFrame);
        m_SelectAllButton->setObjectName(QStringLiteral("m_SelectAllButton"));

        verticalLayout->addWidget(m_SelectAllButton);

        m_UnselectAllButton = new QPushButton(m_ReviewFrame);
        m_UnselectAllButton->setObjectName(QStringLiteral("m_UnselectAllButton"));

        verticalLayout->addWidget(m_UnselectAllButton);

        m_HideNewItems = new QPushButton(m_ReviewFrame);
        m_HideNewItems->setObjectName(QStringLiteral("m_HideNewItems"));
        m_HideNewItems->setCheckable(true);

        verticalLayout->addWidget(m_HideNewItems);

        m_MarkUnversioned = new QPushButton(m_ReviewFrame);
        m_MarkUnversioned->setObjectName(QStringLiteral("m_MarkUnversioned"));

        verticalLayout->addWidget(m_MarkUnversioned);

        m_UnmarkUnversioned = new QPushButton(m_ReviewFrame);
        m_UnmarkUnversioned->setObjectName(QStringLiteral("m_UnmarkUnversioned"));

        verticalLayout->addWidget(m_UnmarkUnversioned);

        m_RevertItemButton = new QPushButton(m_ReviewFrame);
        m_RevertItemButton->setObjectName(QStringLiteral("m_RevertItemButton"));

        verticalLayout->addWidget(m_RevertItemButton);

        m_DiffItem = new QPushButton(m_ReviewFrame);
        m_DiffItem->setObjectName(QStringLiteral("m_DiffItem"));

        verticalLayout->addWidget(m_DiffItem);

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

        verticalLayout->addItem(verticalSpacer);


        horizontalLayout->addLayout(verticalLayout);

        m_MainSplitter->addWidget(m_ReviewFrame);
        m_EditFrame = new QFrame(m_MainSplitter);
        m_EditFrame->setObjectName(QStringLiteral("m_EditFrame"));
        m_EditFrame->setFrameShape(QFrame::StyledPanel);
        m_EditFrame->setFrameShadow(QFrame::Raised);
        verticalLayout_2 = new QVBoxLayout(m_EditFrame);
        verticalLayout_2->setSpacing(2);
        verticalLayout_2->setContentsMargins(2, 2, 2, 2);
        verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
        m_HeadLabel = new QLabel(m_EditFrame);
        m_HeadLabel->setObjectName(QStringLiteral("m_HeadLabel"));
        m_HeadLabel->setAlignment(Qt::AlignCenter);
        m_HeadLabel->setWordWrap(false);

        verticalLayout_2->addWidget(m_HeadLabel);

        m_LogEdit = new KTextEdit(m_EditFrame);
        m_LogEdit->setObjectName(QStringLiteral("m_LogEdit"));

        verticalLayout_2->addWidget(m_LogEdit);

        m_MainSplitter->addWidget(m_EditFrame);

        verticalLayout_3->addWidget(m_MainSplitter);

        gridLayout = new QGridLayout();
        gridLayout->setSpacing(2);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        m_LogHistory = new KComboBox(CommitMessage);
        m_LogHistory->setObjectName(QStringLiteral("m_LogHistory"));
        QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(2);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(m_LogHistory->sizePolicy().hasHeightForWidth());
        m_LogHistory->setSizePolicy(sizePolicy);
        m_LogHistory->setDuplicatesEnabled(false);

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

        m_LogLabel = new QLabel(CommitMessage);
        m_LogLabel->setObjectName(QStringLiteral("m_LogLabel"));
        m_LogLabel->setWordWrap(false);

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

        m_insert_file_button = new QPushButton(CommitMessage);
        m_insert_file_button->setObjectName(QStringLiteral("m_insert_file_button"));
        QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Fixed);
        sizePolicy1.setHorizontalStretch(1);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(m_insert_file_button->sizePolicy().hasHeightForWidth());
        m_insert_file_button->setSizePolicy(sizePolicy1);

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


        verticalLayout_3->addLayout(gridLayout);

        m_CheckBoxLayout = new QHBoxLayout();
        m_CheckBoxLayout->setSpacing(2);
        m_CheckBoxLayout->setObjectName(QStringLiteral("m_CheckBoxLayout"));
        m_keepLocksButton = new QCheckBox(CommitMessage);
        m_keepLocksButton->setObjectName(QStringLiteral("m_keepLocksButton"));

        m_CheckBoxLayout->addWidget(m_keepLocksButton);

        m_DepthSelector = new DepthSelector(CommitMessage);
        m_DepthSelector->setObjectName(QStringLiteral("m_DepthSelector"));

        m_CheckBoxLayout->addWidget(m_DepthSelector);


        verticalLayout_3->addLayout(m_CheckBoxLayout);

        QWidget::setTabOrder(m_CommitItemTree, m_LogEdit);
        QWidget::setTabOrder(m_LogEdit, m_SelectAllButton);
        QWidget::setTabOrder(m_SelectAllButton, m_UnselectAllButton);
        QWidget::setTabOrder(m_UnselectAllButton, m_HideNewItems);
        QWidget::setTabOrder(m_HideNewItems, m_MarkUnversioned);
        QWidget::setTabOrder(m_MarkUnversioned, m_UnmarkUnversioned);
        QWidget::setTabOrder(m_UnmarkUnversioned, m_RevertItemButton);
        QWidget::setTabOrder(m_RevertItemButton, m_DiffItem);
        QWidget::setTabOrder(m_DiffItem, m_LogHistory);
        QWidget::setTabOrder(m_LogHistory, m_insert_file_button);
        QWidget::setTabOrder(m_insert_file_button, m_keepLocksButton);

        retranslateUi(CommitMessage);
        QObject::connect(m_LogHistory, SIGNAL(activated(int)), CommitMessage, SLOT(slotHistoryActivated(int)));
        QObject::connect(m_MarkUnversioned, SIGNAL(clicked()), CommitMessage, SLOT(slotMarkUnversioned()));
        QObject::connect(m_UnmarkUnversioned, SIGNAL(clicked()), CommitMessage, SLOT(slotUnmarkUnversioned()));
        QObject::connect(m_DiffItem, SIGNAL(clicked()), CommitMessage, SLOT(slotDiffSelected()));
        QObject::connect(m_HideNewItems, SIGNAL(toggled(bool)), CommitMessage, SLOT(hideNewItems(bool)));
        QObject::connect(m_insert_file_button, SIGNAL(clicked()), CommitMessage, SLOT(insertFile()));
        QObject::connect(m_RevertItemButton, SIGNAL(clicked()), CommitMessage, SLOT(slotRevertSelected()));
        QObject::connect(m_CommitItemTree, SIGNAL(doubleClicked(QModelIndex)), CommitMessage, SLOT(slotItemDoubleClicked(QModelIndex)));
        QObject::connect(m_SelectAllButton, SIGNAL(clicked()), CommitMessage, SLOT(slotSelectAll()));
        QObject::connect(m_UnselectAllButton, SIGNAL(clicked()), CommitMessage, SLOT(slotUnselectAll()));

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

    void retranslateUi(QWidget *CommitMessage)
    {
        CommitMessage->setWindowTitle(tr2i18n("Commit Message", 0));
        m_Reviewlabel->setText(tr2i18n("Review affected items", 0));
        m_SelectAllButton->setText(tr2i18n("Select all", 0));
        m_UnselectAllButton->setText(tr2i18n("Unselect all", 0));
        m_HideNewItems->setText(tr2i18n("Hide new items", 0));
#ifndef UI_QT_NO_TOOLTIP
        m_MarkUnversioned->setToolTip(tr2i18n("Mark all new e.g. not versioned items for add and commit.", 0));
#endif // QT_NO_TOOLTIP
        m_MarkUnversioned->setText(tr2i18n("Select new items", 0));
#ifndef UI_QT_NO_TOOLTIP
        m_UnmarkUnversioned->setToolTip(tr2i18n("Unmark all unversioned items so they will be ignored.", 0));
#endif // QT_NO_TOOLTIP
        m_UnmarkUnversioned->setText(tr2i18n("Unselect new items", 0));
#ifndef UI_QT_NO_TOOLTIP
        m_RevertItemButton->setToolTip(tr2i18n("Revert highlighted item", 0));
#endif // QT_NO_TOOLTIP
        m_RevertItemButton->setText(tr2i18n("Revert item", 0));
#ifndef UI_QT_NO_TOOLTIP
        m_DiffItem->setToolTip(tr2i18n("Generates and display difference against repository of selected item", 0));
#endif // QT_NO_TOOLTIP
        m_DiffItem->setText(tr2i18n("Diff item", 0));
        m_HeadLabel->setText(tr2i18n("Enter a log message", 0));
        m_LogHistory->clear();
        m_LogHistory->insertItems(0, QStringList()
         << QString()
        );
#ifndef UI_QT_NO_TOOLTIP
        m_LogHistory->setToolTip(tr2i18n("Last used log messages", 0));
#endif // QT_NO_TOOLTIP
        m_LogLabel->setText(tr2i18n("Or insert one of the last:", 0));
        m_insert_file_button->setText(tr2i18n("Insert Text File", 0));
#ifndef UI_QT_NO_TOOLTIP
        m_keepLocksButton->setToolTip(tr2i18n("If checked commit will not release locks.", 0));
#endif // QT_NO_TOOLTIP
        m_keepLocksButton->setText(tr2i18n("Keep locks", 0));
    } // retranslateUi

};

namespace Ui {
    class CommitMessage: public Ui_CommitMessage {};
} // namespace Ui

QT_END_NAMESPACE

#endif // COMMITMESSAGE_H

