/******************************************************************************** ** Form generated from reading UI file 'StreamingFromMegaDialog.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_STREAMINGFROMMEGADIALOG_H #define UI_STREAMINGFROMMEGADIALOG_H #include #include #include #include #include #include #include #include #include #include #include #include QT_BEGIN_NAMESPACE class Ui_StreamingFromMegaDialog { public: QVBoxLayout *verticalLayout_6; QWidget *wStreamResource; QVBoxLayout *verticalLayout; QLabel *lStreamResourceDesc; QWidget *wSelectMedia; QHBoxLayout *horizontalLayout_3; QPushButton *bFromCloud; QPushButton *bFromPublicLink; QWidget *wContainer; QVBoxLayout *verticalLayout_3; QWidget *wStatus; QVBoxLayout *verticalLayout_4; QLabel *lFileInfoDesc; QWidget *wFileInfo; QHBoxLayout *horizontalLayout_6; QStackedWidget *sFileInfo; QWidget *pFileInfo; QHBoxLayout *horizontalLayout_2; QPushButton *lFileType; QWidget *wFileInfoDesc; QVBoxLayout *verticalLayout_5; QWidget *widget; QHBoxLayout *horizontalLayout; QLabel *lFileName; QPushButton *lState; QSpacerItem *horizontalSpacer_2; QLabel *lFileSize; QWidget *pNothingSelected; QWidget *widget_2; QHBoxLayout *horizontalLayout_7; QLabel *lNothingSelected; QWidget *pWaitingForFileInfo; QHBoxLayout *horizontalLayout_8; QLabel *WaitingForFileInfoLabel; QWidget *widget_3; QVBoxLayout *verticalLayout_7; QToolButton *bCopyLink; QWidget *wOpenWith; QVBoxLayout *verticalLayout_2; QLabel *lOpenWithDesc; QWidget *wOpenButtons; QHBoxLayout *horizontalLayout_4; QPushButton *bOpenDefault; QPushButton *bOpenOther; QWidget *wClose; QHBoxLayout *horizontalLayout_5; QToolButton *toolButtonError; QLabel *labelError; QSpacerItem *horizontalSpacer; QPushButton *bClose; void setupUi(QDialog *StreamingFromMegaDialog) { if (StreamingFromMegaDialog->objectName().isEmpty()) StreamingFromMegaDialog->setObjectName(QString::fromUtf8("StreamingFromMegaDialog")); StreamingFromMegaDialog->setWindowModality(Qt::NonModal); StreamingFromMegaDialog->resize(420, 303); StreamingFromMegaDialog->setMinimumSize(QSize(420, 300)); StreamingFromMegaDialog->setMaximumSize(QSize(420, 303)); StreamingFromMegaDialog->setStyleSheet(QString::fromUtf8("QWidget\n" "{\n" "font-size: 11px;\n" "}\n" "\n" "#StreamingFromMegaDialog\n" "{\n" " background-color: #f1f1f1;\n" "}\n" "\n" "#lStreamResourceDesc, #lFileInfoDesc, #lOpenWithDesc, #labelError\n" "{\n" " font-family: \"Lato\";\n" " font-size: 12px;\n" " color: #000000;\n" "}\n" "#labelError\n" "{\n" " font-size: 13px;\n" "}\n" "#lFileSize\n" "{\n" " font-family: \"Lato\";\n" " font-size: 12px;\n" " color: #666666;\n" "}\n" "#wContainer\n" "{\n" " background-color: white;\n" "}\n" "\n" "#lNothingSelected\n" "{\n" " font-size: 12px;\n" " color: rgba(0, 0, 0, 50)\n" "}\n" "\n" "#WaitingForFileInfoLabel\n" "{\n" " font-size: 12px;\n" " color: rgba(0, 0, 0, 50)\n" "}\n" "\n" "#lFileName, #lState\n" "{\n" " font-size: 12px;\n" " color: #000000;\n" "}\n" "#bCopyLink\n" "{\n" " border: 1px solid #dfdfd1;\n" " border-radius: 4px;\n" " background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,\n" " stop: 0 rgba(246,247,250,30), stop: 1 rgba(232,233,235,30));\n" "" "}")); verticalLayout_6 = new QVBoxLayout(StreamingFromMegaDialog); verticalLayout_6->setSpacing(0); verticalLayout_6->setObjectName(QString::fromUtf8("verticalLayout_6")); verticalLayout_6->setContentsMargins(0, 0, 0, 0); wStreamResource = new QWidget(StreamingFromMegaDialog); wStreamResource->setObjectName(QString::fromUtf8("wStreamResource")); wStreamResource->setMinimumSize(QSize(0, 84)); wStreamResource->setMaximumSize(QSize(16777215, 80)); verticalLayout = new QVBoxLayout(wStreamResource); verticalLayout->setSpacing(0); verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); verticalLayout->setContentsMargins(16, 9, 16, 0); lStreamResourceDesc = new QLabel(wStreamResource); lStreamResourceDesc->setObjectName(QString::fromUtf8("lStreamResourceDesc")); lStreamResourceDesc->setMinimumSize(QSize(0, 16)); lStreamResourceDesc->setMaximumSize(QSize(16777215, 16)); lStreamResourceDesc->setStyleSheet(QString::fromUtf8("")); verticalLayout->addWidget(lStreamResourceDesc); wSelectMedia = new QWidget(wStreamResource); wSelectMedia->setObjectName(QString::fromUtf8("wSelectMedia")); wSelectMedia->setMinimumSize(QSize(0, 32)); wSelectMedia->setMaximumSize(QSize(16777215, 32)); wSelectMedia->setStyleSheet(QString::fromUtf8("")); horizontalLayout_3 = new QHBoxLayout(wSelectMedia); horizontalLayout_3->setSpacing(16); horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3")); horizontalLayout_3->setContentsMargins(0, 0, 0, 2); bFromCloud = new QPushButton(wSelectMedia); bFromCloud->setObjectName(QString::fromUtf8("bFromCloud")); horizontalLayout_3->addWidget(bFromCloud); bFromPublicLink = new QPushButton(wSelectMedia); bFromPublicLink->setObjectName(QString::fromUtf8("bFromPublicLink")); horizontalLayout_3->addWidget(bFromPublicLink); verticalLayout->addWidget(wSelectMedia); verticalLayout_6->addWidget(wStreamResource); wContainer = new QWidget(StreamingFromMegaDialog); wContainer->setObjectName(QString::fromUtf8("wContainer")); verticalLayout_3 = new QVBoxLayout(wContainer); verticalLayout_3->setSpacing(0); verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3")); verticalLayout_3->setContentsMargins(16, 2, 16, 0); wStatus = new QWidget(wContainer); wStatus->setObjectName(QString::fromUtf8("wStatus")); verticalLayout_4 = new QVBoxLayout(wStatus); verticalLayout_4->setSpacing(0); verticalLayout_4->setObjectName(QString::fromUtf8("verticalLayout_4")); verticalLayout_4->setContentsMargins(0, 2, 0, 0); lFileInfoDesc = new QLabel(wStatus); lFileInfoDesc->setObjectName(QString::fromUtf8("lFileInfoDesc")); lFileInfoDesc->setMinimumSize(QSize(0, 37)); lFileInfoDesc->setMaximumSize(QSize(16777215, 37)); lFileInfoDesc->setStyleSheet(QString::fromUtf8("")); verticalLayout_4->addWidget(lFileInfoDesc); wFileInfo = new QWidget(wStatus); wFileInfo->setObjectName(QString::fromUtf8("wFileInfo")); wFileInfo->setEnabled(true); wFileInfo->setMinimumSize(QSize(0, 44)); wFileInfo->setMaximumSize(QSize(16777215, 44)); horizontalLayout_6 = new QHBoxLayout(wFileInfo); horizontalLayout_6->setSpacing(0); horizontalLayout_6->setObjectName(QString::fromUtf8("horizontalLayout_6")); horizontalLayout_6->setContentsMargins(0, 0, 0, 0); sFileInfo = new QStackedWidget(wFileInfo); sFileInfo->setObjectName(QString::fromUtf8("sFileInfo")); sFileInfo->setMinimumSize(QSize(0, 44)); sFileInfo->setMaximumSize(QSize(16777215, 44)); sFileInfo->setStyleSheet(QString::fromUtf8("background-color: white;")); pFileInfo = new QWidget(); pFileInfo->setObjectName(QString::fromUtf8("pFileInfo")); horizontalLayout_2 = new QHBoxLayout(pFileInfo); horizontalLayout_2->setSpacing(0); horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2")); horizontalLayout_2->setContentsMargins(0, 0, 0, 0); lFileType = new QPushButton(pFileInfo); lFileType->setObjectName(QString::fromUtf8("lFileType")); lFileType->setMinimumSize(QSize(48, 48)); lFileType->setMaximumSize(QSize(48, 48)); lFileType->setFocusPolicy(Qt::NoFocus); lFileType->setStyleSheet(QString::fromUtf8("border: none;\n" "padding-left: -16px;")); lFileType->setIconSize(QSize(48, 48)); horizontalLayout_2->addWidget(lFileType); wFileInfoDesc = new QWidget(pFileInfo); wFileInfoDesc->setObjectName(QString::fromUtf8("wFileInfoDesc")); wFileInfoDesc->setMinimumSize(QSize(0, 30)); wFileInfoDesc->setMaximumSize(QSize(16777215, 30)); verticalLayout_5 = new QVBoxLayout(wFileInfoDesc); verticalLayout_5->setSpacing(0); verticalLayout_5->setObjectName(QString::fromUtf8("verticalLayout_5")); verticalLayout_5->setContentsMargins(0, 0, 0, 0); widget = new QWidget(wFileInfoDesc); widget->setObjectName(QString::fromUtf8("widget")); horizontalLayout = new QHBoxLayout(widget); horizontalLayout->setSpacing(10); horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout")); horizontalLayout->setContentsMargins(0, 0, 0, 0); lFileName = new QLabel(widget); lFileName->setObjectName(QString::fromUtf8("lFileName")); QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Preferred); sizePolicy.setHorizontalStretch(0); sizePolicy.setVerticalStretch(0); sizePolicy.setHeightForWidth(lFileName->sizePolicy().hasHeightForWidth()); lFileName->setSizePolicy(sizePolicy); lFileName->setMinimumSize(QSize(0, 0)); lFileName->setMaximumSize(QSize(260, 16777215)); lFileName->setText(QString::fromUtf8("")); horizontalLayout->addWidget(lFileName); lState = new QPushButton(widget); lState->setObjectName(QString::fromUtf8("lState")); QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Fixed); sizePolicy1.setHorizontalStretch(0); sizePolicy1.setVerticalStretch(0); sizePolicy1.setHeightForWidth(lState->sizePolicy().hasHeightForWidth()); lState->setSizePolicy(sizePolicy1); lState->setMinimumSize(QSize(8, 8)); lState->setMaximumSize(QSize(8, 8)); lState->setFocusPolicy(Qt::NoFocus); lState->setStyleSheet(QString::fromUtf8("border:none;")); horizontalLayout->addWidget(lState); horizontalSpacer_2 = new QSpacerItem(31, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); horizontalLayout->addItem(horizontalSpacer_2); verticalLayout_5->addWidget(widget); lFileSize = new QLabel(wFileInfoDesc); lFileSize->setObjectName(QString::fromUtf8("lFileSize")); lFileSize->setText(QString::fromUtf8("")); verticalLayout_5->addWidget(lFileSize); horizontalLayout_2->addWidget(wFileInfoDesc); sFileInfo->addWidget(pFileInfo); pNothingSelected = new QWidget(); pNothingSelected->setObjectName(QString::fromUtf8("pNothingSelected")); widget_2 = new QWidget(pNothingSelected); widget_2->setObjectName(QString::fromUtf8("widget_2")); widget_2->setGeometry(QRect(0, 0, 361, 44)); QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Preferred); sizePolicy2.setHorizontalStretch(0); sizePolicy2.setVerticalStretch(0); sizePolicy2.setHeightForWidth(widget_2->sizePolicy().hasHeightForWidth()); widget_2->setSizePolicy(sizePolicy2); widget_2->setMinimumSize(QSize(0, 0)); widget_2->setMaximumSize(QSize(16777215, 16777215)); horizontalLayout_7 = new QHBoxLayout(widget_2); horizontalLayout_7->setSpacing(0); horizontalLayout_7->setObjectName(QString::fromUtf8("horizontalLayout_7")); horizontalLayout_7->setContentsMargins(0, 0, 0, 0); lNothingSelected = new QLabel(widget_2); lNothingSelected->setObjectName(QString::fromUtf8("lNothingSelected")); lNothingSelected->setMinimumSize(QSize(0, 0)); lNothingSelected->setMaximumSize(QSize(16777215, 16777215)); horizontalLayout_7->addWidget(lNothingSelected); sFileInfo->addWidget(pNothingSelected); pWaitingForFileInfo = new QWidget(); pWaitingForFileInfo->setObjectName(QString::fromUtf8("pWaitingForFileInfo")); horizontalLayout_8 = new QHBoxLayout(pWaitingForFileInfo); horizontalLayout_8->setObjectName(QString::fromUtf8("horizontalLayout_8")); horizontalLayout_8->setContentsMargins(0, 0, 0, 0); WaitingForFileInfoLabel = new QLabel(pWaitingForFileInfo); WaitingForFileInfoLabel->setObjectName(QString::fromUtf8("WaitingForFileInfoLabel")); QPalette palette; QBrush brush(QColor(102, 102, 102, 255)); brush.setStyle(Qt::SolidPattern); palette.setBrush(QPalette::Active, QPalette::WindowText, brush); QBrush brush1(QColor(255, 255, 255, 255)); brush1.setStyle(Qt::SolidPattern); palette.setBrush(QPalette::Active, QPalette::Button, brush1); palette.setBrush(QPalette::Active, QPalette::Base, brush1); palette.setBrush(QPalette::Active, QPalette::Window, brush1); palette.setBrush(QPalette::Inactive, QPalette::WindowText, brush); palette.setBrush(QPalette::Inactive, QPalette::Button, brush1); palette.setBrush(QPalette::Inactive, QPalette::Base, brush1); palette.setBrush(QPalette::Inactive, QPalette::Window, brush1); QBrush brush2(QColor(255, 255, 255, 127)); brush2.setStyle(Qt::SolidPattern); palette.setBrush(QPalette::Disabled, QPalette::WindowText, brush2); palette.setBrush(QPalette::Disabled, QPalette::Button, brush1); palette.setBrush(QPalette::Disabled, QPalette::Base, brush1); palette.setBrush(QPalette::Disabled, QPalette::Window, brush1); WaitingForFileInfoLabel->setPalette(palette); QFont font; font.setItalic(true); WaitingForFileInfoLabel->setFont(font); horizontalLayout_8->addWidget(WaitingForFileInfoLabel); sFileInfo->addWidget(pWaitingForFileInfo); horizontalLayout_6->addWidget(sFileInfo); widget_3 = new QWidget(wFileInfo); widget_3->setObjectName(QString::fromUtf8("widget_3")); verticalLayout_7 = new QVBoxLayout(widget_3); verticalLayout_7->setSpacing(0); verticalLayout_7->setObjectName(QString::fromUtf8("verticalLayout_7")); verticalLayout_7->setContentsMargins(0, 0, 0, 0); bCopyLink = new QToolButton(widget_3); bCopyLink->setObjectName(QString::fromUtf8("bCopyLink")); bCopyLink->setMinimumSize(QSize(36, 36)); bCopyLink->setMaximumSize(QSize(32, 32)); bCopyLink->setStyleSheet(QString::fromUtf8("")); QIcon icon; icon.addFile(QString::fromUtf8(":/images/streaming_link.png"), QSize(), QIcon::Normal, QIcon::Off); bCopyLink->setIcon(icon); verticalLayout_7->addWidget(bCopyLink); horizontalLayout_6->addWidget(widget_3); verticalLayout_4->addWidget(wFileInfo); verticalLayout_3->addWidget(wStatus); wOpenWith = new QWidget(wContainer); wOpenWith->setObjectName(QString::fromUtf8("wOpenWith")); wOpenWith->setMinimumSize(QSize(0, 88)); verticalLayout_2 = new QVBoxLayout(wOpenWith); verticalLayout_2->setSpacing(0); verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2")); verticalLayout_2->setContentsMargins(0, 3, 0, 0); lOpenWithDesc = new QLabel(wOpenWith); lOpenWithDesc->setObjectName(QString::fromUtf8("lOpenWithDesc")); verticalLayout_2->addWidget(lOpenWithDesc); wOpenButtons = new QWidget(wOpenWith); wOpenButtons->setObjectName(QString::fromUtf8("wOpenButtons")); wOpenButtons->setStyleSheet(QString::fromUtf8("")); horizontalLayout_4 = new QHBoxLayout(wOpenButtons); horizontalLayout_4->setSpacing(16); horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4")); horizontalLayout_4->setContentsMargins(0, 0, 0, 23); bOpenDefault = new QPushButton(wOpenButtons); bOpenDefault->setObjectName(QString::fromUtf8("bOpenDefault")); bOpenDefault->setEnabled(false); horizontalLayout_4->addWidget(bOpenDefault); bOpenOther = new QPushButton(wOpenButtons); bOpenOther->setObjectName(QString::fromUtf8("bOpenOther")); bOpenOther->setEnabled(false); bOpenOther->setMinimumSize(QSize(0, 0)); bOpenOther->setMaximumSize(QSize(16777215, 16777215)); horizontalLayout_4->addWidget(bOpenOther); horizontalLayout_4->setStretch(0, 1); horizontalLayout_4->setStretch(1, 1); verticalLayout_2->addWidget(wOpenButtons); verticalLayout_3->addWidget(wOpenWith); verticalLayout_6->addWidget(wContainer); wClose = new QWidget(StreamingFromMegaDialog); wClose->setObjectName(QString::fromUtf8("wClose")); wClose->setMinimumSize(QSize(0, 48)); wClose->setMaximumSize(QSize(16777215, 48)); wClose->setStyleSheet(QString::fromUtf8("")); horizontalLayout_5 = new QHBoxLayout(wClose); horizontalLayout_5->setObjectName(QString::fromUtf8("horizontalLayout_5")); horizontalLayout_5->setContentsMargins(12, 6, 16, 4); toolButtonError = new QToolButton(wClose); toolButtonError->setObjectName(QString::fromUtf8("toolButtonError")); toolButtonError->setMinimumSize(QSize(27, 27)); toolButtonError->setMaximumSize(QSize(27, 27)); toolButtonError->setStyleSheet(QString::fromUtf8("border: none;")); toolButtonError->setText(QString::fromUtf8("")); QIcon icon1; icon1.addFile(QString::fromUtf8(":/images/icon_error.png"), QSize(), QIcon::Normal, QIcon::Off); toolButtonError->setIcon(icon1); toolButtonError->setIconSize(QSize(24, 24)); horizontalLayout_5->addWidget(toolButtonError); labelError = new QLabel(wClose); labelError->setObjectName(QString::fromUtf8("labelError")); labelError->setMinimumSize(QSize(250, 0)); labelError->setWordWrap(true); horizontalLayout_5->addWidget(labelError); horizontalSpacer = new QSpacerItem(226, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); horizontalLayout_5->addItem(horizontalSpacer); bClose = new QPushButton(wClose); bClose->setObjectName(QString::fromUtf8("bClose")); bClose->setMinimumSize(QSize(92, 0)); bClose->setMaximumSize(QSize(92, 16777215)); horizontalLayout_5->addWidget(bClose); verticalLayout_6->addWidget(wClose); wStreamResource->raise(); wClose->raise(); wContainer->raise(); QWidget::setTabOrder(bFromCloud, bFromPublicLink); QWidget::setTabOrder(bFromPublicLink, bCopyLink); QWidget::setTabOrder(bCopyLink, bOpenDefault); QWidget::setTabOrder(bOpenDefault, bOpenOther); QWidget::setTabOrder(bOpenOther, bClose); retranslateUi(StreamingFromMegaDialog); sFileInfo->setCurrentIndex(1); QMetaObject::connectSlotsByName(StreamingFromMegaDialog); } // setupUi void retranslateUi(QDialog *StreamingFromMegaDialog) { StreamingFromMegaDialog->setWindowTitle(QCoreApplication::translate("StreamingFromMegaDialog", "Stream from MEGA", nullptr)); lStreamResourceDesc->setText(QCoreApplication::translate("StreamingFromMegaDialog", "Select media from...", nullptr)); bFromCloud->setText(QCoreApplication::translate("StreamingFromMegaDialog", "Cloud Drive", nullptr)); bFromPublicLink->setText(QCoreApplication::translate("StreamingFromMegaDialog", "Public link", nullptr)); lFileInfoDesc->setText(QCoreApplication::translate("StreamingFromMegaDialog", "File info:", nullptr)); lFileType->setText(QString()); lState->setText(QString()); lNothingSelected->setText(QCoreApplication::translate("StreamingFromMegaDialog", "Nothing selected", nullptr)); WaitingForFileInfoLabel->setText(QCoreApplication::translate("StreamingFromMegaDialog", "Please wait...", nullptr)); bCopyLink->setText(QString()); lOpenWithDesc->setText(QCoreApplication::translate("StreamingFromMegaDialog", "Open with:", nullptr)); bOpenDefault->setText(QCoreApplication::translate("StreamingFromMegaDialog", "Default application", nullptr)); bOpenOther->setText(QCoreApplication::translate("StreamingFromMegaDialog", "Choose application", nullptr)); labelError->setText(QCoreApplication::translate("StreamingFromMegaDialog", "Stream error: transfer overquota", nullptr)); bClose->setText(QCoreApplication::translate("StreamingFromMegaDialog", "Close", nullptr)); } // retranslateUi }; namespace Ui { class StreamingFromMegaDialog: public Ui_StreamingFromMegaDialog {}; } // namespace Ui QT_END_NAMESPACE #endif // UI_STREAMINGFROMMEGADIALOG_H