Changeset 50335 in vbox
- Timestamp:
- Feb 5, 2014 5:24:34 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 92060
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic1.cpp
r50334 r50335 49 49 50 50 /* Windows: */ 51 { QRegExp( "Wi.*98",Qt::CaseInsensitive), "Windows98" },52 { QRegExp( "Wi.*95",Qt::CaseInsensitive), "Windows95" },53 { QRegExp( "Wi.*Me",Qt::CaseInsensitive), "WindowsMe" },54 { QRegExp( "(Wi.*NT)|(NT4)",Qt::CaseInsensitive), "WindowsNT4" },55 { QRegExp("((Wi.*XP)|(\\bXP\\b)).*64", Qt::CaseInsensitive), "WindowsXP_64" },56 { QRegExp("((Wi.*XP)|(\\bXP\\b)).*32", Qt::CaseInsensitive), "WindowsXP" },51 { QRegExp( "Wi.*98", Qt::CaseInsensitive), "Windows98" }, 52 { QRegExp( "Wi.*95", Qt::CaseInsensitive), "Windows95" }, 53 { QRegExp( "Wi.*Me", Qt::CaseInsensitive), "WindowsMe" }, 54 { QRegExp( "(Wi.*NT)|(NT4)", Qt::CaseInsensitive), "WindowsNT4" }, 55 { QRegExp("((Wi.*XP)|(\\bXP\\b)).*64", Qt::CaseInsensitive), "WindowsXP_64" }, 56 { QRegExp("((Wi.*XP)|(\\bXP\\b)).*32", Qt::CaseInsensitive), "WindowsXP" }, 57 57 { QRegExp("((Wi.*2003)|(W2K3)|(Win2K3)).*64", Qt::CaseInsensitive), "Windows2003_64" }, 58 58 { QRegExp("((Wi.*2003)|(W2K3)|(Win2K3)).*32", Qt::CaseInsensitive), "Windows2003" }, 59 { QRegExp("((Wi.*V)|(Vista)).*64", Qt::CaseInsensitive), "WindowsVista_64" },60 { QRegExp("((Wi.*V)|(Vista)).*32", Qt::CaseInsensitive), "WindowsVista" },61 { QRegExp( "(Wi.*2012)|(W2K12)|(Win2K12)",Qt::CaseInsensitive), "Windows2012_64" },59 { QRegExp("((Wi.*V)|(Vista)).*64", Qt::CaseInsensitive), "WindowsVista_64" }, 60 { QRegExp("((Wi.*V)|(Vista)).*32", Qt::CaseInsensitive), "WindowsVista" }, 61 { QRegExp( "(Wi.*2012)|(W2K12)|(Win2K12)", Qt::CaseInsensitive), "Windows2012_64" }, 62 62 { QRegExp("((Wi.*2008)|(W2K8)|(Win2k8)).*64", Qt::CaseInsensitive), "Windows2008_64" }, 63 63 { QRegExp("((Wi.*2008)|(W2K8)|(Win2K8)).*32", Qt::CaseInsensitive), "Windows2008" }, 64 { QRegExp( "(Wi.*2000)|(W2K)|(Win2K)",Qt::CaseInsensitive), "Windows2000" },65 { QRegExp( "(Wi.*7.*64)|(W7.*64)",Qt::CaseInsensitive), "Windows7_64" },66 { QRegExp( "(Wi.*7.*32)|(W7.*32)",Qt::CaseInsensitive), "Windows7" },67 { QRegExp( "(Wi.*8.*1.*64)|(W8.*64)",Qt::CaseInsensitive), "Windows81_64" },68 { QRegExp( "(Wi.*8.*1.*32)|(W8.*32)",Qt::CaseInsensitive), "Windows81" },69 { QRegExp( "(Wi.*8.*64)|(W8.*64)",Qt::CaseInsensitive), "Windows8_64" },70 { QRegExp( "(Wi.*8.*32)|(W8.*32)",Qt::CaseInsensitive), "Windows8" },71 { QRegExp( "Wi.*3.*1",Qt::CaseInsensitive), "Windows31" },72 { QRegExp( "Wi.*64",Qt::CaseInsensitive), "WindowsXP_64" },73 { QRegExp( "Wi.*32",Qt::CaseInsensitive), "WindowsXP" },64 { QRegExp( "(Wi.*2000)|(W2K)|(Win2K)", Qt::CaseInsensitive), "Windows2000" }, 65 { QRegExp( "(Wi.*7.*64)|(W7.*64)", Qt::CaseInsensitive), "Windows7_64" }, 66 { QRegExp( "(Wi.*7.*32)|(W7.*32)", Qt::CaseInsensitive), "Windows7" }, 67 { QRegExp( "(Wi.*8.*1.*64)|(W8.*64)", Qt::CaseInsensitive), "Windows81_64" }, 68 { QRegExp( "(Wi.*8.*1.*32)|(W8.*32)", Qt::CaseInsensitive), "Windows81" }, 69 { QRegExp( "(Wi.*8.*64)|(W8.*64)", Qt::CaseInsensitive), "Windows8_64" }, 70 { QRegExp( "(Wi.*8.*32)|(W8.*32)", Qt::CaseInsensitive), "Windows8" }, 71 { QRegExp( "Wi.*3.*1", Qt::CaseInsensitive), "Windows31" }, 72 { QRegExp( "Wi.*64", Qt::CaseInsensitive), "WindowsXP_64" }, 73 { QRegExp( "Wi.*32", Qt::CaseInsensitive), "WindowsXP" }, 74 74 75 75 /* Solaris: */ 76 { QRegExp("So.*11", Qt::CaseInsensitive), "Solaris11_64" },76 { QRegExp("So.*11", Qt::CaseInsensitive), "Solaris11_64" }, 77 77 { QRegExp("((Op.*So)|(os20[01][0-9])|(So.*10)|(India)|(Neva)).*64", Qt::CaseInsensitive), "OpenSolaris_64" }, 78 78 { QRegExp("((Op.*So)|(os20[01][0-9])|(So.*10)|(India)|(Neva)).*32", Qt::CaseInsensitive), "OpenSolaris" }, 79 { QRegExp("So.*64", Qt::CaseInsensitive), "Solaris_64" },80 { QRegExp("So.*32", Qt::CaseInsensitive), "Solaris" },79 { QRegExp("So.*64", Qt::CaseInsensitive), "Solaris_64" }, 80 { QRegExp("So.*32", Qt::CaseInsensitive), "Solaris" }, 81 81 82 82 /* OS/2: */ 83 { QRegExp( "OS[/|!-]{,1}2.*W.*4.?5",Qt::CaseInsensitive), "OS2Warp45" },84 { QRegExp( "OS[/|!-]{,1}2.*W.*4",Qt::CaseInsensitive), "OS2Warp4" },85 { QRegExp( "OS[/|!-]{,1}2.*W",Qt::CaseInsensitive), "OS2Warp3" },83 { QRegExp( "OS[/|!-]{,1}2.*W.*4.?5", Qt::CaseInsensitive), "OS2Warp45" }, 84 { QRegExp( "OS[/|!-]{,1}2.*W.*4", Qt::CaseInsensitive), "OS2Warp4" }, 85 { QRegExp( "OS[/|!-]{,1}2.*W", Qt::CaseInsensitive), "OS2Warp3" }, 86 86 { QRegExp("(OS[/|!-]{,1}2.*e)|(eCS.*)", Qt::CaseInsensitive), "OS2eCS" }, 87 { QRegExp( "OS[/|!-]{,1}2",Qt::CaseInsensitive), "OS2" },88 89 /* Other: must come before Ubuntu/Maverick and before Linux??? */87 { QRegExp( "OS[/|!-]{,1}2", Qt::CaseInsensitive), "OS2" }, 88 89 /* Other: Must come before Ubuntu/Maverick and before Linux??? */ 90 90 { QRegExp("QN", Qt::CaseInsensitive), "QNX" }, 91 91 92 /* Mac OS X: must come before Ubuntu/Maverick and before Linux*/92 /* Mac OS X: Must come before Ubuntu/Maverick and before Linux: */ 93 93 { QRegExp("((mac.*10[.,]{0,1}4)|(os.*x.*10[.,]{0,1}4)|(mac.*ti)|(os.*x.*ti)|(Tig)).64", Qt::CaseInsensitive), "MacOS_64" }, 94 94 { QRegExp("((mac.*10[.,]{0,1}4)|(os.*x.*10[.,]{0,1}4)|(mac.*ti)|(os.*x.*ti)|(Tig)).32", Qt::CaseInsensitive), "MacOS" }, … … 100 100 { QRegExp( "(mac.*10[.,]{0,1}8)|(os.*x.*10[.,]{0,1}8)|(Lion)", Qt::CaseInsensitive), "MacOS107_64" }, 101 101 { QRegExp( "(mac.*10[.,]{0,1}9)|(os.*x.*10[.,]{0,1}9)|(mac.*mav)|(os.*x.*mav)|(Mavericks)", Qt::CaseInsensitive), "MacOS109_64" }, 102 { QRegExp("((Mac)|(Tig)|(Leop)|(os[ ]*x)).*64", Qt::CaseInsensitive), "MacOS_64" },103 { QRegExp("((Mac)|(Tig)|(Leop)|(os[ ]*x)).*32", Qt::CaseInsensitive), "MacOS" },102 { QRegExp("((Mac)|(Tig)|(Leop)|(os[ ]*x)).*64", Qt::CaseInsensitive), "MacOS_64" }, 103 { QRegExp("((Mac)|(Tig)|(Leop)|(os[ ]*x)).*32", Qt::CaseInsensitive), "MacOS" }, 104 104 105 105 /* Code names for Linux distributions: */ 106 { QRegExp("((edgy)|(feisty)|(gutsy)|(hardy)|(intrepid)|(jaunty)|(karmic)|(lucid)|(maverick)|(natty)|(oneiric)|(precise)|(quantal)|(raring)).*64", Qt::CaseInsensitive), "Ubuntu_64" },107 { QRegExp("((edgy)|(feisty)|(gutsy)|(hardy)|(intrepid)|(jaunty)|(karmic)|(lucid)|(maverick)|(natty)|(oneiric)|(precise)|(quantal)|(raring)).*32", Qt::CaseInsensitive), "Ubuntu" },108 { QRegExp("((sarge)|(etch)|(lenny)|(squeeze)|(wheezy)|(jessie)|(sid)).*64", Qt::CaseInsensitive), "Debian_64" },109 { QRegExp("((sarge)|(etch)|(lenny)|(squeeze)|(wheezy)|(jessie)|(sid)).*32", Qt::CaseInsensitive), "Debian" },106 { QRegExp("((edgy)|(feisty)|(gutsy)|(hardy)|(intrepid)|(jaunty)|(karmic)|(lucid)|(maverick)|(natty)|(oneiric)|(precise)|(quantal)|(raring)).*64", Qt::CaseInsensitive), "Ubuntu_64" }, 107 { QRegExp("((edgy)|(feisty)|(gutsy)|(hardy)|(intrepid)|(jaunty)|(karmic)|(lucid)|(maverick)|(natty)|(oneiric)|(precise)|(quantal)|(raring)).*32", Qt::CaseInsensitive), "Ubuntu" }, 108 { QRegExp("((sarge)|(etch)|(lenny)|(squeeze)|(wheezy)|(jessie)|(sid)).*64", Qt::CaseInsensitive), "Debian_64" }, 109 { QRegExp("((sarge)|(etch)|(lenny)|(squeeze)|(wheezy)|(jessie)|(sid)).*32", Qt::CaseInsensitive), "Debian" }, 110 110 { QRegExp("((moonshine)|(werewolf)|(sulphur)|(cambridge)|(leonidas)|(constantine)|(goddard)|(laughlin)|(lovelock)|(verne)|(beefy)|(spherical)).*64", Qt::CaseInsensitive), "Fedora_64" }, 111 111 { QRegExp("((moonshine)|(werewolf)|(sulphur)|(cambridge)|(leonidas)|(constantine)|(goddard)|(laughlin)|(lovelock)|(verne)|(beefy)|(spherical)).*32", Qt::CaseInsensitive), "Fedora" }, 112 112 113 113 /* Regular names of Linux distributions: */ 114 { QRegExp("Arc.*64", Qt::CaseInsensitive), "ArchLinux_64" },115 { QRegExp("Arc.*32", Qt::CaseInsensitive), "ArchLinux" },116 { QRegExp("Deb.*64", Qt::CaseInsensitive), "Debian_64" },117 { QRegExp("Deb.*32", Qt::CaseInsensitive), "Debian" },118 { QRegExp("((SU)|(Nov)|(SLE)).*64", Qt::CaseInsensitive), "OpenSUSE_64" },119 { QRegExp("((SU)|(Nov)|(SLE)).*32", Qt::CaseInsensitive), "OpenSUSE" },120 { QRegExp("Fe.*64", Qt::CaseInsensitive), "Fedora_64" },121 { QRegExp("Fe.*32", Qt::CaseInsensitive), "Fedora" },122 { QRegExp("((Gen)|(Sab)).*64", Qt::CaseInsensitive), "Gentoo_64" },123 { QRegExp("((Gen)|(Sab)).*32", Qt::CaseInsensitive), "Gentoo" },124 { QRegExp("((Man)|(Mag)).*64", Qt::CaseInsensitive), "Mandriva_64" },125 { QRegExp("((Man)|(Mag)).*32", Qt::CaseInsensitive), "Mandriva" },126 { QRegExp("((Red)|(rhel)|(cen)).*64", Qt::CaseInsensitive), "RedHat_64" },127 { QRegExp("((Red)|(rhel)|(cen)).*32", Qt::CaseInsensitive), "RedHat" },128 { QRegExp("Tur.*64", Qt::CaseInsensitive), "Turbolinux_64" },129 { QRegExp("Tur.*32", Qt::CaseInsensitive), "Turbolinux" },130 { QRegExp("Ub.*64", Qt::CaseInsensitive), "Ubuntu_64" },131 { QRegExp("Ub.*32", Qt::CaseInsensitive), "Ubuntu" },132 { QRegExp("Xa.*64", Qt::CaseInsensitive), "Xandros_64" },133 { QRegExp("Xa.*32", Qt::CaseInsensitive), "Xandros" },134 { QRegExp("((Or)|(oel)).*64", Qt::CaseInsensitive), "Oracle_64" },135 { QRegExp("((Or)|(oel)).*32", Qt::CaseInsensitive), "Oracle" },136 { QRegExp("Knoppix", Qt::CaseInsensitive), "Linux26" },137 { QRegExp("Dsl", Qt::CaseInsensitive), "Linux24" },138 { QRegExp("((Lin)|(lnx)).*2.?2", Qt::CaseInsensitive), "Linux22" },139 { QRegExp("((Lin)|(lnx)).*2.?4.*64", Qt::CaseInsensitive), "Linux24_64" },140 { QRegExp("((Lin)|(lnx)).*2.?4.*32", Qt::CaseInsensitive), "Linux24" },114 { QRegExp("Arc.*64", Qt::CaseInsensitive), "ArchLinux_64" }, 115 { QRegExp("Arc.*32", Qt::CaseInsensitive), "ArchLinux" }, 116 { QRegExp("Deb.*64", Qt::CaseInsensitive), "Debian_64" }, 117 { QRegExp("Deb.*32", Qt::CaseInsensitive), "Debian" }, 118 { QRegExp("((SU)|(Nov)|(SLE)).*64", Qt::CaseInsensitive), "OpenSUSE_64" }, 119 { QRegExp("((SU)|(Nov)|(SLE)).*32", Qt::CaseInsensitive), "OpenSUSE" }, 120 { QRegExp("Fe.*64", Qt::CaseInsensitive), "Fedora_64" }, 121 { QRegExp("Fe.*32", Qt::CaseInsensitive), "Fedora" }, 122 { QRegExp("((Gen)|(Sab)).*64", Qt::CaseInsensitive), "Gentoo_64" }, 123 { QRegExp("((Gen)|(Sab)).*32", Qt::CaseInsensitive), "Gentoo" }, 124 { QRegExp("((Man)|(Mag)).*64", Qt::CaseInsensitive), "Mandriva_64" }, 125 { QRegExp("((Man)|(Mag)).*32", Qt::CaseInsensitive), "Mandriva" }, 126 { QRegExp("((Red)|(rhel)|(cen)).*64", Qt::CaseInsensitive), "RedHat_64" }, 127 { QRegExp("((Red)|(rhel)|(cen)).*32", Qt::CaseInsensitive), "RedHat" }, 128 { QRegExp("Tur.*64", Qt::CaseInsensitive), "Turbolinux_64" }, 129 { QRegExp("Tur.*32", Qt::CaseInsensitive), "Turbolinux" }, 130 { QRegExp("Ub.*64", Qt::CaseInsensitive), "Ubuntu_64" }, 131 { QRegExp("Ub.*32", Qt::CaseInsensitive), "Ubuntu" }, 132 { QRegExp("Xa.*64", Qt::CaseInsensitive), "Xandros_64" }, 133 { QRegExp("Xa.*32", Qt::CaseInsensitive), "Xandros" }, 134 { QRegExp("((Or)|(oel)).*64", Qt::CaseInsensitive), "Oracle_64" }, 135 { QRegExp("((Or)|(oel)).*32", Qt::CaseInsensitive), "Oracle" }, 136 { QRegExp("Knoppix", Qt::CaseInsensitive), "Linux26" }, 137 { QRegExp("Dsl", Qt::CaseInsensitive), "Linux24" }, 138 { QRegExp("((Lin)|(lnx)).*2.?2", Qt::CaseInsensitive), "Linux22" }, 139 { QRegExp("((Lin)|(lnx)).*2.?4.*64", Qt::CaseInsensitive), "Linux24_64" }, 140 { QRegExp("((Lin)|(lnx)).*2.?4.*32", Qt::CaseInsensitive), "Linux24" }, 141 141 { QRegExp("((((Lin)|(lnx)).*2.?6)|(LFS)).*64", Qt::CaseInsensitive), "Linux26_64" }, 142 142 { QRegExp("((((Lin)|(lnx)).*2.?6)|(LFS)).*32", Qt::CaseInsensitive), "Linux26" }, 143 { QRegExp("((Lin)|(lnx)).*64", Qt::CaseInsensitive), "Linux26_64" },144 { QRegExp("((Lin)|(lnx)).*32", Qt::CaseInsensitive), "Linux26" },143 { QRegExp("((Lin)|(lnx)).*64", Qt::CaseInsensitive), "Linux26_64" }, 144 { QRegExp("((Lin)|(lnx)).*32", Qt::CaseInsensitive), "Linux26" }, 145 145 146 146 /* Other: */ 147 { QRegExp("L4", Qt::CaseInsensitive), "L4" },147 { QRegExp("L4", Qt::CaseInsensitive), "L4" }, 148 148 { QRegExp("((Fr.*B)|(fbsd)).*64", Qt::CaseInsensitive), "FreeBSD_64" }, 149 149 { QRegExp("((Fr.*B)|(fbsd)).*32", Qt::CaseInsensitive), "FreeBSD" }, 150 { QRegExp("Op.*B.*64", Qt::CaseInsensitive), "OpenBSD_64" },151 { QRegExp("Op.*B.*32", Qt::CaseInsensitive), "OpenBSD" },152 { QRegExp("Ne.*B.*64", Qt::CaseInsensitive), "NetBSD_64" },153 { QRegExp("Ne.*B.*32", Qt::CaseInsensitive), "NetBSD" },154 { QRegExp("Net", Qt::CaseInsensitive), "Netware" },155 { QRegExp("Rocki", Qt::CaseInsensitive), "JRockitVE" },156 { QRegExp("Ot", Qt::CaseInsensitive), "Other" },150 { QRegExp("Op.*B.*64", Qt::CaseInsensitive), "OpenBSD_64" }, 151 { QRegExp("Op.*B.*32", Qt::CaseInsensitive), "OpenBSD" }, 152 { QRegExp("Ne.*B.*64", Qt::CaseInsensitive), "NetBSD_64" }, 153 { QRegExp("Ne.*B.*32", Qt::CaseInsensitive), "NetBSD" }, 154 { QRegExp("Net", Qt::CaseInsensitive), "Netware" }, 155 { QRegExp("Rocki", Qt::CaseInsensitive), "JRockitVE" }, 156 { QRegExp("Ot", Qt::CaseInsensitive), "Other" }, 157 157 }; 158 158
Note:
See TracChangeset
for help on using the changeset viewer.