/********************************************************************************
** Form generated from reading UI file 'serversettings.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_SERVERSETTINGS_H
#define UI_SERVERSETTINGS_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QStackedWidget>
#include <QtWidgets/QWidget>
#include "support/buddylabel.h"
#include "support/flattoolbutton.h"
#include "support/lineedit.h"
#include "support/pathrequester.h"
#include "widgets/notelabel.h"

QT_BEGIN_NAMESPACE

class Ui_ServerSettings
{
public:
    QGridLayout *gridLayout_2;
    QLabel *label;
    QComboBox *combo;
    FlatToolButton *addButton;
    FlatToolButton *removeButton;
    QStackedWidget *stackedWidget;
    QWidget *page;
    QGridLayout *gridLayout;
    QFormLayout *formLayout;
    QLabel *label_2;
    LineEdit *name;
    BuddyLabel *hostLabel;
    QHBoxLayout *hostLayout;
    LineEdit *host;
    QSpinBox *port;
    BuddyLabel *passwordLabel;
    LineEdit *password;
    BuddyLabel *dirLabel;
    PathRequester *dir;
    BuddyLabel *coverNameLabel;
    LineEdit *coverName;
    BuddyLabel *streamUrlLabel;
    LineEdit *streamUrl;
    NoteLabel *musicFolderNoteLabel;
    NoteLabel *coverNameNoteLabel;
    NoteLabel *streamUrlNoteLabel;
    QSpacerItem *verticalSpacer_2;
    QWidget *page_2;
    QGridLayout *gridLayout_3;
    QSpacerItem *verticalSpacer_7;
    QFormLayout *formLayout_2;
    BuddyLabel *dirLabel_2;
    PathRequester *basicDir;
    BuddyLabel *basicCoverNameLabel;
    LineEdit *basicCoverName;
    NoteLabel *basicMusicFolderNoteLabel;
    NoteLabel *basicCoverNameNoteLabel;
    QSpacerItem *expandingSpacer;

    void setupUi(QWidget *ServerSettings)
    {
        if (ServerSettings->objectName().isEmpty())
            ServerSettings->setObjectName(QStringLiteral("ServerSettings"));
        ServerSettings->resize(599, 472);
        gridLayout_2 = new QGridLayout(ServerSettings);
        gridLayout_2->setObjectName(QStringLiteral("gridLayout_2"));
        gridLayout_2->setContentsMargins(0, 0, 0, 0);
        label = new QLabel(ServerSettings);
        label->setObjectName(QStringLiteral("label"));
        QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(label->sizePolicy().hasHeightForWidth());
        label->setSizePolicy(sizePolicy);

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

        combo = new QComboBox(ServerSettings);
        combo->setObjectName(QStringLiteral("combo"));

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

        addButton = new FlatToolButton(ServerSettings);
        addButton->setObjectName(QStringLiteral("addButton"));

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

        removeButton = new FlatToolButton(ServerSettings);
        removeButton->setObjectName(QStringLiteral("removeButton"));

        gridLayout_2->addWidget(removeButton, 0, 3, 1, 1);

        stackedWidget = new QStackedWidget(ServerSettings);
        stackedWidget->setObjectName(QStringLiteral("stackedWidget"));
        page = new QWidget();
        page->setObjectName(QStringLiteral("page"));
        gridLayout = new QGridLayout(page);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        formLayout = new QFormLayout();
        formLayout->setObjectName(QStringLiteral("formLayout"));
        formLayout->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
        label_2 = new QLabel(page);
        label_2->setObjectName(QStringLiteral("label_2"));

        formLayout->setWidget(0, QFormLayout::LabelRole, label_2);

        name = new LineEdit(page);
        name->setObjectName(QStringLiteral("name"));

        formLayout->setWidget(0, QFormLayout::FieldRole, name);

        hostLabel = new BuddyLabel(page);
        hostLabel->setObjectName(QStringLiteral("hostLabel"));

        formLayout->setWidget(1, QFormLayout::LabelRole, hostLabel);

        hostLayout = new QHBoxLayout();
        hostLayout->setContentsMargins(0, 0, 0, 0);
        hostLayout->setObjectName(QStringLiteral("hostLayout"));
        host = new LineEdit(page);
        host->setObjectName(QStringLiteral("host"));

        hostLayout->addWidget(host);

        port = new QSpinBox(page);
        port->setObjectName(QStringLiteral("port"));
        port->setMinimum(1);
        port->setMaximum(65535);
        port->setValue(6600);

        hostLayout->addWidget(port);


        formLayout->setLayout(1, QFormLayout::FieldRole, hostLayout);

        passwordLabel = new BuddyLabel(page);
        passwordLabel->setObjectName(QStringLiteral("passwordLabel"));

        formLayout->setWidget(2, QFormLayout::LabelRole, passwordLabel);

        password = new LineEdit(page);
        password->setObjectName(QStringLiteral("password"));
        password->setEchoMode(QLineEdit::Password);

        formLayout->setWidget(2, QFormLayout::FieldRole, password);

        dirLabel = new BuddyLabel(page);
        dirLabel->setObjectName(QStringLiteral("dirLabel"));

        formLayout->setWidget(3, QFormLayout::LabelRole, dirLabel);

        dir = new PathRequester(page);
        dir->setObjectName(QStringLiteral("dir"));

        formLayout->setWidget(3, QFormLayout::FieldRole, dir);

        coverNameLabel = new BuddyLabel(page);
        coverNameLabel->setObjectName(QStringLiteral("coverNameLabel"));

        formLayout->setWidget(4, QFormLayout::LabelRole, coverNameLabel);

        coverName = new LineEdit(page);
        coverName->setObjectName(QStringLiteral("coverName"));

        formLayout->setWidget(4, QFormLayout::FieldRole, coverName);

        streamUrlLabel = new BuddyLabel(page);
        streamUrlLabel->setObjectName(QStringLiteral("streamUrlLabel"));

        formLayout->setWidget(5, QFormLayout::LabelRole, streamUrlLabel);

        streamUrl = new LineEdit(page);
        streamUrl->setObjectName(QStringLiteral("streamUrl"));

        formLayout->setWidget(5, QFormLayout::FieldRole, streamUrl);


        gridLayout->addLayout(formLayout, 0, 0, 1, 2);

        musicFolderNoteLabel = new NoteLabel(page);
        musicFolderNoteLabel->setObjectName(QStringLiteral("musicFolderNoteLabel"));

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

        coverNameNoteLabel = new NoteLabel(page);
        coverNameNoteLabel->setObjectName(QStringLiteral("coverNameNoteLabel"));

        gridLayout->addWidget(coverNameNoteLabel, 3, 0, 1, 2);

        streamUrlNoteLabel = new NoteLabel(page);
        streamUrlNoteLabel->setObjectName(QStringLiteral("streamUrlNoteLabel"));

        gridLayout->addWidget(streamUrlNoteLabel, 4, 0, 1, 2);

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

        gridLayout->addItem(verticalSpacer_2, 5, 0, 1, 1);

        stackedWidget->addWidget(page);
        page_2 = new QWidget();
        page_2->setObjectName(QStringLiteral("page_2"));
        gridLayout_3 = new QGridLayout(page_2);
        gridLayout_3->setObjectName(QStringLiteral("gridLayout_3"));
        verticalSpacer_7 = new QSpacerItem(20, 13, QSizePolicy::Minimum, QSizePolicy::Fixed);

        gridLayout_3->addItem(verticalSpacer_7, 1, 0, 1, 1);

        formLayout_2 = new QFormLayout();
        formLayout_2->setObjectName(QStringLiteral("formLayout_2"));
        formLayout_2->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
        dirLabel_2 = new BuddyLabel(page_2);
        dirLabel_2->setObjectName(QStringLiteral("dirLabel_2"));

        formLayout_2->setWidget(0, QFormLayout::LabelRole, dirLabel_2);

        basicDir = new PathRequester(page_2);
        basicDir->setObjectName(QStringLiteral("basicDir"));

        formLayout_2->setWidget(0, QFormLayout::FieldRole, basicDir);

        basicCoverNameLabel = new BuddyLabel(page_2);
        basicCoverNameLabel->setObjectName(QStringLiteral("basicCoverNameLabel"));

        formLayout_2->setWidget(1, QFormLayout::LabelRole, basicCoverNameLabel);

        basicCoverName = new LineEdit(page_2);
        basicCoverName->setObjectName(QStringLiteral("basicCoverName"));

        formLayout_2->setWidget(1, QFormLayout::FieldRole, basicCoverName);


        gridLayout_3->addLayout(formLayout_2, 0, 0, 1, 4);

        basicMusicFolderNoteLabel = new NoteLabel(page_2);
        basicMusicFolderNoteLabel->setObjectName(QStringLiteral("basicMusicFolderNoteLabel"));

        gridLayout_3->addWidget(basicMusicFolderNoteLabel, 1, 0, 1, 4);

        basicCoverNameNoteLabel = new NoteLabel(page_2);
        basicCoverNameNoteLabel->setObjectName(QStringLiteral("basicCoverNameNoteLabel"));

        gridLayout_3->addWidget(basicCoverNameNoteLabel, 2, 0, 1, 4);

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

        gridLayout_3->addItem(expandingSpacer, 3, 2, 1, 1);

        stackedWidget->addWidget(page_2);

        gridLayout_2->addWidget(stackedWidget, 1, 0, 1, 4);

#ifndef QT_NO_SHORTCUT
        label_2->setBuddy(name);
        hostLabel->setBuddy(host);
        passwordLabel->setBuddy(password);
        dirLabel->setBuddy(dir);
        coverNameLabel->setBuddy(coverName);
        streamUrlLabel->setBuddy(streamUrl);
        dirLabel_2->setBuddy(dir);
        basicCoverNameLabel->setBuddy(basicCoverName);
#endif // QT_NO_SHORTCUT

        retranslateUi(ServerSettings);

        stackedWidget->setCurrentIndex(0);


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

    void retranslateUi(QWidget *ServerSettings)
    {
        label->setText(QApplication::translate("ServerSettings", "Collection:", 0));
        label_2->setText(QApplication::translate("ServerSettings", "Name:", 0));
        hostLabel->setText(QApplication::translate("ServerSettings", "Host:", 0));
        passwordLabel->setText(QApplication::translate("ServerSettings", "Password:", 0));
        dirLabel->setText(QApplication::translate("ServerSettings", "Music folder:", 0));
        coverNameLabel->setText(QApplication::translate("ServerSettings", "Cover filename:", 0));
#ifndef QT_NO_TOOLTIP
        coverName->setToolTip(QApplication::translate("ServerSettings", "<p>Filename (without extension) to save downloaded covers as.<br/>If left blank 'cover' will be used.<br/><br/><i>%artist% will be replaced with album artist of the current song, and %album% will be replaced with the album name.</i></p>", 0));
#endif // QT_NO_TOOLTIP
        streamUrlLabel->setText(QApplication::translate("ServerSettings", "HTTP stream URL:", 0));
        musicFolderNoteLabel->setText(QApplication::translate("ServerSettings", "The 'Music folder' setting is used to lookup cover-art. It may be set to a HTTP URL if your MPD is on another machine, and covers are accessible via HTTP. If it is not set to a HTTP URL, and you also have write permissions to this folder (and it's sub-folders), then Cantata will save any downloaded covers into the respective album folder.", 0));
        coverNameNoteLabel->setText(QApplication::translate("ServerSettings", "If no setting is specified for 'Cover filename', then Cantata will use a default of <code>cover</code>", 0));
        streamUrlNoteLabel->setText(QApplication::translate("ServerSettings", "'HTTP Stream URL' is only of use if you have MPD configured to output to a HTTP stream, and you wish Cantata to be able to play that stream.", 0));
        dirLabel_2->setText(QApplication::translate("ServerSettings", "Music folder:", 0));
        basicCoverNameLabel->setText(QApplication::translate("ServerSettings", "Cover filename:", 0));
        basicMusicFolderNoteLabel->setText(QApplication::translate("ServerSettings", "If you change the 'Music folder' setting, then you will need to manually update the music database. This can be performed by pressing the 'Refresh Database' button in the 'Artists' or 'Albums' views.", 0));
        basicCoverNameNoteLabel->setText(QApplication::translate("ServerSettings", "If no setting is specified for 'Cover filename', then Cantata will use a default of <code>cover</code>", 0));
        Q_UNUSED(ServerSettings);
    } // retranslateUi

};

namespace Ui {
    class ServerSettings: public Ui_ServerSettings {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_SERVERSETTINGS_H
