VirtualBox

Changeset 74788 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 12, 2018 10:29:33 AM (6 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9152: Export Appliance wizard: Support CloudOCIKeepObject
and CloudOCILaunchInstance. Ok Dsen.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIApplianceEditorWidget.cpp

    r73663 r74788  
    365365            m_enmVSDType == KVirtualSystemDescriptionType_SoundCard ||
    366366            m_enmVSDType == KVirtualSystemDescriptionType_NetworkAdapter ||
    367             m_enmVSDType == KVirtualSystemDescriptionType_CloudOCIPublicIP)
     367            m_enmVSDType == KVirtualSystemDescriptionType_CloudOCIPublicIP ||
     368            m_enmVSDType == KVirtualSystemDescriptionType_CloudOCIKeepObject ||
     369            m_enmVSDType == KVirtualSystemDescriptionType_CloudOCILaunchInstance)
    368370            enmFlags |= Qt::ItemIsUserCheckable;
    369371        /* Some items are editable */
     
    421423                    /* These option items can be enabled: */
    422424                    case KVirtualSystemDescriptionType_CloudOCIPublicIP:
     425                    case KVirtualSystemDescriptionType_CloudOCIKeepObject:
     426                    case KVirtualSystemDescriptionType_CloudOCILaunchInstance:
    423427                    {
    424428                        if (value.toInt() == Qt::Unchecked)
     
    496500                    case KVirtualSystemDescriptionType_CloudOCIBucket:
    497501                    case KVirtualSystemDescriptionType_CloudOCIVCN:
    498                     case KVirtualSystemDescriptionType_CloudOCIPublicIP:       value = UIApplianceEditorWidget::tr(m_pParent->nameHint(m_enmVSDType).toUtf8().constData()); break;
     502                    case KVirtualSystemDescriptionType_CloudOCIPublicIP:
     503                    case KVirtualSystemDescriptionType_CloudOCIKeepObject:
     504                    case KVirtualSystemDescriptionType_CloudOCILaunchInstance: value = UIApplianceEditorWidget::tr(m_pParent->nameHint(m_enmVSDType).toUtf8().constData()); break;
    499505                    default:                                                   value = UIApplianceEditorWidget::tr("Unknown Hardware Item"); break;
    500506                }
     
    522528                    case KVirtualSystemDescriptionType_NetworkAdapter:   value = gpConverter->toString(static_cast<KNetworkAdapterType>(m_strConfigValue.toInt())); break;
    523529                    case KVirtualSystemDescriptionType_CloudOCIPublicIP: break;
     530                    case KVirtualSystemDescriptionType_CloudOCIKeepObject: break;
     531                    case KVirtualSystemDescriptionType_CloudOCILaunchInstance: break;
    524532                    default:                                             value = m_strConfigValue; break;
    525533                }
     
    570578                    case KVirtualSystemDescriptionType_CloudOCIBucket:
    571579                    case KVirtualSystemDescriptionType_CloudOCIVCN:
    572                     case KVirtualSystemDescriptionType_CloudOCIPublicIP:       value = UIIconPool::iconSet(":/session_info_16px.png"); break;
     580                    case KVirtualSystemDescriptionType_CloudOCIPublicIP:
     581                    case KVirtualSystemDescriptionType_CloudOCIKeepObject:
     582                    case KVirtualSystemDescriptionType_CloudOCILaunchInstance: value = UIIconPool::iconSet(":/session_info_16px.png"); break;
    573583                    default: break;
    574584                }
     
    619629                    /* These option items can be enabled: */
    620630                    case KVirtualSystemDescriptionType_CloudOCIPublicIP:
     631                    case KVirtualSystemDescriptionType_CloudOCIKeepObject:
     632                    case KVirtualSystemDescriptionType_CloudOCILaunchInstance:
    621633                    {
    622634                        if (m_strConfigValue == "true")
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette