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

#ifndef UI_LOGBOOKWIDGET_H
#define UI_LOGBOOKWIDGET_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QIcon>
#include <QtWidgets/QApplication>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "ui/QTableQSOView.h"
#include "ui/component/SmartSearchBox.h"

QT_BEGIN_NAMESPACE

class Ui_LogbookWidget
{
public:
    QAction *actionDeleteContact;
    QAction *actionUploadClublog;
    QAction *actionLookup;
    QAction *actionCallbookLookup;
    QAction *actionQSLRcvd;
    QAction *actionQSLRequested;
    QAction *actionFilter;
    QAction *actionEditContact;
    QAction *actionDisplayedColumns;
    QAction *actionExportAs;
    QAction *actionSendDXCSpot;
    QAction *actionSearchCallsign;
    QAction *actionSearchGrid;
    QAction *actionSearchPOTA;
    QAction *actionSearchSOTA;
    QAction *actionSearchWWFF;
    QAction *actionSearchSIG;
    QAction *actionSearchIOTA;
    QGridLayout *gridLayout;
    QVBoxLayout *verticalLayout;
    QHBoxLayout *horizontalLayout;
    QHBoxLayout *horizontalLayout_3;
    QPushButton *searchTypeButton;
    QLineEdit *searchTextFilter;
    SmartSearchBox *bandSelectFilter;
    SmartSearchBox *modeSelectFilter;
    SmartSearchBox *countrySelectFilter;
    SmartSearchBox *clubSelectFilter;
    SmartSearchBox *userSelectFilter;
    QSpacerItem *horizontalSpacer;
    QLabel *filteredQSOsLabel;
    QTableQSOView *contactTable;

    void setupUi(QWidget *LogbookWidget)
    {
        if (LogbookWidget->objectName().isEmpty())
            LogbookWidget->setObjectName("LogbookWidget");
        LogbookWidget->resize(809, 337);
        QSizePolicy sizePolicy(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Expanding);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(LogbookWidget->sizePolicy().hasHeightForWidth());
        LogbookWidget->setSizePolicy(sizePolicy);
        LogbookWidget->setWindowTitle(QString::fromUtf8("Form"));
        actionDeleteContact = new QAction(LogbookWidget);
        actionDeleteContact->setObjectName("actionDeleteContact");
        QIcon icon;
        QString iconThemeName = QString::fromUtf8("edit-delete");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon = QIcon::fromTheme(iconThemeName);
        } else {
            icon.addFile(QString::fromUtf8("."), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        }
        actionDeleteContact->setIcon(icon);
#if QT_CONFIG(shortcut)
        actionDeleteContact->setShortcut(QString::fromUtf8("Del"));
#endif // QT_CONFIG(shortcut)
        actionDeleteContact->setProperty("changeableshortcut", QVariant(true));
        actionUploadClublog = new QAction(LogbookWidget);
        actionUploadClublog->setObjectName("actionUploadClublog");
        QIcon icon1;
        icon1.addFile(QString::fromUtf8(":/icons/cloud_upload-24px.svg"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        actionUploadClublog->setIcon(icon1);
        actionLookup = new QAction(LogbookWidget);
        actionLookup->setObjectName("actionLookup");
        QIcon icon2;
        icon2.addFile(QString::fromUtf8(":/icons/baseline-search-24px.svg"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        actionLookup->setIcon(icon2);
        actionCallbookLookup = new QAction(LogbookWidget);
        actionCallbookLookup->setObjectName("actionCallbookLookup");
        QIcon icon3;
        icon3.addFile(QString::fromUtf8(":/icons/cloud_download-24px.svg"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        actionCallbookLookup->setIcon(icon3);
        actionQSLRcvd = new QAction(LogbookWidget);
        actionQSLRcvd->setObjectName("actionQSLRcvd");
        actionQSLRequested = new QAction(LogbookWidget);
        actionQSLRequested->setObjectName("actionQSLRequested");
        actionFilter = new QAction(LogbookWidget);
        actionFilter->setObjectName("actionFilter");
        QIcon icon4;
        icon4.addFile(QString::fromUtf8(":/icons/filter_list-24px.svg"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        actionFilter->setIcon(icon4);
        actionEditContact = new QAction(LogbookWidget);
        actionEditContact->setObjectName("actionEditContact");
        actionDisplayedColumns = new QAction(LogbookWidget);
        actionDisplayedColumns->setObjectName("actionDisplayedColumns");
        actionExportAs = new QAction(LogbookWidget);
        actionExportAs->setObjectName("actionExportAs");
        QIcon icon5;
        iconThemeName = QString::fromUtf8("document-export");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon5 = QIcon::fromTheme(iconThemeName);
        } else {
            icon5.addFile(QString::fromUtf8("."), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        }
        actionExportAs->setIcon(icon5);
        actionSendDXCSpot = new QAction(LogbookWidget);
        actionSendDXCSpot->setObjectName("actionSendDXCSpot");
        actionSearchCallsign = new QAction(LogbookWidget);
        actionSearchCallsign->setObjectName("actionSearchCallsign");
        actionSearchCallsign->setCheckable(true);
        actionSearchGrid = new QAction(LogbookWidget);
        actionSearchGrid->setObjectName("actionSearchGrid");
        actionSearchGrid->setCheckable(true);
        actionSearchPOTA = new QAction(LogbookWidget);
        actionSearchPOTA->setObjectName("actionSearchPOTA");
        actionSearchPOTA->setCheckable(true);
        actionSearchSOTA = new QAction(LogbookWidget);
        actionSearchSOTA->setObjectName("actionSearchSOTA");
        actionSearchSOTA->setCheckable(true);
        actionSearchWWFF = new QAction(LogbookWidget);
        actionSearchWWFF->setObjectName("actionSearchWWFF");
        actionSearchWWFF->setCheckable(true);
        actionSearchSIG = new QAction(LogbookWidget);
        actionSearchSIG->setObjectName("actionSearchSIG");
        actionSearchSIG->setCheckable(true);
        actionSearchIOTA = new QAction(LogbookWidget);
        actionSearchIOTA->setObjectName("actionSearchIOTA");
        actionSearchIOTA->setCheckable(true);
        gridLayout = new QGridLayout(LogbookWidget);
        gridLayout->setObjectName("gridLayout");
        gridLayout->setContentsMargins(0, 0, 0, 0);
        verticalLayout = new QVBoxLayout();
        verticalLayout->setObjectName("verticalLayout");
        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName("horizontalLayout");
        horizontalLayout_3 = new QHBoxLayout();
        horizontalLayout_3->setSpacing(0);
        horizontalLayout_3->setObjectName("horizontalLayout_3");
        horizontalLayout_3->setContentsMargins(-1, -1, 0, -1);
        searchTypeButton = new QPushButton(LogbookWidget);
        searchTypeButton->setObjectName("searchTypeButton");
        QSizePolicy sizePolicy1(QSizePolicy::Policy::Maximum, QSizePolicy::Policy::Preferred);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(searchTypeButton->sizePolicy().hasHeightForWidth());
        searchTypeButton->setSizePolicy(sizePolicy1);
        searchTypeButton->setMaximumSize(QSize(24, 16777215));
        searchTypeButton->setFocusPolicy(Qt::ClickFocus);
        searchTypeButton->setContextMenuPolicy(Qt::NoContextMenu);
        searchTypeButton->setStyleSheet(QString::fromUtf8("::menu-indicator{ image: none; width: 0px;}"));
        searchTypeButton->setText(QString::fromUtf8(""));
        searchTypeButton->setIcon(icon2);

        horizontalLayout_3->addWidget(searchTypeButton);

        searchTextFilter = new QLineEdit(LogbookWidget);
        searchTextFilter->setObjectName("searchTextFilter");
        QSizePolicy sizePolicy2(QSizePolicy::Policy::Maximum, QSizePolicy::Policy::Fixed);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(searchTextFilter->sizePolicy().hasHeightForWidth());
        searchTextFilter->setSizePolicy(sizePolicy2);
        searchTextFilter->setMaximumSize(QSize(140, 16777215));
        searchTextFilter->setFocusPolicy(Qt::ClickFocus);
        searchTextFilter->setMaxLength(20);
        searchTextFilter->setClearButtonEnabled(true);

        horizontalLayout_3->addWidget(searchTextFilter);


        horizontalLayout->addLayout(horizontalLayout_3);

        bandSelectFilter = new SmartSearchBox(LogbookWidget);
        bandSelectFilter->setObjectName("bandSelectFilter");
        sizePolicy1.setHeightForWidth(bandSelectFilter->sizePolicy().hasHeightForWidth());
        bandSelectFilter->setSizePolicy(sizePolicy1);
        bandSelectFilter->setFocusPolicy(Qt::ClickFocus);

        horizontalLayout->addWidget(bandSelectFilter);

        modeSelectFilter = new SmartSearchBox(LogbookWidget);
        modeSelectFilter->setObjectName("modeSelectFilter");
        modeSelectFilter->setFocusPolicy(Qt::ClickFocus);

        horizontalLayout->addWidget(modeSelectFilter);

        countrySelectFilter = new SmartSearchBox(LogbookWidget);
        countrySelectFilter->setObjectName("countrySelectFilter");
        sizePolicy2.setHeightForWidth(countrySelectFilter->sizePolicy().hasHeightForWidth());
        countrySelectFilter->setSizePolicy(sizePolicy2);
        countrySelectFilter->setFocusPolicy(Qt::ClickFocus);

        horizontalLayout->addWidget(countrySelectFilter);

        clubSelectFilter = new SmartSearchBox(LogbookWidget);
        clubSelectFilter->setObjectName("clubSelectFilter");
        sizePolicy1.setHeightForWidth(clubSelectFilter->sizePolicy().hasHeightForWidth());
        clubSelectFilter->setSizePolicy(sizePolicy1);
        clubSelectFilter->setFocusPolicy(Qt::ClickFocus);

        horizontalLayout->addWidget(clubSelectFilter);

        userSelectFilter = new SmartSearchBox(LogbookWidget);
        userSelectFilter->setObjectName("userSelectFilter");
        sizePolicy1.setHeightForWidth(userSelectFilter->sizePolicy().hasHeightForWidth());
        userSelectFilter->setSizePolicy(sizePolicy1);
        userSelectFilter->setFocusPolicy(Qt::ClickFocus);

        horizontalLayout->addWidget(userSelectFilter);

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

        horizontalLayout->addItem(horizontalSpacer);

        filteredQSOsLabel = new QLabel(LogbookWidget);
        filteredQSOsLabel->setObjectName("filteredQSOsLabel");

        horizontalLayout->addWidget(filteredQSOsLabel);


        verticalLayout->addLayout(horizontalLayout);

        contactTable = new QTableQSOView(LogbookWidget);
        contactTable->setObjectName("contactTable");
        contactTable->setFocusPolicy(Qt::ClickFocus);
        contactTable->setContextMenuPolicy(Qt::ActionsContextMenu);
        contactTable->setEditTriggers(QAbstractItemView::EditKeyPressed);
        contactTable->setTabKeyNavigation(false);
        contactTable->setAlternatingRowColors(true);
        contactTable->setSelectionBehavior(QAbstractItemView::SelectRows);
        contactTable->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
        contactTable->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
        contactTable->setSortingEnabled(false);
        contactTable->verticalHeader()->setVisible(false);
        contactTable->verticalHeader()->setMinimumSectionSize(25);
        contactTable->verticalHeader()->setDefaultSectionSize(25);

        verticalLayout->addWidget(contactTable);


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


        retranslateUi(LogbookWidget);
        QObject::connect(actionDeleteContact, SIGNAL(triggered()), LogbookWidget, SLOT(deleteContact()));
        QObject::connect(searchTextFilter, SIGNAL(textChanged(QString)), LogbookWidget, SLOT(onSearchTextChanged()));
        QObject::connect(actionUploadClublog, SIGNAL(triggered()), LogbookWidget, SLOT(uploadClublog()));
        QObject::connect(actionFilter, SIGNAL(triggered()), LogbookWidget, SLOT(filterSelectedCallsign()));
        QObject::connect(actionLookup, SIGNAL(triggered()), LogbookWidget, SLOT(lookupSelectedCallsign()));
        QObject::connect(actionCallbookLookup, SIGNAL(triggered()), LogbookWidget, SLOT(actionCallbookLookup()));
        QObject::connect(actionEditContact, SIGNAL(triggered()), LogbookWidget, SLOT(editContact()));
        QObject::connect(actionDisplayedColumns, SIGNAL(triggered()), LogbookWidget, SLOT(displayedColumns()));
        QObject::connect(contactTable, SIGNAL(doubleClicked(QModelIndex)), LogbookWidget, SLOT(doubleClickColumn(QModelIndex)));
        QObject::connect(actionExportAs, SIGNAL(triggered()), LogbookWidget, SLOT(exportContact()));
        QObject::connect(actionSendDXCSpot, SIGNAL(triggered()), LogbookWidget, SLOT(sendDXCSpot()));
        QObject::connect(actionSearchCallsign, SIGNAL(triggered()), LogbookWidget, SLOT(setCallsignSearch()));
        QObject::connect(actionSearchGrid, SIGNAL(triggered()), LogbookWidget, SLOT(setGridsquareSearch()));
        QObject::connect(actionSearchPOTA, SIGNAL(triggered()), LogbookWidget, SLOT(setPotaSearch()));
        QObject::connect(actionSearchSOTA, SIGNAL(triggered()), LogbookWidget, SLOT(setSotaSearch()));
        QObject::connect(actionSearchWWFF, SIGNAL(triggered()), LogbookWidget, SLOT(setWwffSearch()));
        QObject::connect(actionSearchSIG, SIGNAL(triggered()), LogbookWidget, SLOT(setSigSearch()));
        QObject::connect(actionSearchIOTA, SIGNAL(triggered()), LogbookWidget, SLOT(setIOTASearch()));

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

    void retranslateUi(QWidget *LogbookWidget)
    {
        actionDeleteContact->setText(QCoreApplication::translate("LogbookWidget", "Delete", nullptr));
#if QT_CONFIG(tooltip)
        actionDeleteContact->setToolTip(QCoreApplication::translate("LogbookWidget", "Logbook - Delete QSO", nullptr));
#endif // QT_CONFIG(tooltip)
        actionUploadClublog->setText(QCoreApplication::translate("LogbookWidget", "Upload to Clublog", nullptr));
        actionLookup->setText(QCoreApplication::translate("LogbookWidget", "Lookup on Web", nullptr));
#if QT_CONFIG(tooltip)
        actionLookup->setToolTip(QCoreApplication::translate("LogbookWidget", "Lookup on Web", nullptr));
#endif // QT_CONFIG(tooltip)
        actionCallbookLookup->setText(QCoreApplication::translate("LogbookWidget", "Update from Callbook", nullptr));
#if QT_CONFIG(tooltip)
        actionCallbookLookup->setToolTip(QCoreApplication::translate("LogbookWidget", "Add Missing Info", nullptr));
#endif // QT_CONFIG(tooltip)
        actionQSLRcvd->setText(QCoreApplication::translate("LogbookWidget", "Mark QSL RCVD", nullptr));
        actionQSLRequested->setText(QCoreApplication::translate("LogbookWidget", "Mark QSL Requested", nullptr));
        actionFilter->setText(QCoreApplication::translate("LogbookWidget", "Filter Callsign", nullptr));
        actionEditContact->setText(QCoreApplication::translate("LogbookWidget", "Edit Value", nullptr));
#if QT_CONFIG(tooltip)
        actionEditContact->setToolTip(QCoreApplication::translate("LogbookWidget", "Logbook - Edit Value", nullptr));
#endif // QT_CONFIG(tooltip)
        actionDisplayedColumns->setText(QCoreApplication::translate("LogbookWidget", "Column Visibility ", nullptr));
#if QT_CONFIG(tooltip)
        actionDisplayedColumns->setToolTip(QCoreApplication::translate("LogbookWidget", "Which columns should be displayed", nullptr));
#endif // QT_CONFIG(tooltip)
        actionExportAs->setText(QCoreApplication::translate("LogbookWidget", "Export Selected", nullptr));
#if QT_CONFIG(tooltip)
        actionExportAs->setToolTip(QCoreApplication::translate("LogbookWidget", "Export selected QSOs", nullptr));
#endif // QT_CONFIG(tooltip)
        actionSendDXCSpot->setText(QCoreApplication::translate("LogbookWidget", "Send DX Spot", nullptr));
#if QT_CONFIG(tooltip)
        actionSendDXCSpot->setToolTip(QCoreApplication::translate("LogbookWidget", "Logbook - Send DX Spot", nullptr));
#endif // QT_CONFIG(tooltip)
        actionSearchCallsign->setText(QCoreApplication::translate("LogbookWidget", "Callsign", nullptr));
        actionSearchGrid->setText(QCoreApplication::translate("LogbookWidget", "Gridsquare", nullptr));
        actionSearchPOTA->setText(QCoreApplication::translate("LogbookWidget", "POTA", nullptr));
        actionSearchSOTA->setText(QCoreApplication::translate("LogbookWidget", "SOTA", nullptr));
        actionSearchWWFF->setText(QCoreApplication::translate("LogbookWidget", "WWFF", nullptr));
        actionSearchSIG->setText(QCoreApplication::translate("LogbookWidget", "SIG", nullptr));
        actionSearchIOTA->setText(QCoreApplication::translate("LogbookWidget", "IOTA", nullptr));
        filteredQSOsLabel->setText(QString());
        (void)LogbookWidget;
    } // retranslateUi

};

namespace Ui {
    class LogbookWidget: public Ui_LogbookWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_LOGBOOKWIDGET_H
