/******************************************************************************** ** Form generated from reading UI file 'AlertItem.ui' ** ** Created by: Qt User Interface Compiler version 5.15.17 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ #ifndef UI_ALERTITEM_H #define UI_ALERTITEM_H #include #include #include #include #include #include #include #include #include #include "AvatarWidget.h" QT_BEGIN_NAMESPACE class Ui_AlertItem { public: QVBoxLayout *verticalLayout; QWidget *wContainer; QVBoxLayout *verticalLayout_2; QWidget *wTitle; QHBoxLayout *horizontalLayout_4; QWidget *wNotificationIcon; QHBoxLayout *horizontalLayout_5; QPushButton *bNotificationIcon; QLabel *lTitle; QSpacerItem *horizontalSpacer_2; QLabel *lNew; QWidget *wHeading; QHBoxLayout *horizontalLayout; QStackedWidget *sIconWidget; QWidget *pContact; QHBoxLayout *horizontalLayout_3; AvatarWidget *wAvatarContact; QWidget *pSharedFolder; QHBoxLayout *horizontalLayout_2; QPushButton *bSharedFolder; QLabel *lHeading; QSpacerItem *horizontalSpacer; QLabel *lDesc; QLabel *lTimeStamp; QWidget *wSeparator; void setupUi(QWidget *AlertItem) { if (AlertItem->objectName().isEmpty()) AlertItem->setObjectName(QString::fromUtf8("AlertItem")); AlertItem->resize(400, 122); AlertItem->setMinimumSize(QSize(350, 122)); AlertItem->setMaximumSize(QSize(400, 122)); AlertItem->setStyleSheet(QString::fromUtf8("#AlertItem\n" "{\n" "background-color: #FFFFFF;\n" "}")); verticalLayout = new QVBoxLayout(AlertItem); verticalLayout->setSpacing(11); verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); verticalLayout->setContentsMargins(0, 0, 0, 0); wContainer = new QWidget(AlertItem); wContainer->setObjectName(QString::fromUtf8("wContainer")); wContainer->setMinimumSize(QSize(0, 121)); wContainer->setMaximumSize(QSize(16777215, 121)); verticalLayout_2 = new QVBoxLayout(wContainer); verticalLayout_2->setSpacing(0); verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2")); verticalLayout_2->setContentsMargins(0, 7, 0, 7); wTitle = new QWidget(wContainer); wTitle->setObjectName(QString::fromUtf8("wTitle")); horizontalLayout_4 = new QHBoxLayout(wTitle); horizontalLayout_4->setSpacing(4); horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4")); horizontalLayout_4->setContentsMargins(16, 0, 16, 0); wNotificationIcon = new QWidget(wTitle); wNotificationIcon->setObjectName(QString::fromUtf8("wNotificationIcon")); horizontalLayout_5 = new QHBoxLayout(wNotificationIcon); horizontalLayout_5->setSpacing(0); horizontalLayout_5->setObjectName(QString::fromUtf8("horizontalLayout_5")); horizontalLayout_5->setContentsMargins(0, 0, 0, 0); bNotificationIcon = new QPushButton(wNotificationIcon); bNotificationIcon->setObjectName(QString::fromUtf8("bNotificationIcon")); bNotificationIcon->setMinimumSize(QSize(10, 8)); bNotificationIcon->setMaximumSize(QSize(10, 8)); bNotificationIcon->setStyleSheet(QString::fromUtf8("#bNotificationIcon\n" "{\n" "border: none;\n" "}")); bNotificationIcon->setIconSize(QSize(10, 8)); horizontalLayout_5->addWidget(bNotificationIcon); horizontalLayout_4->addWidget(wNotificationIcon); lTitle = new QLabel(wTitle); lTitle->setObjectName(QString::fromUtf8("lTitle")); lTitle->setStyleSheet(QString::fromUtf8("")); horizontalLayout_4->addWidget(lTitle); horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); horizontalLayout_4->addItem(horizontalSpacer_2); lNew = new QLabel(wTitle); lNew->setObjectName(QString::fromUtf8("lNew")); QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum); sizePolicy.setHorizontalStretch(0); sizePolicy.setVerticalStretch(0); sizePolicy.setHeightForWidth(lNew->sizePolicy().hasHeightForWidth()); lNew->setSizePolicy(sizePolicy); lNew->setMaximumSize(QSize(16777215, 16)); lNew->setStyleSheet(QString::fromUtf8("#lNew\n" "{\n" "background-color: #FF333A;\n" "color: #FFFFFF;\n" "font-weight: bold;\n" "font-family: Lato;\n" "font-size: 10px;\n" "border-radius: 4px;\n" "}")); lNew->setAlignment(Qt::AlignCenter); lNew->setMargin(4); horizontalLayout_4->addWidget(lNew); verticalLayout_2->addWidget(wTitle); wHeading = new QWidget(wContainer); wHeading->setObjectName(QString::fromUtf8("wHeading")); wHeading->setMinimumSize(QSize(0, 24)); wHeading->setMaximumSize(QSize(16777215, 24)); horizontalLayout = new QHBoxLayout(wHeading); horizontalLayout->setSpacing(4); horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout")); horizontalLayout->setContentsMargins(14, 0, 14, 0); sIconWidget = new QStackedWidget(wHeading); sIconWidget->setObjectName(QString::fromUtf8("sIconWidget")); sIconWidget->setMinimumSize(QSize(24, 24)); sIconWidget->setMaximumSize(QSize(24, 24)); pContact = new QWidget(); pContact->setObjectName(QString::fromUtf8("pContact")); horizontalLayout_3 = new QHBoxLayout(pContact); horizontalLayout_3->setSpacing(0); horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3")); horizontalLayout_3->setContentsMargins(0, 0, 0, 0); wAvatarContact = new AvatarWidget(pContact); wAvatarContact->setObjectName(QString::fromUtf8("wAvatarContact")); wAvatarContact->setMinimumSize(QSize(24, 24)); wAvatarContact->setMaximumSize(QSize(24, 24)); horizontalLayout_3->addWidget(wAvatarContact); sIconWidget->addWidget(pContact); pSharedFolder = new QWidget(); pSharedFolder->setObjectName(QString::fromUtf8("pSharedFolder")); horizontalLayout_2 = new QHBoxLayout(pSharedFolder); horizontalLayout_2->setSpacing(0); horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2")); horizontalLayout_2->setContentsMargins(0, 0, 0, 0); bSharedFolder = new QPushButton(pSharedFolder); bSharedFolder->setObjectName(QString::fromUtf8("bSharedFolder")); bSharedFolder->setMinimumSize(QSize(24, 24)); bSharedFolder->setMaximumSize(QSize(24, 24)); bSharedFolder->setStyleSheet(QString::fromUtf8("#bSharedFolder\n" "{\n" "border: none;\n" "}")); bSharedFolder->setIconSize(QSize(24, 24)); horizontalLayout_2->addWidget(bSharedFolder); sIconWidget->addWidget(pSharedFolder); horizontalLayout->addWidget(sIconWidget); lHeading = new QLabel(wHeading); lHeading->setObjectName(QString::fromUtf8("lHeading")); lHeading->setMinimumSize(QSize(325, 0)); lHeading->setStyleSheet(QString::fromUtf8("#lHeading \n" "{ \n" "font-family: \"Lato\"; \n" "font-size: 16px; \n" "color: #333333; \n" "}")); horizontalLayout->addWidget(lHeading); horizontalSpacer = new QSpacerItem(1, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); horizontalLayout->addItem(horizontalSpacer); verticalLayout_2->addWidget(wHeading); lDesc = new QLabel(wContainer); lDesc->setObjectName(QString::fromUtf8("lDesc")); lDesc->setMinimumSize(QSize(0, 35)); lDesc->setStyleSheet(QString::fromUtf8("#lDesc\n" "{\n" "font-family: Lato;\n" "margin-left: 13px;\n" "margin-right: 13px;\n" "font-size: 14px;\n" "}")); lDesc->setTextFormat(Qt::RichText); lDesc->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter); lDesc->setWordWrap(true); verticalLayout_2->addWidget(lDesc); lTimeStamp = new QLabel(wContainer); lTimeStamp->setObjectName(QString::fromUtf8("lTimeStamp")); lTimeStamp->setStyleSheet(QString::fromUtf8("#lTimeStamp\n" "{\n" " color: #999999;\n" " font-family: Lato;\n" " font-size: 12px;\n" " margin-left: 12px;\n" " margin-right: 12px;\n" "}")); verticalLayout_2->addWidget(lTimeStamp); verticalLayout->addWidget(wContainer); wSeparator = new QWidget(AlertItem); wSeparator->setObjectName(QString::fromUtf8("wSeparator")); wSeparator->setMinimumSize(QSize(400, 1)); wSeparator->setMaximumSize(QSize(400, 1)); wSeparator->setStyleSheet(QString::fromUtf8("#wSeparator\n" "{\n" " background-color: rgba(0,0,0,0.1);\n" "}")); verticalLayout->addWidget(wSeparator); retranslateUi(AlertItem); sIconWidget->setCurrentIndex(1); QMetaObject::connectSlotsByName(AlertItem); } // setupUi void retranslateUi(QWidget *AlertItem) { AlertItem->setWindowTitle(QString()); bNotificationIcon->setText(QString()); lTitle->setText(QString()); lNew->setText(QCoreApplication::translate("AlertItem", "NEW", nullptr)); bSharedFolder->setText(QString()); lHeading->setText(QString()); lDesc->setText(QString()); lTimeStamp->setText(QString()); } // retranslateUi }; namespace Ui { class AlertItem: public Ui_AlertItem {}; } // namespace Ui QT_END_NAMESPACE #endif // UI_ALERTITEM_H