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

/********************************************************************************
** Form generated from reading UI file 'LinkInsertionDialog.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_LINKINSERTIONDIALOG_H
#define UI_LINKINSERTIONDIALOG_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QComboBox>
#include <QtGui/QDialog>
#include <QtGui/QDialogButtonBox>
#include <QtGui/QGridLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QLineEdit>
#include <QtGui/QPushButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QTabWidget>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>

QT_BEGIN_NAMESPACE

class Ui_LinkInsertionDialog
{
public:
    QVBoxLayout *verticalLayout_3;
    QTabWidget *linkTypesTab;
    QWidget *weblinkInsertionTab;
    QVBoxLayout *verticalLayout;
    QGridLayout *gridLayout;
    QLabel *label_2;
    QLineEdit *hyperlinkURL;
    QPushButton *fetchTitleButton;
    QSpacerItem *horizontalSpacer;
    QLabel *label;
    QLineEdit *hyperlinkText;
    QLabel *weblinkStatusLabel;
    QWidget *bookmarkLinkInsertionTab;
    QWidget *layoutWidget;
    QGridLayout *gridLayout_2;
    QLabel *label_5;
    QComboBox *bookmarkLinkURL;
    QSpacerItem *verticalSpacer_2;
    QLabel *label_6;
    QLineEdit *bookmarkLinkText;
    QLabel *bookmarkLinkStatusLabel;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *LinkInsertionDialog)
    {
        if (LinkInsertionDialog->objectName().isEmpty())
            LinkInsertionDialog->setObjectName(QString::fromUtf8("LinkInsertionDialog"));
        LinkInsertionDialog->resize(567, 241);
        verticalLayout_3 = new QVBoxLayout(LinkInsertionDialog);
        verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
        linkTypesTab = new QTabWidget(LinkInsertionDialog);
        linkTypesTab->setObjectName(QString::fromUtf8("linkTypesTab"));
        linkTypesTab->setMovable(true);
        weblinkInsertionTab = new QWidget();
        weblinkInsertionTab->setObjectName(QString::fromUtf8("weblinkInsertionTab"));
        verticalLayout = new QVBoxLayout(weblinkInsertionTab);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        gridLayout = new QGridLayout();
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        label_2 = new QLabel(weblinkInsertionTab);
        label_2->setObjectName(QString::fromUtf8("label_2"));
        label_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        hyperlinkURL = new QLineEdit(weblinkInsertionTab);
        hyperlinkURL->setObjectName(QString::fromUtf8("hyperlinkURL"));

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

        fetchTitleButton = new QPushButton(weblinkInsertionTab);
        fetchTitleButton->setObjectName(QString::fromUtf8("fetchTitleButton"));

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

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

        gridLayout->addItem(horizontalSpacer, 1, 2, 1, 1);

        label = new QLabel(weblinkInsertionTab);
        label->setObjectName(QString::fromUtf8("label"));
        label->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        hyperlinkText = new QLineEdit(weblinkInsertionTab);
        hyperlinkText->setObjectName(QString::fromUtf8("hyperlinkText"));

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


        verticalLayout->addLayout(gridLayout);

        weblinkStatusLabel = new QLabel(weblinkInsertionTab);
        weblinkStatusLabel->setObjectName(QString::fromUtf8("weblinkStatusLabel"));
        weblinkStatusLabel->setLineWidth(2);
        weblinkStatusLabel->setWordWrap(true);

        verticalLayout->addWidget(weblinkStatusLabel);

        linkTypesTab->addTab(weblinkInsertionTab, QString());
        bookmarkLinkInsertionTab = new QWidget();
        bookmarkLinkInsertionTab->setObjectName(QString::fromUtf8("bookmarkLinkInsertionTab"));
        layoutWidget = new QWidget(bookmarkLinkInsertionTab);
        layoutWidget->setObjectName(QString::fromUtf8("layoutWidget"));
        layoutWidget->setGeometry(QRect(5, 5, 531, 78));
        gridLayout_2 = new QGridLayout(layoutWidget);
        gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
        gridLayout_2->setContentsMargins(0, 0, 0, 0);
        label_5 = new QLabel(layoutWidget);
        label_5->setObjectName(QString::fromUtf8("label_5"));
        label_5->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout_2->addWidget(label_5, 0, 0, 1, 1);

        bookmarkLinkURL = new QComboBox(layoutWidget);
        bookmarkLinkURL->setObjectName(QString::fromUtf8("bookmarkLinkURL"));
        bookmarkLinkURL->setEditable(true);

        gridLayout_2->addWidget(bookmarkLinkURL, 0, 1, 1, 1);

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

        gridLayout_2->addItem(verticalSpacer_2, 1, 1, 1, 1);

        label_6 = new QLabel(layoutWidget);
        label_6->setObjectName(QString::fromUtf8("label_6"));
        label_6->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout_2->addWidget(label_6, 2, 0, 1, 1);

        bookmarkLinkText = new QLineEdit(layoutWidget);
        bookmarkLinkText->setObjectName(QString::fromUtf8("bookmarkLinkText"));

        gridLayout_2->addWidget(bookmarkLinkText, 2, 1, 1, 1);

        bookmarkLinkStatusLabel = new QLabel(bookmarkLinkInsertionTab);
        bookmarkLinkStatusLabel->setObjectName(QString::fromUtf8("bookmarkLinkStatusLabel"));
        bookmarkLinkStatusLabel->setGeometry(QRect(10, 140, 531, 17));
        linkTypesTab->addTab(bookmarkLinkInsertionTab, QString());

        verticalLayout_3->addWidget(linkTypesTab);

        buttonBox = new QDialogButtonBox(LinkInsertionDialog);
        buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
        buttonBox->setOrientation(Qt::Horizontal);
        buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);

        verticalLayout_3->addWidget(buttonBox);

        QWidget::setTabOrder(linkTypesTab, hyperlinkURL);
        QWidget::setTabOrder(hyperlinkURL, fetchTitleButton);
        QWidget::setTabOrder(fetchTitleButton, hyperlinkText);
        QWidget::setTabOrder(hyperlinkText, buttonBox);
        QWidget::setTabOrder(buttonBox, bookmarkLinkText);

        retranslateUi(LinkInsertionDialog);

        linkTypesTab->setCurrentIndex(0);


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

    void retranslateUi(QDialog *LinkInsertionDialog)
    {
        LinkInsertionDialog->setWindowTitle(tr2i18n("Link", 0));
#ifndef UI_QT_NO_TOOLTIP
        linkTypesTab->setToolTip(QString());
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_TOOLTIP
        label_2->setToolTip(tr2i18n("The address of your document (Uniform Resource Locator)", 0));
#endif // QT_NO_TOOLTIP
        label_2->setText(tr2i18n(" URL:", 0));
#ifndef UI_QT_NO_TOOLTIP
        fetchTitleButton->setToolTip(tr2i18n("Hit this button to get the title from the URL. Redirections are also handled. ", 0));
#endif // QT_NO_TOOLTIP
        fetchTitleButton->setText(tr2i18n("Fetch Title From URL", 0));
#ifndef UI_QT_NO_TOOLTIP
        label->setToolTip(tr2i18n("The text that will be displayed for your link", 0));
#endif // QT_NO_TOOLTIP
        label->setText(tr2i18n(" Text:", 0));
        weblinkStatusLabel->setText(QString());
        linkTypesTab->setTabText(linkTypesTab->indexOf(weblinkInsertionTab), tr2i18n("Web Link", 0));
        linkTypesTab->setTabToolTip(linkTypesTab->indexOf(weblinkInsertionTab), tr2i18n("Insert links to web documents. You can provide both URL and a label for the link,\n"
" or just enter the URL and hit \"Fetch the title from URL\"", 0));
#ifndef UI_QT_NO_TOOLTIP
        label_5->setToolTip(tr2i18n("The name of the bookmark to where the link has to point to", 0));
#endif // QT_NO_TOOLTIP
        label_5->setText(tr2i18n(" Name:", 0));
#ifndef UI_QT_NO_TOOLTIP
        label_6->setToolTip(tr2i18n("The text that will be displayed for your link", 0));
#endif // QT_NO_TOOLTIP
        label_6->setText(tr2i18n(" Text:", 0));
        bookmarkLinkStatusLabel->setText(QString());
        linkTypesTab->setTabText(linkTypesTab->indexOf(bookmarkLinkInsertionTab), tr2i18n("Link To Bookmark", 0));
        linkTypesTab->setTabToolTip(linkTypesTab->indexOf(bookmarkLinkInsertionTab), tr2i18n("Insert links to Bookmarks. To create bookmarks,\n"
"click \"Bookmarks\" in the Links and Bookmarks section", 0));
    } // retranslateUi

};

namespace Ui {
    class LinkInsertionDialog: public Ui_LinkInsertionDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // LINKINSERTIONDIALOG_H

