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

#ifndef UI_MAINWINDOW_H
#define UI_MAINWINDOW_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QIcon>
#include <QtWidgets/QApplication>
#include <QtWidgets/QDockWidget>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QListWidget>
#include <QtWidgets/QMainWindow>
#include <QtWidgets/QMenu>
#include <QtWidgets/QMenuBar>
#include <QtWidgets/QToolButton>
#include <QtWidgets/QWidget>
#include "dictwidget.h"

namespace QStarDict {

class Ui_MainWindow
{
public:
    QAction *actionQuit;
    QAction *actionAbout;
    QAction *actionAboutQt;
    QAction *actionSettings;
    QAction *actionScan;
    QAction *actionHelp;
    QAction *actionStartTraining;
    QAction *actionVocabulary;
    QWidget *centralwidget;
    QGridLayout *gridLayout;
    QHBoxLayout *hboxLayout;
    QToolButton *searchClearButton;
    QLineEdit *searchBox;
    QToolButton *queryButton;
    DictWidget *translationView;
    QDockWidget *wordsListDock;
    QWidget *dockWidgetContents;
    QGridLayout *gridLayout1;
    QListWidget *wordsList;
    QMenuBar *menubar;
    QMenu *menuFile;
    QMenu *menuHelp;
    QMenu *menuSettings;
    QMenu *menuTraining;

    void setupUi(QMainWindow *QStarDict__MainWindow)
    {
        if (QStarDict__MainWindow->objectName().isEmpty())
            QStarDict__MainWindow->setObjectName("QStarDict__MainWindow");
        QStarDict__MainWindow->resize(742, 511);
        QIcon icon;
        icon.addFile(QString::fromUtf8(":/pics/qstardict.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        QStarDict__MainWindow->setWindowIcon(icon);
        actionQuit = new QAction(QStarDict__MainWindow);
        actionQuit->setObjectName("actionQuit");
        QIcon icon1;
        icon1.addFile(QString::fromUtf8(":/pics/application-exit.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        actionQuit->setIcon(icon1);
        actionAbout = new QAction(QStarDict__MainWindow);
        actionAbout->setObjectName("actionAbout");
        actionAboutQt = new QAction(QStarDict__MainWindow);
        actionAboutQt->setObjectName("actionAboutQt");
        actionSettings = new QAction(QStarDict__MainWindow);
        actionSettings->setObjectName("actionSettings");
        QIcon icon2;
        icon2.addFile(QString::fromUtf8(":/pics/configure.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        actionSettings->setIcon(icon2);
        actionScan = new QAction(QStarDict__MainWindow);
        actionScan->setObjectName("actionScan");
        actionScan->setCheckable(true);
        actionHelp = new QAction(QStarDict__MainWindow);
        actionHelp->setObjectName("actionHelp");
        QIcon icon3;
        icon3.addFile(QString::fromUtf8(":/pics/help-contents.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        actionHelp->setIcon(icon3);
        actionStartTraining = new QAction(QStarDict__MainWindow);
        actionStartTraining->setObjectName("actionStartTraining");
        actionVocabulary = new QAction(QStarDict__MainWindow);
        actionVocabulary->setObjectName("actionVocabulary");
        centralwidget = new QWidget(QStarDict__MainWindow);
        centralwidget->setObjectName("centralwidget");
        gridLayout = new QGridLayout(centralwidget);
#ifndef Q_OS_MAC
        gridLayout->setSpacing(6);
#endif
#ifndef Q_OS_MAC
        gridLayout->setContentsMargins(9, 9, 9, 9);
#endif
        gridLayout->setObjectName("gridLayout");
        hboxLayout = new QHBoxLayout();
#ifndef Q_OS_MAC
        hboxLayout->setSpacing(6);
#endif
#ifndef Q_OS_MAC
        hboxLayout->setContentsMargins(0, 0, 0, 0);
#endif
        hboxLayout->setObjectName("hboxLayout");
        searchClearButton = new QToolButton(centralwidget);
        searchClearButton->setObjectName("searchClearButton");
        QIcon icon4;
        icon4.addFile(QString::fromUtf8(":/pics/clear-right.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        searchClearButton->setIcon(icon4);
        searchClearButton->setToolButtonStyle(Qt::ToolButtonStyle::ToolButtonIconOnly);

        hboxLayout->addWidget(searchClearButton);

        searchBox = new QLineEdit(centralwidget);
        searchBox->setObjectName("searchBox");

        hboxLayout->addWidget(searchBox);

        queryButton = new QToolButton(centralwidget);
        queryButton->setObjectName("queryButton");
        QIcon icon5;
        icon5.addFile(QString::fromUtf8(":/pics/search-filter.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        queryButton->setIcon(icon5);
        queryButton->setToolButtonStyle(Qt::ToolButtonStyle::ToolButtonTextBesideIcon);

        hboxLayout->addWidget(queryButton);


        gridLayout->addLayout(hboxLayout, 0, 0, 1, 1);

        translationView = new DictWidget(centralwidget);
        translationView->setObjectName("translationView");

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

        QStarDict__MainWindow->setCentralWidget(centralwidget);
        wordsListDock = new QDockWidget(QStarDict__MainWindow);
        wordsListDock->setObjectName("wordsListDock");
        wordsListDock->setAllowedAreas(Qt::DockWidgetArea::NoDockWidgetArea);
        dockWidgetContents = new QWidget();
        dockWidgetContents->setObjectName("dockWidgetContents");
        gridLayout1 = new QGridLayout(dockWidgetContents);
#ifndef Q_OS_MAC
        gridLayout1->setSpacing(6);
#endif
#ifndef Q_OS_MAC
        gridLayout1->setContentsMargins(9, 9, 9, 9);
#endif
        gridLayout1->setObjectName("gridLayout1");
        wordsList = new QListWidget(dockWidgetContents);
        wordsList->setObjectName("wordsList");

        gridLayout1->addWidget(wordsList, 0, 0, 1, 1);

        wordsListDock->setWidget(dockWidgetContents);
        QStarDict__MainWindow->addDockWidget(Qt::DockWidgetArea::LeftDockWidgetArea, wordsListDock);
        menubar = new QMenuBar(QStarDict__MainWindow);
        menubar->setObjectName("menubar");
        menubar->setGeometry(QRect(0, 0, 742, 23));
        menuFile = new QMenu(menubar);
        menuFile->setObjectName("menuFile");
        menuHelp = new QMenu(menubar);
        menuHelp->setObjectName("menuHelp");
        menuSettings = new QMenu(menubar);
        menuSettings->setObjectName("menuSettings");
        menuTraining = new QMenu(menubar);
        menuTraining->setObjectName("menuTraining");
        QStarDict__MainWindow->setMenuBar(menubar);
        QWidget::setTabOrder(searchBox, queryButton);
        QWidget::setTabOrder(queryButton, wordsList);
        QWidget::setTabOrder(wordsList, searchClearButton);

        menubar->addAction(menuFile->menuAction());
        menubar->addAction(menuTraining->menuAction());
        menubar->addAction(menuSettings->menuAction());
        menubar->addAction(menuHelp->menuAction());
        menuFile->addAction(actionQuit);
        menuHelp->addAction(actionHelp);
        menuHelp->addAction(actionAbout);
        menuHelp->addAction(actionAboutQt);
        menuSettings->addAction(actionScan);
        menuSettings->addAction(actionSettings);
        menuTraining->addAction(actionStartTraining);
        menuTraining->addAction(actionVocabulary);

        retranslateUi(QStarDict__MainWindow);
        QObject::connect(searchClearButton, &QToolButton::clicked, searchBox, qOverload<>(&QLineEdit::clear));
        QObject::connect(searchClearButton, &QToolButton::clicked, searchBox, qOverload<>(&QLineEdit::setFocus));
        QObject::connect(searchBox, &QLineEdit::returnPressed, queryButton, qOverload<>(&QToolButton::click));

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

    void retranslateUi(QMainWindow *QStarDict__MainWindow)
    {
        QStarDict__MainWindow->setWindowTitle(QCoreApplication::translate("QStarDict::MainWindow", "QStarDict", nullptr));
        actionQuit->setText(QCoreApplication::translate("QStarDict::MainWindow", "&Quit", nullptr));
#if QT_CONFIG(shortcut)
        actionQuit->setShortcut(QCoreApplication::translate("QStarDict::MainWindow", "Ctrl+Q", nullptr));
#endif // QT_CONFIG(shortcut)
        actionAbout->setText(QCoreApplication::translate("QStarDict::MainWindow", "&About", nullptr));
        actionAboutQt->setText(QCoreApplication::translate("QStarDict::MainWindow", "About &Qt", nullptr));
        actionSettings->setText(QCoreApplication::translate("QStarDict::MainWindow", "&Configure QStarDict", nullptr));
        actionScan->setText(QCoreApplication::translate("QStarDict::MainWindow", "&Scan", nullptr));
        actionHelp->setText(QCoreApplication::translate("QStarDict::MainWindow", "QStarDict &Help", nullptr));
#if QT_CONFIG(shortcut)
        actionHelp->setShortcut(QCoreApplication::translate("QStarDict::MainWindow", "F1", nullptr));
#endif // QT_CONFIG(shortcut)
        actionStartTraining->setText(QCoreApplication::translate("QStarDict::MainWindow", "&Start training", nullptr));
        actionVocabulary->setText(QCoreApplication::translate("QStarDict::MainWindow", "&Vocabulary", nullptr));
#if QT_CONFIG(tooltip)
        searchClearButton->setToolTip(QCoreApplication::translate("QStarDict::MainWindow", "Clear the search box", nullptr));
#endif // QT_CONFIG(tooltip)
        searchClearButton->setText(QCoreApplication::translate("QStarDict::MainWindow", "Clear", nullptr));
#if QT_CONFIG(tooltip)
        queryButton->setToolTip(QCoreApplication::translate("QStarDict::MainWindow", "Fuzzy query", nullptr));
#endif // QT_CONFIG(tooltip)
        queryButton->setText(QCoreApplication::translate("QStarDict::MainWindow", "Search", nullptr));
        wordsListDock->setWindowTitle(QCoreApplication::translate("QStarDict::MainWindow", "Words list", nullptr));
        menuFile->setTitle(QCoreApplication::translate("QStarDict::MainWindow", "&File", nullptr));
        menuHelp->setTitle(QCoreApplication::translate("QStarDict::MainWindow", "&Help", nullptr));
        menuSettings->setTitle(QCoreApplication::translate("QStarDict::MainWindow", "&Settings", nullptr));
        menuTraining->setTitle(QCoreApplication::translate("QStarDict::MainWindow", "&Training", nullptr));
    } // retranslateUi

};

} // namespace QStarDict

namespace QStarDict {
namespace Ui {
    class MainWindow: public Ui_MainWindow {};
} // namespace Ui
} // namespace QStarDict

#endif // UI_MAINWINDOW_H
