Commit graph

66 commits

Author SHA1 Message Date
Zack Middleton
32cd52895b Have Mac and Linux use install wizard destination as fs_basepath 2015-01-04 14:27:15 -06:00
Zack Middleton
ed18c08161 Improve settings tab layout
Use horizontal layouts for the settings lines so that text (Resolution,
Screen Mode, Run Install Wizard) does not go under other widgets or exceed
size of (install wizard) button.

Added a colon after Resolution and Screen Mode.
Changed 'FullScreen' option to 'Full Screen'.
2015-01-04 14:23:28 -06:00
Zachary J. Slater
50c8b3be07 Merge pull request #9 from zturtleman/install_wizard_linux_osx
Fix compiling using linux qt4 and osx qt5
2014-11-18 17:01:09 -08:00
Zack Middleton
034c29f1ae Fix install wizard zlib for OS X Qt5 2014-11-18 18:50:26 -06:00
Zack Middleton
a3287b1c24 Make install wizard work with Linux Qt4 2014-11-18 18:50:17 -06:00
Zachary J. Slater
97c0b11a0b Merge pull request #7 from jpcy/q3a-installer
Q3A install wizard
2014-08-26 21:07:37 -07:00
Jonathan Young
360385d1cf Use the ioq3 patch data (zip) instead of the official id linux patch (tar.gz). 2014-05-28 18:30:02 +10:00
Jonathan Young
ded0f9c6f4 Moved tar.gz file extraction to FileExtractWorker. The "patch" wizard page runs it in a background thread instead of the main thread. 2014-05-18 21:41:54 +10:00
Jonathan Young
51ef4403ae Windows install from CD: only display CD/DVD drives. 2014-05-18 14:08:38 +10:00
Jonathan Young
7decc05e07 Windows install from CD: display the drive volume names next to the path. Select the volume "Quake3" if it's found. 2014-05-17 18:45:38 +10:00
Jonathan Young
ba3dbeb6d1 Use method pointers instead of the error prone SIGNAL and SLOT macros. 2014-05-17 17:16:04 +10:00
Jonathan Young
6341250996 Added the MIT license header to all source files. 2014-05-17 17:10:16 +10:00
Jonathan Young
22ca1cec42 Moved Q3A utility function - path and home path detection, config reading - to their own static class. 2014-05-17 17:00:38 +10:00
Jonathan Young
f39872b24e Fixed file transaction handling when the destination file doesn't exist. 2014-05-17 14:26:26 +10:00
Jonathan Young
5897c21ddc Use a primitive form of file transactions when copying pk3 files from a CD or Steam. 2014-05-16 22:41:57 +10:00
Jonathan Young
fdb1b8144f Moved the file copy worker to its own files. 2014-05-16 21:33:57 +10:00
Jonathan Young
48d13fb321 Fix hang if patch download fails. 2014-05-15 20:01:31 +10:00
Jonathan Young
c9f1422f4a Clear wizard copy files before adding so the back button works. 2014-05-15 19:53:17 +10:00
Jonathan Young
70dbf58f44 "copy" wizard page: show the name of the file being copied. 2014-05-15 19:42:42 +10:00
Jonathan Young
c09b876566 Store the wizard Q3A path in InstallWizard instead of a field. 2014-05-15 17:21:13 +10:00
Jonathan Young
8e5e041322 Fixed install from CD page layout. 2014-05-15 17:07:25 +10:00
Jonathan Young
64a060fcf6 When installing from CD, have the user select a drive/directory instead of making them find pak0.pk3 on the CD. 2014-05-15 17:06:20 +10:00
Jonathan Young
0837c47531 Don't install the patch when installing from Steam. 2014-05-15 16:40:17 +10:00
Jonathan Young
294afa1066 Rename "installtype" wizard page to "setup". 2014-05-15 16:29:22 +10:00
Jonathan Young
616b422e3b Make installing from Steam a separate option than installing from CD. Copy all pk3 files instead of just pak0.pk3. 2014-05-15 15:03:16 +10:00
Jonathan Young
36883f0eee Have the "copy" wizard page take a list of files to copy, rather than copying a predefined file. 2014-05-15 14:20:50 +10:00
Jonathan Young
91d101dee1 Automatically go to the next wizard page when copying or patching completes. 2014-05-15 13:54:18 +10:00
Jonathan Young
c32abd47f8 Merge the installtype, install and locate wizard pages into one page with a QStackedWidget. 2014-05-15 13:51:35 +10:00
Jonathan Young
6da3a4113e On first run, try to get the Q3A path on Windows by reading it from the registry. 2014-05-14 22:53:01 +10:00
Jonathan Young
05e1610bf7 Added "copy" wizard page for copying pak0.pk3 to the Q3A destination directory. 2014-05-14 22:33:47 +10:00
Jonathan Young
37b0276f64 Added "install" wizard page for selecting pak0.pk3 location and Q3A destination directory. 2014-05-14 19:03:18 +10:00
Jonathan Young
7bbffd9cfc Added patch EULA page to the install wizard. 2014-05-13 20:15:00 +10:00
Jonathan Young
79f2c1fbd4 Install Q3A patch. 2014-05-13 19:34:15 +10:00
Jonathan Young
c10e713215 Unzip Q3A patch. 2014-05-13 17:23:47 +10:00
Jonathan Young
7c5306c507 Fix crash when canceling wizard after patch download is complete. 2014-05-13 15:29:54 +10:00
Jonathan Young
82854ab6e9 When downloading linuxq3apoint-1.32b-3.x86.run, skip writing the first 8251 bytes so a valid tar.gz file is written. 2014-05-13 14:24:23 +10:00
Jonathan Young
8f22984ca1 Basic Q3A patch downloading. 2014-05-13 13:28:20 +10:00
Jonathan Young
4c88912a0e Rename locatepage to locate. 2014-05-12 19:38:18 +10:00
Jonathan Young
0e96fa145e Added a simple MD5 hash check to determine whether Q3A data is up to date. This determines how the install wizard selects the next page. 2014-05-12 19:35:28 +10:00
Jonathan Young
558d673ef0 Added installation type page to the install wizard. Doesn't do anything yet. 2014-05-12 19:00:36 +10:00
Jonathan Young
dc4563dd6a Added install wizard. So far it only has the user select their q3a location on windows. 2014-05-12 18:49:59 +10:00
Zachary J. Slater
f0a58961d3 Merge pull request #6 from jpcy/settings
Settings
2014-05-10 22:05:06 -07:00
Jonathan Young
a3a9d199e9 Accidentally changed default tab to settings instead of main. 2014-05-09 17:45:38 +10:00
Jonathan Young
78d3bd02c3 Disable resolution spinboxes when "Custom" resolution is not set. 2014-05-09 17:41:45 +10:00
Jonathan Young
3ea451a168 Handle r_modes outside what ioquake3 recognize. 2014-05-09 17:38:28 +10:00
Jonathan Young
81787fb72e Don't need default GUI settings anymore, since defaults are read from q3config.cfg. This simplifies things quite a bit. 2014-05-09 17:06:21 +10:00
Jonathan Young
19d1d56983 Save/load resolution settings. 2014-05-09 16:17:35 +10:00
Jonathan Young
6686a5579f Parse q3config.cfg in the home directory when first run to get setting defaults. 2014-05-09 15:17:33 +10:00
Jonathan Young
701ddd5c10 Calculate the ioquake3 home path on startup. 2014-05-09 12:56:11 +10:00
Jonathan Young
8a231f0b0b Save Quake 3 path to settings on Windows. QSettings is wrapped to keep error-prone stringly typed code in one place (QSettings uses string keys). 2014-05-09 12:21:42 +10:00