#include <klocalizedstring.h>

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

#ifndef UI_KSPLITTRANSACTIONDLG_H
#define UI_KSPLITTRANSACTIONDLG_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QFrame>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>
#include "../dialogs/kmymoneysplittable.h"

QT_BEGIN_NAMESPACE

class Ui_KSplitTransactionDlg
{
public:
    QHBoxLayout *horizontalLayout_2;
    QHBoxLayout *horizontalLayout;
    QVBoxLayout *vboxLayout;
    KMyMoneySplitTable *transactionsTable;
    QFrame *m_sumFrame;
    QHBoxLayout *hboxLayout;
    QSpacerItem *Spacer12;
    QGridLayout *gridLayout;
    QLabel *splitUnassigned;
    QLabel *transactionAmount;
    QLabel *TextLabel1_2;
    QLabel *TextLabel1;
    QLabel *splitSum;
    QLabel *TextLabel1_2_2;
    QFrame *Line2;
    QFrame *Frame3;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *KSplitTransactionDlg)
    {
        if (KSplitTransactionDlg->objectName().isEmpty())
            KSplitTransactionDlg->setObjectName(QStringLiteral("KSplitTransactionDlg"));
        KSplitTransactionDlg->resize(752, 408);
        KSplitTransactionDlg->setSizeGripEnabled(true);
        horizontalLayout_2 = new QHBoxLayout(KSplitTransactionDlg);
        horizontalLayout_2->setSpacing(6);
        horizontalLayout_2->setContentsMargins(11, 11, 11, 11);
        horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setSpacing(6);
        horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
        horizontalLayout->setContentsMargins(0, 0, 0, 0);
        vboxLayout = new QVBoxLayout();
        vboxLayout->setSpacing(6);
        vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
        vboxLayout->setContentsMargins(0, 0, 0, 0);
        transactionsTable = new KMyMoneySplitTable(KSplitTransactionDlg);
        transactionsTable->setObjectName(QStringLiteral("transactionsTable"));
        transactionsTable->setCursor(QCursor(Qt::ArrowCursor));

        vboxLayout->addWidget(transactionsTable);

        m_sumFrame = new QFrame(KSplitTransactionDlg);
        m_sumFrame->setObjectName(QStringLiteral("m_sumFrame"));
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(m_sumFrame->sizePolicy().hasHeightForWidth());
        m_sumFrame->setSizePolicy(sizePolicy);
        m_sumFrame->setFrameShape(QFrame::StyledPanel);
        m_sumFrame->setFrameShadow(QFrame::Raised);
        hboxLayout = new QHBoxLayout(m_sumFrame);
        hboxLayout->setSpacing(6);
        hboxLayout->setContentsMargins(11, 11, 11, 11);
        hboxLayout->setObjectName(QStringLiteral("hboxLayout"));
        hboxLayout->setContentsMargins(1, 1, 1, 1);
        Spacer12 = new QSpacerItem(0, 16, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout->addItem(Spacer12);

        gridLayout = new QGridLayout();
        gridLayout->setSpacing(1);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        gridLayout->setContentsMargins(0, 0, 0, 0);
        splitUnassigned = new QLabel(m_sumFrame);
        splitUnassigned->setObjectName(QStringLiteral("splitUnassigned"));
        QSizePolicy sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Fixed);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(splitUnassigned->sizePolicy().hasHeightForWidth());
        splitUnassigned->setSizePolicy(sizePolicy1);
        splitUnassigned->setMinimumSize(QSize(120, 15));
        splitUnassigned->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        splitUnassigned->setWordWrap(false);

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

        transactionAmount = new QLabel(m_sumFrame);
        transactionAmount->setObjectName(QStringLiteral("transactionAmount"));
        sizePolicy1.setHeightForWidth(transactionAmount->sizePolicy().hasHeightForWidth());
        transactionAmount->setSizePolicy(sizePolicy1);
        transactionAmount->setMinimumSize(QSize(120, 15));
        transactionAmount->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        transactionAmount->setWordWrap(false);

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

        TextLabel1_2 = new QLabel(m_sumFrame);
        TextLabel1_2->setObjectName(QStringLiteral("TextLabel1_2"));
        QFont font;
        font.setBold(true);
        font.setWeight(75);
        TextLabel1_2->setFont(font);
        TextLabel1_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        TextLabel1_2->setWordWrap(false);

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

        TextLabel1 = new QLabel(m_sumFrame);
        TextLabel1->setObjectName(QStringLiteral("TextLabel1"));
        TextLabel1->setFont(font);
        TextLabel1->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        TextLabel1->setWordWrap(false);

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

        splitSum = new QLabel(m_sumFrame);
        splitSum->setObjectName(QStringLiteral("splitSum"));
        sizePolicy1.setHeightForWidth(splitSum->sizePolicy().hasHeightForWidth());
        splitSum->setSizePolicy(sizePolicy1);
        splitSum->setMinimumSize(QSize(120, 15));
        splitSum->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        splitSum->setWordWrap(false);

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

        TextLabel1_2_2 = new QLabel(m_sumFrame);
        TextLabel1_2_2->setObjectName(QStringLiteral("TextLabel1_2_2"));
        TextLabel1_2_2->setMinimumSize(QSize(150, 0));
        TextLabel1_2_2->setFont(font);
        TextLabel1_2_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        TextLabel1_2_2->setWordWrap(false);

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

        Line2 = new QFrame(m_sumFrame);
        Line2->setObjectName(QStringLiteral("Line2"));
        Line2->setFrameShape(QFrame::HLine);
        Line2->setFrameShadow(QFrame::Sunken);

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


        hboxLayout->addLayout(gridLayout);

        Frame3 = new QFrame(m_sumFrame);
        Frame3->setObjectName(QStringLiteral("Frame3"));
        QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::MinimumExpanding);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(Frame3->sizePolicy().hasHeightForWidth());
        Frame3->setSizePolicy(sizePolicy2);
        Frame3->setMinimumSize(QSize(15, 0));
        Frame3->setMaximumSize(QSize(32767, 80));
        Frame3->setFrameShape(QFrame::NoFrame);
        Frame3->setFrameShadow(QFrame::Raised);

        hboxLayout->addWidget(Frame3);


        vboxLayout->addWidget(m_sumFrame);


        horizontalLayout->addLayout(vboxLayout);


        horizontalLayout_2->addLayout(horizontalLayout);

        buttonBox = new QDialogButtonBox(KSplitTransactionDlg);
        buttonBox->setObjectName(QStringLiteral("buttonBox"));
        buttonBox->setOrientation(Qt::Vertical);
        buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);

        horizontalLayout_2->addWidget(buttonBox);


        retranslateUi(KSplitTransactionDlg);
        QObject::connect(buttonBox, SIGNAL(accepted()), KSplitTransactionDlg, SLOT(accept()));
        QObject::connect(buttonBox, SIGNAL(rejected()), KSplitTransactionDlg, SLOT(reject()));

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

    void retranslateUi(QDialog *KSplitTransactionDlg)
    {
        KSplitTransactionDlg->setWindowTitle(tr2i18n("Split transaction", Q_NULLPTR));
        splitUnassigned->setText(tr2i18n("<b>11,00<b>", Q_NULLPTR));
        transactionAmount->setText(tr2i18n("<b>111,00<b>", Q_NULLPTR));
        TextLabel1_2->setText(tr2i18n("Unassigned", Q_NULLPTR));
        TextLabel1->setText(tr2i18n("Sum of splits", Q_NULLPTR));
        splitSum->setText(tr2i18n("100,00", Q_NULLPTR));
        TextLabel1_2_2->setText(tr2i18n("Transaction amount", Q_NULLPTR));
    } // retranslateUi

};

namespace Ui {
    class KSplitTransactionDlg: public Ui_KSplitTransactionDlg {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KSPLITTRANSACTIONDLG_H

