Lines Matching refs:pParent
135 int UIMessageCenter::message(QWidget *pParent, MessageType type,
151 emit sigToShowMessageBox(pParent, type,
160 return showMessageBox(pParent, type,
167 void UIMessageCenter::error(QWidget *pParent, MessageType type,
172 message(pParent, type, strMessage, strDetails, pcszAutoConfirmId,
176 bool UIMessageCenter::errorWithQuestion(QWidget *pParent, MessageType type,
183 return (message(pParent, type, strMessage, strDetails, pcszAutoConfirmId,
193 void UIMessageCenter::alert(QWidget *pParent, MessageType type,
197 error(pParent, type, strMessage, QString(), pcszAutoConfirmId);
200 int UIMessageCenter::question(QWidget *pParent, MessageType type,
210 return message(pParent, type, strMessage, QString(), pcszAutoConfirmId,
214 bool UIMessageCenter::questionBinary(QWidget *pParent, MessageType type,
220 return (question(pParent, type, strMessage, pcszAutoConfirmId,
230 int UIMessageCenter::questionTrinary(QWidget *pParent, MessageType type,
237 return question(pParent, type, strMessage, pcszAutoConfirmId,
246 int UIMessageCenter::messageWithOption(QWidget *pParent, MessageType type,
294 QWidget *pBoxParent = windowManager().realParentWindow(pParent ? pParent : windowManager().mainWindowShown());
335 QWidget *pParent /* = 0*/,
344 QWidget *pDlgParent = windowManager().realParentWindow(pParent ? pParent : windowManager().mainWindowShown());
868 void UIMessageCenter::cannotTakeSnapshot(const CMachine &machine, const QString &strMachineName, QWidget *pParent /* = 0*/) const
870 error(pParent, MessageType_Error,
876 void UIMessageCenter::cannotTakeSnapshot(const CProgress &progress, const QString &strMachineName, QWidget *pParent /* = 0*/) const
878 error(pParent, MessageType_Error,
918 void UIMessageCenter::cannotSaveSettings(const QString strDetails, QWidget *pParent /* = 0 */) const
920 error(pParent, MessageType_Error,
925 bool UIMessageCenter::confirmNATNetworkRemoval(const QString &strName, QWidget *pParent /* = 0*/) const
927 return questionBinary(pParent, MessageType_Question,
939 bool UIMessageCenter::confirmHostOnlyInterfaceRemoval(const QString &strName, QWidget *pParent /* = 0*/) const
941 return questionBinary(pParent, MessageType_Question,
955 void UIMessageCenter::cannotCreateNATNetwork(const CVirtualBox &vbox, QWidget *pParent /* = 0*/)
957 error(pParent, MessageType_Error,
962 void UIMessageCenter::cannotRemoveNATNetwork(const CVirtualBox &vbox, const QString &strNetworkName, QWidget *pParent /* = 0*/)
964 error(pParent, MessageType_Error,
970 void UIMessageCenter::cannotCreateDHCPServer(const CVirtualBox &vbox, QWidget *pParent /* = 0*/)
972 error(pParent, MessageType_Error,
977 void UIMessageCenter::cannotRemoveDHCPServer(const CVirtualBox &vbox, const QString &strInterfaceName, QWidget *pParent /* = 0*/)
979 error(pParent, MessageType_Error,
985 void UIMessageCenter::cannotCreateHostInterface(const CHost &host, QWidget *pParent /* = 0*/)
987 error(pParent, MessageType_Error,
992 void UIMessageCenter::cannotCreateHostInterface(const CProgress &progress, QWidget *pParent /* = 0*/)
994 error(pParent, MessageType_Error,
999 void UIMessageCenter::cannotRemoveHostInterface(const CHost &host, const QString &strInterfaceName, QWidget *pParent /* = 0*/)
1001 error(pParent, MessageType_Error,
1007 void UIMessageCenter::cannotRemoveHostInterface(const CProgress &progress, const QString &strInterfaceName, QWidget *pParent /* = 0*/)
1009 error(pParent, MessageType_Error,
1015 void UIMessageCenter::cannotSetSystemProperties(const CSystemProperties &properties, QWidget *pParent /* = 0*/) const
1017 error(pParent, MessageType_Critical,
1022 void UIMessageCenter::warnAboutUnaccessibleUSB(const COMBaseWithEI &object, QWidget *pParent /* = 0*/) const
1031 error(pParent, res.isWarning() ? MessageType_Warning : MessageType_Error,
1037 void UIMessageCenter::warnAboutStateChange(QWidget *pParent /* = 0*/) const
1043 alert(pParent, MessageType_Warning,
1051 bool UIMessageCenter::confirmSettingsReloading(QWidget *pParent /* = 0*/) const
1053 return questionBinary(pParent, MessageType_Question,
1061 int UIMessageCenter::confirmHardDiskAttachmentCreation(const QString &strControllerName, QWidget *pParent /* = 0*/) const
1063 return questionTrinary(pParent, MessageType_Question,
1071 int UIMessageCenter::confirmOpticalAttachmentCreation(const QString &strControllerName, QWidget *pParent /* = 0*/) const
1073 return questionTrinary(pParent, MessageType_Question,
1082 int UIMessageCenter::confirmFloppyAttachmentCreation(const QString &strControllerName, QWidget *pParent /* = 0*/) const
1084 return questionTrinary(pParent, MessageType_Question,
1093 int UIMessageCenter::confirmRemovingOfLastDVDDevice(QWidget *pParent /* = 0*/) const
1095 return questionBinary(pParent, MessageType_Info,
1105 QWidget *pParent /* = 0*/)
1131 error(pParent, MessageType_Error,
1135 bool UIMessageCenter::warnAboutIncorrectPort(QWidget *pParent /* = 0*/) const
1137 alert(pParent, MessageType_Error,
1143 bool UIMessageCenter::warnAboutNameShouldBeUnique(QWidget *pParent /* = 0 */) const
1145 alert(pParent, MessageType_Error,
1151 bool UIMessageCenter::warnAboutRulesConflict(QWidget *pParent /* = 0 */) const
1153 alert(pParent, MessageType_Error,
1159 bool UIMessageCenter::confirmCancelingPortForwardingDialog(QWidget *pParent /* = 0*/) const
1161 return questionBinary(pParent, MessageType_Question,
1166 void UIMessageCenter::cannotCreateSharedFolder(const CMachine &machine, const QString &strName, const QString &strPath, QWidget *pParent /* = 0*/)
1168 error(pParent, MessageType_Error,
1175 void UIMessageCenter::cannotCreateSharedFolder(const CConsole &console, const QString &strName, const QString &strPath, QWidget *pParent /* = 0*/)
1177 error(pParent, MessageType_Error,
1184 void UIMessageCenter::cannotRemoveSharedFolder(const CMachine &machine, const QString &strName, const QString &strPath, QWidget *pParent /* = 0*/)
1186 error(pParent, MessageType_Error,
1195 void UIMessageCenter::cannotRemoveSharedFolder(const CConsole &console, const QString &strName, const QString &strPath, QWidget *pParent /* = 0*/)
1197 error(pParent, MessageType_Error,
1206 void UIMessageCenter::cannotSaveMachineSettings(const CMachine &machine, QWidget *pParent /* = 0*/) const
1208 error(pParent, MessageType_Error,
1214 void UIMessageCenter::cannotChangeMediumType(const CMedium &medium, KMediumType oldMediumType, KMediumType newMediumType, QWidget *pParent /* = 0*/) const
1216 error(pParent, MessageType_Error,
1222 bool UIMessageCenter::confirmMediumRelease(const UIMedium &medium, QWidget *pParent /* = 0*/) const
1260 return questionBinary(pParent, MessageType_Question,
1266 bool UIMessageCenter::confirmMediumRemoval(const UIMedium &medium, QWidget *pParent /* = 0*/) const
1311 return questionBinary(pParent, MessageType_Question,
1317 int UIMessageCenter::confirmDeleteHardDiskStorage(const QString &strLocation, QWidget *pParent /* = 0*/) const
1319 return questionTrinary(pParent, MessageType_Question,
1335 void UIMessageCenter::cannotDeleteHardDiskStorage(const CMedium &medium, const QString &strLocation, QWidget *pParent /* = 0*/) const
1337 error(pParent, MessageType_Error,
1343 void UIMessageCenter::cannotDeleteHardDiskStorage(const CProgress &progress, const QString &strLocation, QWidget *pParent /* = 0*/) const
1345 error(pParent, MessageType_Error,
1351 void UIMessageCenter::cannotDetachDevice(const CMachine &machine, UIMediumType type, const QString &strLocation, const StorageSlot &storageSlot, QWidget *pParent /* = 0*/) const
1379 error(pParent, MessageType_Error, strMessage, formatErrorInfo(machine));
1382 bool UIMessageCenter::cannotRemountMedium(const CMachine &machine, const UIMedium &medium, bool fMount, bool fRetry, QWidget *pParent /* = 0*/) const
1425 return errorWithQuestion(pParent, MessageType_Question,
1430 error(pParent, MessageType_Error,
1436 void UIMessageCenter::cannotOpenMedium(const CVirtualBox &vbox, UIMediumType type, const QString &strLocation, QWidget *pParent /* = 0*/) const
1461 error(pParent, MessageType_Error,
1465 void UIMessageCenter::cannotCloseMedium(const UIMedium &medium, const COMResult &rc, QWidget *pParent /* = 0*/) const
1490 error(pParent, MessageType_Error,
1494 bool UIMessageCenter::confirmHardDisklessMachine(QWidget *pParent /* = 0*/) const
1496 return questionBinary(pParent, MessageType_Warning,
1506 void UIMessageCenter::cannotCreateMachine(const CVirtualBox &vbox, QWidget *pParent /* = 0*/) const
1508 error(pParent, MessageType_Error,
1513 void UIMessageCenter::cannotRegisterMachine(const CVirtualBox &vbox, const QString &strMachineName, QWidget *pParent /* = 0*/) const
1515 error(pParent, MessageType_Error,
1521 void UIMessageCenter::cannotCreateClone(const CMachine &machine, QWidget *pParent /* = 0*/) const
1523 error(pParent, MessageType_Error,
1529 void UIMessageCenter::cannotCreateClone(const CProgress &progress, const QString &strMachineName, QWidget *pParent /* = 0*/) const
1531 error(pParent, MessageType_Error,
1537 void UIMessageCenter::cannotOverwriteHardDiskStorage(const QString &strLocation, QWidget *pParent /* = 0*/) const
1539 alert(pParent, MessageType_Info,
1547 void UIMessageCenter::cannotCreateHardDiskStorage(const CVirtualBox &vbox, const QString &strLocation, QWidget *pParent /* = 0*/) const
1549 error(pParent, MessageType_Error,
1555 void UIMessageCenter::cannotCreateHardDiskStorage(const CMedium &medium, const QString &strLocation, QWidget *pParent /* = 0*/) const
1557 error(pParent, MessageType_Error,
1563 void UIMessageCenter::cannotCreateHardDiskStorage(const CProgress &progress, const QString &strLocation, QWidget *pParent /* = 0*/) const
1565 error(pParent, MessageType_Error,
1571 void UIMessageCenter::cannotRemoveMachineFolder(const QString &strFolderName, QWidget *pParent /* = 0*/) const
1573 alert(pParent, MessageType_Critical,
1579 void UIMessageCenter::cannotRewriteMachineFolder(const QString &strFolderName, QWidget *pParent /* = 0*/) const
1582 alert(pParent, MessageType_Critical,
1588 void UIMessageCenter::cannotCreateMachineFolder(const QString &strFolderName, QWidget *pParent /* = 0*/) const
1591 alert(pParent, MessageType_Critical,
1597 void UIMessageCenter::cannotImportAppliance(CAppliance &appliance, QWidget *pParent /* = 0*/) const
1608 error(pParent, MessageType_Error,
1614 void UIMessageCenter::cannotImportAppliance(const CProgress &progress, const QString &strPath, QWidget *pParent /* = 0*/) const
1616 error(pParent, MessageType_Error,
1622 void UIMessageCenter::cannotCheckFiles(const CProgress &progress, QWidget *pParent /* = 0*/) const
1624 error(pParent, MessageType_Error,
1629 void UIMessageCenter::cannotRemoveFiles(const CProgress &progress, QWidget *pParent /* = 0*/) const
1631 error(pParent, MessageType_Error,
1636 bool UIMessageCenter::confirmExportMachinesInSaveState(const QStringList &machineNames, QWidget *pParent /* = 0*/) const
1638 return questionBinary(pParent, MessageType_Warning,
1650 void UIMessageCenter::cannotExportAppliance(const CAppliance &appliance, QWidget *pParent /* = 0*/) const
1652 error(pParent, MessageType_Error,
1658 void UIMessageCenter::cannotExportAppliance(const CMachine &machine, const QString &strPath, QWidget *pParent /* = 0*/) const
1660 error(pParent, MessageType_Error,
1666 void UIMessageCenter::cannotExportAppliance(const CProgress &progress, const QString &strPath, QWidget *pParent /* = 0*/) const
1668 error(pParent, MessageType_Error,
1674 void UIMessageCenter::cannotFindSnapshotByName(const CMachine &machine, const QString &strName, QWidget *pParent /* = 0*/) const
1676 error(pParent, MessageType_Error,
2254 const QString &strPackDescription, QWidget *pParent /* = 0*/) const
2256 return questionBinary(pParent, MessageType_Question,
2273 QWidget *pParent /* = 0*/) const
2289 fRc = questionBinary(pParent, MessageType_Question,
2302 fRc = questionBinary(pParent, MessageType_Question,
2315 fRc = questionBinary(pParent, MessageType_Question,
2329 bool UIMessageCenter::confirmRemoveExtensionPack(const QString &strPackName, QWidget *pParent /* = 0*/) const
2331 return questionBinary(pParent, MessageType_Question,
2339 void UIMessageCenter::cannotOpenExtPack(const QString &strFilename, const CExtPackManager &extPackManager, QWidget *pParent /* = 0*/) const
2341 error(pParent, MessageType_Error,
2346 void UIMessageCenter::warnAboutBadExtPackFile(const QString &strFilename, const CExtPackFile &extPackFile, QWidget *pParent /* = 0*/) const
2348 error(pParent, MessageType_Error,
2353 void UIMessageCenter::cannotInstallExtPack(const CExtPackFile &extPackFile, const QString &strFilename, QWidget *pParent /* = 0*/) const
2355 error(pParent, MessageType_Error,
2361 void UIMessageCenter::cannotInstallExtPack(const CProgress &progress, const QString &strFilename, QWidget *pParent /* = 0*/) const
2363 error(pParent, MessageType_Error,
2369 void UIMessageCenter::cannotUninstallExtPack(const CExtPackManager &extPackManager, const QString &strPackName, QWidget *pParent /* = 0*/) const
2371 error(pParent, MessageType_Error,
2377 void UIMessageCenter::cannotUninstallExtPack(const CProgress &progress, const QString &strPackName, QWidget *pParent /* = 0*/) const
2379 error(pParent, MessageType_Error,
2385 void UIMessageCenter::warnAboutExtPackInstalled(const QString &strPackName, QWidget *pParent /* = 0*/) const
2387 alert(pParent, MessageType_Info,
2393 void UIMessageCenter::cannotDropData(const CGuest &guest, QWidget *pParent /* = 0*/) const
2395 error(pParent, MessageType_Error,
2400 void UIMessageCenter::cannotDropData(const CProgress &progress, QWidget *pParent /* = 0*/) const
2402 error(pParent, MessageType_Error,
2408 void UIMessageCenter::cannotOpenLicenseFile(const QString &strPath, QWidget *pParent /* = 0*/) const
2410 alert(pParent, MessageType_Error,
2415 bool UIMessageCenter::confirmOverridingFile(const QString &strPath, QWidget *pParent /* = 0*/) const
2417 return questionBinary(pParent, MessageType_Question,
2424 bool UIMessageCenter::confirmOverridingFiles(const QVector<QString> &strPaths, QWidget *pParent /* = 0*/) const
2428 return confirmOverridingFile(strPaths.at(0), pParent);
2430 return questionBinary(pParent, MessageType_Question,
2439 bool UIMessageCenter::confirmOverridingFileIfExists(const QString &strPath, QWidget *pParent /* = 0*/) const
2443 return confirmOverridingFile(strPath, pParent);
2448 bool UIMessageCenter::confirmOverridingFilesIfExists(const QVector<QString> &strPaths, QWidget *pParent /* = 0*/) const
2459 return confirmOverridingFileIfExists(existingFiles.at(0), pParent);
2461 return confirmOverridingFiles(existingFiles, pParent);
2671 void UIMessageCenter::sltShowMessageBox(QWidget *pParent, MessageType type,
2678 showMessageBox(pParent, type,
2819 int UIMessageCenter::showMessageBox(QWidget *pParent, MessageType type,
2884 QWidget *pMessageBoxParent = windowManager().realParentWindow(pParent ? pParent : windowManager().mainWindowShown());