/******************************************************************************** ** Form generated from reading UI file 'AccountDetailsDialog.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_ACCOUNTDETAILSDIALOG_H #define UI_ACCOUNTDETAILSDIALOG_H #include #include #include #include #include #include #include #include #include #include #include #include #include #include "CircularUsageProgressBar.h" QT_BEGIN_NAMESPACE class Ui_AccountDetailsDialog { public: QVBoxLayout *layoutWidget; QStackedWidget *sHeader; QWidget *pLoading; QGridLayout *gridLayout; QSpacerItem *verticalSpacer_6; QSpacerItem *verticalSpacer_5; QLabel *lLoading; QSpacerItem *horizontalSpacer_7; QSpacerItem *horizontalSpacer_8; QWidget *pStorageAndTransferUsage; QHBoxLayout *horizontalLayout_22; QWidget *wStorageUsage; QHBoxLayout *horizontalLayout_23; QStackedWidget *sStorage; CircularUsageProgressBar *wCircularStorage; QWidget *wBusinessStorage; QHBoxLayout *horizontalLayout_24; QPushButton *bBusinessStorage; QWidget *wStorageDetails; QVBoxLayout *verticalLayout_2; QSpacerItem *verticalSpacer; QLabel *lStorage; QHBoxLayout *horizontalLayout_2; QLabel *lUsedStorage; QLabel *lTotalStorage; QSpacerItem *horizontalSpacer; QSpacerItem *verticalSpacer_2; QWidget *wTransferUsage; QHBoxLayout *horizontalLayout_25; QStackedWidget *sTransfer; CircularUsageProgressBar *wCircularTransfer; QWidget *wBusinessTransfer; QHBoxLayout *horizontalLayout_26; QPushButton *bBusinessTransfer; QWidget *wTransferDetails; QVBoxLayout *verticalLayout_14; QSpacerItem *verticalSpacer_3; QLabel *lTransfer; QHBoxLayout *horizontalLayout_5; QLabel *lUsedTransfer; QLabel *lTotalTransfer; QSpacerItem *horizontalSpacer_2; QSpacerItem *verticalSpacer_4; QWidget *wDetailedUsage; QVBoxLayout *wDetailedUsageLayout; QWidget *wCloudDrive; QHBoxLayout *horizontalLayout; QPushButton *bCloudDrive; QVBoxLayout *verticalLayout; QHBoxLayout *horizontalLayout_3; QLabel *lCloudDrive; QLabel *lUsedCloudDrive; QProgressBar *pbCloudDrive; QWidget *wVault; QHBoxLayout *horizontalLayout_21; QPushButton *bVault; QVBoxLayout *verticalLayout_20; QHBoxLayout *horizontalLayout_30; QLabel *lVault; QLabel *lUsedVault; QProgressBar *pbVault; QWidget *wRubbish; QHBoxLayout *horizontalLayout_7; QPushButton *bRubbish; QVBoxLayout *verticalLayout_3; QHBoxLayout *horizontalLayout_4; QLabel *lRubbish; QLabel *lUsedRubbish; QProgressBar *pbRubbish; QWidget *wAvailable; QHBoxLayout *horizontalLayout_12; QPushButton *bAvailable; QHBoxLayout *horizontalLayout_13; QLabel *lAvailable; QLabel *lAvailableStorage; QWidget *wSizeVersions; QHBoxLayout *horizontalLayout_6; QLabel *lVersionIcon; QLabel *lVersions; QLabel *lUsedByVersions; void setupUi(QDialog *AccountDetailsDialog) { if (AccountDetailsDialog->objectName().isEmpty()) AccountDetailsDialog->setObjectName(QString::fromUtf8("AccountDetailsDialog")); AccountDetailsDialog->setEnabled(true); AccountDetailsDialog->resize(440, 314); QIcon icon; QString iconThemeName = QString::fromUtf8("mega"); if (QIcon::hasThemeIcon(iconThemeName)) { icon = QIcon::fromTheme(iconThemeName); } else { icon.addFile(QString::fromUtf8("."), QSize(), QIcon::Normal, QIcon::Off); } AccountDetailsDialog->setWindowIcon(icon); AccountDetailsDialog->setStyleSheet(QString::fromUtf8("\n" "#AccountDetailsDialog\n" "{\n" " border-radius: 0 0 4px 4px;\n" " background-color: #FFFFFF;\n" "}\n" "\n" "/* Config all labels */\n" "QLabel\n" "{\n" " font-family: \"Lato\";\n" "}\n" "\n" "#sHeader\n" "{\n" " background-color: #F4F6F8;\n" " height: 96px;\n" " width: 440px;\n" " height: 96px;\n" " width: 440px;\n" " max-height: 96px;\n" " min-height: 96px;\n" " max-width:440px;\n" " min-width:440px;\n" "}\n" "\n" "#lCloudDrive, #lVault, #lRubbish, #lStorage, #lTransfer, #lAvailable\n" "{\n" " color: #333333;\n" " font-size: 13px;\n" " font-weight: bold;\n" "}\n" "\n" "#lStorage, #lTransfer\n" "{\n" " qproperty-alignment: 'AlignLeft | AlignVCenter';\n" "}\n" "\n" "#lCloudDrive, #lVault, #lRubbish, #lAvailable\n" "{\n" " qproperty-alignment: 'AlignLeft | AlignBottom';\n" "}\n" "\n" "#wCloudDrive, #wRubbish, #wVault\n" "{\n" " border: 0px;\n" "}\n" "\n" "#lStorage, #lTransfer, #lUsedStorage, #lUsedTransfer\n" "{\n" " margin-left: 6px;\n" "}\n" "\n" "#lStorag" "e, #lTransfer\n" "{\n" " padding-bottom: 4px;\n" "}\n" "\n" "#lUsedCloudDrive, #lUsedInbox, #lUsedRubbish, #lUsedByVersions, #lAvailableStorage\n" "{\n" " color: #333333;\n" " font-size: 13px;\n" "}\n" "\n" "#lUsedCloudDrive, #lUsedVault, #lUsedRubbish\n" "{\n" " qproperty-alignment: 'AlignRight | AlignBottom';\n" " padding-right: 4px;\n" "}\n" "\n" "#lUsedByVersions\n" "{\n" " qproperty-alignment: 'AlignRight | AlignVCenter';\n" " padding-right: 8px;\n" "}\n" "\n" "#wDetailedUsage\n" "{\n" " min-height: 120px;\n" "}\n" "\n" "#AccountDetailsDialog[storageState=\"warning\"] #wDetailedUsage QProgressBar::chunk\n" "{\n" " background-color: #FF993B;\n" "}\n" "\n" "#AccountDetailsDialog[storageState=\"full\"] #wDetailedUsage QProgressBar::chunk\n" "{\n" " background-color: #FF5646;\n" "}\n" "\n" "#AccountDetailsDialog[storageState=\"warning\"] #lUsedStorage\n" "{\n" " color: #F98400;\n" "}\n" "\n" "#AccountDetailsDialog[storageState=\"full\"] #lUsedStorage\n" "{\n" " color: #D90007;\n" "}" "\n" "\n" "#AccountDetailsDialog[transferState=\"warning\"] #lUsedTransfer\n" "{\n" " color: #F98400;\n" "}\n" "\n" "#AccountDetailsDialog[transferState=\"full\"] #lUsedTransfer\n" "{\n" " color: #D90007;\n" "}\n" "\n" "#lUsedStorage, #lUsedTransfer\n" "{\n" " color: #333333;\n" " font-size: 13px;\n" " qproperty-alignment: AlignRight;\n" "}\n" "\n" "#lTotalStorage, #lTotalTransfer\n" "{\n" " color: #8d8d8e;\n" " font-size: 13px;\n" " qproperty-alignment: AlignLeft;\n" "}\n" "\n" "#wDetailedUsage QPushButton\n" "{\n" " border-radius: 8px;\n" " background-color: #EEEEEE;\n" "}\n" "\n" "#bCloudDrive, #bVault, #bRubbish\n" "{\n" " qproperty-iconSize: 24px;\n" "}\n" "\n" "#bCloudDrive\n" "{\n" " qproperty-icon : url(:/images/account_details/Cloud_Drive_24_ico.png);\n" "}\n" "\n" "#bVault\n" "{\n" " qproperty-icon : url(:/images/Backups_24_ico.png);\n" "}\n" "\n" "#bRubbish\n" "{\n" " qproperty-icon : url(:/images/account_details/Bin_24_ico.png);\n" "}\n" "\n" "#bAvailable\n" "{\n" " qpro" "perty-icon : url(:/images/account_details/available_storage.png);\n" "}\n" "\n" "#lVersionIcon\n" "{\n" " qproperty-icon : url(:/images/account_details/versions.png);\n" " padding-left:4px;\n" "}\n" "\n" "#lLoading\n" "{\n" " border-radius: 16px;\n" " background-color: white;\n" " height: 32px;\n" " max-height: 32px;\n" " min-height: 32px;\n" " max-width:440px;\n" " min-width:10px;\n" " font-size: 14px;\n" " color: #333333;\n" " padding-left:24px;\n" " padding-right:24px;\n" " qproperty-alignment: 'AlignVCenter | AlignHCenter';\n" "}\n" "\n" "#pLoading, #pStorageAndTransferUsage\n" "{\n" " height: 96px;\n" " width: 440px;\n" " max-height: 96px;\n" " min-height: 96px;\n" " max-width:440px;\n" " min-width:440px;\n" "}\n" "\n" "QProgressBar\n" "{\n" " height: 4px;\n" " min-height: 4px;\n" " max-height: 4px;\n" " border:0px;\n" " border-radius: 2px;\n" " background-color: #EEEEEE;\n" " margin-bottom: 4px;\n" "}\n" "\n" "QProgressBar::chu" "nk\n" "{\n" " background-color: #6FD7FF;\n" " border-radius: 2px;\n" " border:0px;\n" "}\n" "\n" "#wSizeVersions\n" "{\n" " background-color: #F2F2F2;\n" " border-radius: 8px;\n" " margin-left: 24px;\n" " margin-right: 23px;\n" " margin-bottom: 26px;\n" " height: 32px;\n" " max-height: 32px;\n" " min-height: 32px;\n" " border-top: 2px inset #ECECEC;\n" " border-left: 1px inset #ECECEC;\n" " border-right: 1px inset #ECECEC;\n" " border-bottom: 1px inset #ECECEC;\n" "}\n" "\n" "#lVersions\n" "{\n" " color: #333333;\n" " font-size: 13px;\n" " padding-left: 8px;\n" "}\n" "\n" "#AccountDetailsDialog[loading=true] #sHeader\n" "{\n" " /* Loading page */\n" " qproperty-currentIndex: 0;\n" "}\n" "\n" "#AccountDetailsDialog[loading=false] #sHeader\n" "{\n" " /* Usage page */\n" " qproperty-currentIndex: 1;\n" "}\n" "\n" "#AccountDetailsDialog[accountType=\"free\"] #pStorageAndTransferUsage QStackedWidget, #AccountDetailsDialog[accountType=\"pro\"] #pStorageAn" "dTransferUsage QStackedWidget\n" "{\n" " /* Business account pages */\n" " qproperty-currentIndex: 0;\n" "}\n" "\n" "#AccountDetailsDialog[accountType=\"business\"] #pStorageAndTransferUsage QStackedWidget\n" "{\n" " /* Non-business account pages */\n" " qproperty-currentIndex: 1;\n" "}\n" "\n" "#pStorageAndTransferUsage #sStorage, #sTransfer\n" "{\n" " height: 52px;\n" " width: 56px;\n" " min-height: 52px;\n" " min-width: 56px;\n" " max-height: 52px;\n" " max-width: 56px;\n" " margin-left: 24px;\n" "}\n" "\n" "#wStorageUsage, #wTransferUsage\n" "{\n" " height: 96px;\n" " width: 219px;\n" " max-height: 96px;\n" " min-height: 96px;\n" " max-width:219px;\n" " min-width:219px;\n" "}\n" "\n" "#wStorageUsage\n" "{\n" " border-right: 1px solid white;\n" "}\n" "\n" "#wTransferUsage\n" "{\n" " border-left: 1px solid white;\n" "}\n" "\n" "#pStorageAndTransferUsage QPushButton\n" "{\n" " qproperty-iconSize: 44px;\n" " border:0px;\n" "}\n" "\n" "#AccountDeta" "ilsDialog[accountType=\"business\"] #bBusinessStorage\n" "{\n" " qproperty-icon :url(:/images/storage_for_business.png);\n" "}\n" "\n" "#AccountDetailsDialog[accountType=\"business\"] #bBusinessTransfer\n" "{\n" " qproperty-icon :url(:/images/transfer_for_business.png);\n" "}\n" "")); AccountDetailsDialog->setSizeGripEnabled(false); AccountDetailsDialog->setModal(false); layoutWidget = new QVBoxLayout(AccountDetailsDialog); layoutWidget->setSpacing(0); layoutWidget->setObjectName(QString::fromUtf8("layoutWidget")); layoutWidget->setSizeConstraint(QLayout::SetFixedSize); layoutWidget->setContentsMargins(0, 0, 0, 0); sHeader = new QStackedWidget(AccountDetailsDialog); sHeader->setObjectName(QString::fromUtf8("sHeader")); pLoading = new QWidget(); pLoading->setObjectName(QString::fromUtf8("pLoading")); gridLayout = new QGridLayout(pLoading); gridLayout->setSpacing(0); gridLayout->setObjectName(QString::fromUtf8("gridLayout")); gridLayout->setContentsMargins(0, 0, 0, 0); verticalSpacer_6 = new QSpacerItem(103, 16, QSizePolicy::Minimum, QSizePolicy::Expanding); gridLayout->addItem(verticalSpacer_6, 2, 1, 1, 1); verticalSpacer_5 = new QSpacerItem(103, 16, QSizePolicy::Minimum, QSizePolicy::Expanding); gridLayout->addItem(verticalSpacer_5, 0, 1, 1, 1); lLoading = new QLabel(pLoading); lLoading->setObjectName(QString::fromUtf8("lLoading")); QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Preferred); sizePolicy.setHorizontalStretch(0); sizePolicy.setVerticalStretch(0); sizePolicy.setHeightForWidth(lLoading->sizePolicy().hasHeightForWidth()); lLoading->setSizePolicy(sizePolicy); gridLayout->addWidget(lLoading, 1, 1, 1, 1); horizontalSpacer_7 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); gridLayout->addItem(horizontalSpacer_7, 1, 0, 1, 1); horizontalSpacer_8 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); gridLayout->addItem(horizontalSpacer_8, 1, 2, 1, 1); sHeader->addWidget(pLoading); pStorageAndTransferUsage = new QWidget(); pStorageAndTransferUsage->setObjectName(QString::fromUtf8("pStorageAndTransferUsage")); horizontalLayout_22 = new QHBoxLayout(pStorageAndTransferUsage); horizontalLayout_22->setSpacing(0); horizontalLayout_22->setObjectName(QString::fromUtf8("horizontalLayout_22")); horizontalLayout_22->setContentsMargins(0, 0, 0, 0); wStorageUsage = new QWidget(pStorageAndTransferUsage); wStorageUsage->setObjectName(QString::fromUtf8("wStorageUsage")); horizontalLayout_23 = new QHBoxLayout(wStorageUsage); horizontalLayout_23->setSpacing(0); horizontalLayout_23->setObjectName(QString::fromUtf8("horizontalLayout_23")); horizontalLayout_23->setContentsMargins(0, 0, 0, 0); sStorage = new QStackedWidget(wStorageUsage); sStorage->setObjectName(QString::fromUtf8("sStorage")); wCircularStorage = new CircularUsageProgressBar(); wCircularStorage->setObjectName(QString::fromUtf8("wCircularStorage")); sStorage->addWidget(wCircularStorage); wBusinessStorage = new QWidget(); wBusinessStorage->setObjectName(QString::fromUtf8("wBusinessStorage")); horizontalLayout_24 = new QHBoxLayout(wBusinessStorage); horizontalLayout_24->setSpacing(0); horizontalLayout_24->setObjectName(QString::fromUtf8("horizontalLayout_24")); horizontalLayout_24->setContentsMargins(0, 0, 0, 0); bBusinessStorage = new QPushButton(wBusinessStorage); bBusinessStorage->setObjectName(QString::fromUtf8("bBusinessStorage")); horizontalLayout_24->addWidget(bBusinessStorage); sStorage->addWidget(wBusinessStorage); horizontalLayout_23->addWidget(sStorage); wStorageDetails = new QWidget(wStorageUsage); wStorageDetails->setObjectName(QString::fromUtf8("wStorageDetails")); verticalLayout_2 = new QVBoxLayout(wStorageDetails); verticalLayout_2->setSpacing(0); verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2")); verticalLayout_2->setContentsMargins(0, 0, 0, 0); verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding); verticalLayout_2->addItem(verticalSpacer); lStorage = new QLabel(wStorageDetails); lStorage->setObjectName(QString::fromUtf8("lStorage")); verticalLayout_2->addWidget(lStorage); horizontalLayout_2 = new QHBoxLayout(); horizontalLayout_2->setSpacing(0); horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2")); lUsedStorage = new QLabel(wStorageDetails); lUsedStorage->setObjectName(QString::fromUtf8("lUsedStorage")); horizontalLayout_2->addWidget(lUsedStorage); lTotalStorage = new QLabel(wStorageDetails); lTotalStorage->setObjectName(QString::fromUtf8("lTotalStorage")); horizontalLayout_2->addWidget(lTotalStorage); horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); horizontalLayout_2->addItem(horizontalSpacer); verticalLayout_2->addLayout(horizontalLayout_2); verticalSpacer_2 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding); verticalLayout_2->addItem(verticalSpacer_2); horizontalLayout_23->addWidget(wStorageDetails); horizontalLayout_22->addWidget(wStorageUsage); wTransferUsage = new QWidget(pStorageAndTransferUsage); wTransferUsage->setObjectName(QString::fromUtf8("wTransferUsage")); horizontalLayout_25 = new QHBoxLayout(wTransferUsage); horizontalLayout_25->setSpacing(0); horizontalLayout_25->setObjectName(QString::fromUtf8("horizontalLayout_25")); horizontalLayout_25->setContentsMargins(0, 0, 0, 0); sTransfer = new QStackedWidget(wTransferUsage); sTransfer->setObjectName(QString::fromUtf8("sTransfer")); wCircularTransfer = new CircularUsageProgressBar(); wCircularTransfer->setObjectName(QString::fromUtf8("wCircularTransfer")); sTransfer->addWidget(wCircularTransfer); wBusinessTransfer = new QWidget(); wBusinessTransfer->setObjectName(QString::fromUtf8("wBusinessTransfer")); horizontalLayout_26 = new QHBoxLayout(wBusinessTransfer); horizontalLayout_26->setSpacing(0); horizontalLayout_26->setObjectName(QString::fromUtf8("horizontalLayout_26")); horizontalLayout_26->setContentsMargins(0, 0, 0, 0); bBusinessTransfer = new QPushButton(wBusinessTransfer); bBusinessTransfer->setObjectName(QString::fromUtf8("bBusinessTransfer")); horizontalLayout_26->addWidget(bBusinessTransfer); sTransfer->addWidget(wBusinessTransfer); horizontalLayout_25->addWidget(sTransfer); wTransferDetails = new QWidget(wTransferUsage); wTransferDetails->setObjectName(QString::fromUtf8("wTransferDetails")); verticalLayout_14 = new QVBoxLayout(wTransferDetails); verticalLayout_14->setSpacing(0); verticalLayout_14->setObjectName(QString::fromUtf8("verticalLayout_14")); verticalLayout_14->setContentsMargins(0, 0, 0, 0); verticalSpacer_3 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding); verticalLayout_14->addItem(verticalSpacer_3); lTransfer = new QLabel(wTransferDetails); lTransfer->setObjectName(QString::fromUtf8("lTransfer")); verticalLayout_14->addWidget(lTransfer); horizontalLayout_5 = new QHBoxLayout(); horizontalLayout_5->setSpacing(0); horizontalLayout_5->setObjectName(QString::fromUtf8("horizontalLayout_5")); lUsedTransfer = new QLabel(wTransferDetails); lUsedTransfer->setObjectName(QString::fromUtf8("lUsedTransfer")); horizontalLayout_5->addWidget(lUsedTransfer); lTotalTransfer = new QLabel(wTransferDetails); lTotalTransfer->setObjectName(QString::fromUtf8("lTotalTransfer")); horizontalLayout_5->addWidget(lTotalTransfer); horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); horizontalLayout_5->addItem(horizontalSpacer_2); verticalLayout_14->addLayout(horizontalLayout_5); verticalSpacer_4 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding); verticalLayout_14->addItem(verticalSpacer_4); horizontalLayout_25->addWidget(wTransferDetails); horizontalLayout_22->addWidget(wTransferUsage); sHeader->addWidget(pStorageAndTransferUsage); layoutWidget->addWidget(sHeader); wDetailedUsage = new QWidget(AccountDetailsDialog); wDetailedUsage->setObjectName(QString::fromUtf8("wDetailedUsage")); wDetailedUsage->setMaximumSize(QSize(16777215, 16777215)); wDetailedUsageLayout = new QVBoxLayout(wDetailedUsage); wDetailedUsageLayout->setSpacing(8); wDetailedUsageLayout->setObjectName(QString::fromUtf8("wDetailedUsageLayout")); wDetailedUsageLayout->setContentsMargins(24, 24, 24, 24); wCloudDrive = new QWidget(wDetailedUsage); wCloudDrive->setObjectName(QString::fromUtf8("wCloudDrive")); QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Fixed); sizePolicy1.setHorizontalStretch(0); sizePolicy1.setVerticalStretch(0); sizePolicy1.setHeightForWidth(wCloudDrive->sizePolicy().hasHeightForWidth()); wCloudDrive->setSizePolicy(sizePolicy1); wCloudDrive->setMinimumSize(QSize(0, 32)); wCloudDrive->setMaximumSize(QSize(16777215, 32)); horizontalLayout = new QHBoxLayout(wCloudDrive); horizontalLayout->setSpacing(12); horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout")); horizontalLayout->setContentsMargins(0, 0, 0, 0); bCloudDrive = new QPushButton(wCloudDrive); bCloudDrive->setObjectName(QString::fromUtf8("bCloudDrive")); QSizePolicy sizePolicy2(QSizePolicy::Fixed, QSizePolicy::Fixed); sizePolicy2.setHorizontalStretch(0); sizePolicy2.setVerticalStretch(0); sizePolicy2.setHeightForWidth(bCloudDrive->sizePolicy().hasHeightForWidth()); bCloudDrive->setSizePolicy(sizePolicy2); bCloudDrive->setMinimumSize(QSize(32, 32)); bCloudDrive->setMaximumSize(QSize(32, 32)); bCloudDrive->setIconSize(QSize(24, 24)); horizontalLayout->addWidget(bCloudDrive); verticalLayout = new QVBoxLayout(); verticalLayout->setSpacing(0); verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); horizontalLayout_3 = new QHBoxLayout(); horizontalLayout_3->setSpacing(0); horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3")); lCloudDrive = new QLabel(wCloudDrive); lCloudDrive->setObjectName(QString::fromUtf8("lCloudDrive")); horizontalLayout_3->addWidget(lCloudDrive); lUsedCloudDrive = new QLabel(wCloudDrive); lUsedCloudDrive->setObjectName(QString::fromUtf8("lUsedCloudDrive")); horizontalLayout_3->addWidget(lUsedCloudDrive); verticalLayout->addLayout(horizontalLayout_3); pbCloudDrive = new QProgressBar(wCloudDrive); pbCloudDrive->setObjectName(QString::fromUtf8("pbCloudDrive")); pbCloudDrive->setValue(0); pbCloudDrive->setTextVisible(false); verticalLayout->addWidget(pbCloudDrive); horizontalLayout->addLayout(verticalLayout); wDetailedUsageLayout->addWidget(wCloudDrive); wVault = new QWidget(wDetailedUsage); wVault->setObjectName(QString::fromUtf8("wVault")); sizePolicy1.setHeightForWidth(wVault->sizePolicy().hasHeightForWidth()); wVault->setSizePolicy(sizePolicy1); wVault->setMinimumSize(QSize(0, 32)); wVault->setMaximumSize(QSize(16777215, 32)); horizontalLayout_21 = new QHBoxLayout(wVault); horizontalLayout_21->setSpacing(12); horizontalLayout_21->setObjectName(QString::fromUtf8("horizontalLayout_21")); horizontalLayout_21->setContentsMargins(0, 0, 0, 0); bVault = new QPushButton(wVault); bVault->setObjectName(QString::fromUtf8("bVault")); sizePolicy2.setHeightForWidth(bVault->sizePolicy().hasHeightForWidth()); bVault->setSizePolicy(sizePolicy2); bVault->setMinimumSize(QSize(32, 32)); bVault->setMaximumSize(QSize(32, 32)); bVault->setIconSize(QSize(24, 24)); horizontalLayout_21->addWidget(bVault); verticalLayout_20 = new QVBoxLayout(); verticalLayout_20->setSpacing(0); verticalLayout_20->setObjectName(QString::fromUtf8("verticalLayout_20")); horizontalLayout_30 = new QHBoxLayout(); horizontalLayout_30->setSpacing(0); horizontalLayout_30->setObjectName(QString::fromUtf8("horizontalLayout_30")); lVault = new QLabel(wVault); lVault->setObjectName(QString::fromUtf8("lVault")); horizontalLayout_30->addWidget(lVault); lUsedVault = new QLabel(wVault); lUsedVault->setObjectName(QString::fromUtf8("lUsedVault")); horizontalLayout_30->addWidget(lUsedVault); verticalLayout_20->addLayout(horizontalLayout_30); pbVault = new QProgressBar(wVault); pbVault->setObjectName(QString::fromUtf8("pbVault")); pbVault->setValue(0); pbVault->setTextVisible(false); verticalLayout_20->addWidget(pbVault); horizontalLayout_21->addLayout(verticalLayout_20); wDetailedUsageLayout->addWidget(wVault); wRubbish = new QWidget(wDetailedUsage); wRubbish->setObjectName(QString::fromUtf8("wRubbish")); sizePolicy1.setHeightForWidth(wRubbish->sizePolicy().hasHeightForWidth()); wRubbish->setSizePolicy(sizePolicy1); wRubbish->setMinimumSize(QSize(0, 32)); wRubbish->setMaximumSize(QSize(16777215, 32)); horizontalLayout_7 = new QHBoxLayout(wRubbish); horizontalLayout_7->setSpacing(12); horizontalLayout_7->setObjectName(QString::fromUtf8("horizontalLayout_7")); horizontalLayout_7->setContentsMargins(0, 0, 0, 0); bRubbish = new QPushButton(wRubbish); bRubbish->setObjectName(QString::fromUtf8("bRubbish")); sizePolicy2.setHeightForWidth(bRubbish->sizePolicy().hasHeightForWidth()); bRubbish->setSizePolicy(sizePolicy2); bRubbish->setMinimumSize(QSize(32, 32)); bRubbish->setMaximumSize(QSize(32, 32)); bRubbish->setIconSize(QSize(24, 24)); horizontalLayout_7->addWidget(bRubbish); verticalLayout_3 = new QVBoxLayout(); verticalLayout_3->setSpacing(0); verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3")); horizontalLayout_4 = new QHBoxLayout(); horizontalLayout_4->setSpacing(0); horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4")); lRubbish = new QLabel(wRubbish); lRubbish->setObjectName(QString::fromUtf8("lRubbish")); horizontalLayout_4->addWidget(lRubbish); lUsedRubbish = new QLabel(wRubbish); lUsedRubbish->setObjectName(QString::fromUtf8("lUsedRubbish")); horizontalLayout_4->addWidget(lUsedRubbish); verticalLayout_3->addLayout(horizontalLayout_4); pbRubbish = new QProgressBar(wRubbish); pbRubbish->setObjectName(QString::fromUtf8("pbRubbish")); pbRubbish->setValue(0); pbRubbish->setTextVisible(false); verticalLayout_3->addWidget(pbRubbish); horizontalLayout_7->addLayout(verticalLayout_3); wDetailedUsageLayout->addWidget(wRubbish); wAvailable = new QWidget(wDetailedUsage); wAvailable->setObjectName(QString::fromUtf8("wAvailable")); sizePolicy1.setHeightForWidth(wAvailable->sizePolicy().hasHeightForWidth()); wAvailable->setSizePolicy(sizePolicy1); wAvailable->setMinimumSize(QSize(0, 32)); wAvailable->setMaximumSize(QSize(16777215, 32)); horizontalLayout_12 = new QHBoxLayout(wAvailable); horizontalLayout_12->setSpacing(12); horizontalLayout_12->setObjectName(QString::fromUtf8("horizontalLayout_12")); horizontalLayout_12->setContentsMargins(0, 0, 0, 0); bAvailable = new QPushButton(wAvailable); bAvailable->setObjectName(QString::fromUtf8("bAvailable")); sizePolicy2.setHeightForWidth(bAvailable->sizePolicy().hasHeightForWidth()); bAvailable->setSizePolicy(sizePolicy2); bAvailable->setMinimumSize(QSize(32, 32)); bAvailable->setMaximumSize(QSize(32, 32)); bAvailable->setIconSize(QSize(24, 24)); horizontalLayout_12->addWidget(bAvailable); horizontalLayout_13 = new QHBoxLayout(); horizontalLayout_13->setSpacing(0); horizontalLayout_13->setObjectName(QString::fromUtf8("horizontalLayout_13")); horizontalLayout_13->setContentsMargins(-1, -1, 8, -1); lAvailable = new QLabel(wAvailable); lAvailable->setObjectName(QString::fromUtf8("lAvailable")); horizontalLayout_13->addWidget(lAvailable, 0, Qt::AlignVCenter); lAvailableStorage = new QLabel(wAvailable); lAvailableStorage->setObjectName(QString::fromUtf8("lAvailableStorage")); horizontalLayout_13->addWidget(lAvailableStorage, 0, Qt::AlignRight|Qt::AlignVCenter); horizontalLayout_12->addLayout(horizontalLayout_13); wDetailedUsageLayout->addWidget(wAvailable); layoutWidget->addWidget(wDetailedUsage); wSizeVersions = new QWidget(AccountDetailsDialog); wSizeVersions->setObjectName(QString::fromUtf8("wSizeVersions")); horizontalLayout_6 = new QHBoxLayout(wSizeVersions); horizontalLayout_6->setSpacing(0); horizontalLayout_6->setObjectName(QString::fromUtf8("horizontalLayout_6")); horizontalLayout_6->setContentsMargins(24, 0, 24, 26); lVersionIcon = new QLabel(wSizeVersions); lVersionIcon->setObjectName(QString::fromUtf8("lVersionIcon")); horizontalLayout_6->addWidget(lVersionIcon); lVersions = new QLabel(wSizeVersions); lVersions->setObjectName(QString::fromUtf8("lVersions")); QSizePolicy sizePolicy3(QSizePolicy::Expanding, QSizePolicy::Preferred); sizePolicy3.setHorizontalStretch(0); sizePolicy3.setVerticalStretch(0); sizePolicy3.setHeightForWidth(lVersions->sizePolicy().hasHeightForWidth()); lVersions->setSizePolicy(sizePolicy3); lVersions->setWordWrap(true); horizontalLayout_6->addWidget(lVersions); lUsedByVersions = new QLabel(wSizeVersions); lUsedByVersions->setObjectName(QString::fromUtf8("lUsedByVersions")); horizontalLayout_6->addWidget(lUsedByVersions); layoutWidget->addWidget(wSizeVersions); retranslateUi(AccountDetailsDialog); QMetaObject::connectSlotsByName(AccountDetailsDialog); } // setupUi void retranslateUi(QDialog *AccountDetailsDialog) { AccountDetailsDialog->setWindowTitle(QCoreApplication::translate("AccountDetailsDialog", "Account usage details", nullptr)); lLoading->setText(QCoreApplication::translate("AccountDetailsDialog", "Loading...", nullptr)); lStorage->setText(QCoreApplication::translate("AccountDetailsDialog", "Storage", nullptr)); lTransfer->setText(QCoreApplication::translate("AccountDetailsDialog", "Transfer", nullptr)); lCloudDrive->setText(QCoreApplication::translate("AccountDetailsDialog", "Cloud drive", nullptr)); lVault->setText(QCoreApplication::translate("AccountDetailsDialog", "Backups", nullptr)); lRubbish->setText(QCoreApplication::translate("AccountDetailsDialog", "Rubbish bin", nullptr)); lAvailable->setText(QCoreApplication::translate("AccountDetailsDialog", "Available storage", nullptr)); lVersionIcon->setText(QString()); lVersions->setText(QCoreApplication::translate("AccountDetailsDialog", "Of that, size taken up by file versions:", nullptr)); } // retranslateUi }; namespace Ui { class AccountDetailsDialog: public Ui_AccountDetailsDialog {}; } // namespace Ui QT_END_NAMESPACE #endif // UI_ACCOUNTDETAILSDIALOG_H