42 Commits

Author SHA1 Message Date
kh1
c31eddb8fa Fix broken target directory handling.
Files and syminks are not allowed as target dir either.
Fixes a broken check if the selected target contains an
installation already. Do not complain on empty targets.
2011-04-13 08:19:34 +02:00
kh1
7cc1838c01 Always return a by install priority sorted component list. 2011-04-12 12:25:13 +02:00
kh1
c2851cad8d No default arguments anymore. RunModes -> RunMode 2011-04-12 10:10:52 +02:00
kh1
d3d6c50894 Merge branch 'master' into refactor
Conflicts:
	installerbuilder/libinstaller/qinstallercomponent.cpp
2011-04-12 09:50:34 +02:00
Tim Jenssen
5cbb606bb7 readded the object names for the license radio buttons 2011-04-11 16:41:58 +02:00
kh1
db8d2ba831 Rewrote to use two models.
This has the advantage that we do not need to reevaluate the
models check state after we switch, e.g. from updater to all
model. Also simplified/ removed a lot of code.
2011-04-09 08:55:50 +02:00
kh1
84380d518d I like more this way. 2011-04-09 08:55:50 +02:00
kh1
60d6cd5fff Implement default handling. 2011-04-06 16:40:01 +02:00
kh1
9937c85510 Use the new model.
Comment out not working stuff. Reorg a bit.
2011-04-05 17:55:14 +02:00
kh1
e102afe796 Fix typo. 2011-04-05 17:14:02 +02:00
kh1
6765c272c9 Merge branch 'master' into refactor
Conflicts:
	installerbuilder/libinstaller/qinstallergui.cpp
2011-03-31 14:22:17 +02:00
Tim Jenssen
89b953a5bb now we have proper captions for the buttons in the installer 2011-03-30 15:59:16 +02:00
kh1
5fb9e4cd84 Merge branch 'master' into refactor
Conflicts:
	examples/testapp/testapp.pro
	installerbuilder/installerbase/installerbasecommons.cpp
	installerbuilder/libinstaller/qinstaller.cpp
	installerbuilder/tests/tests.pro
2011-03-30 15:18:21 +02:00
J-P Nurmi
ca229bc660 teh "RemoveTargetDir" hack 2011-03-29 14:02:41 +02:00
kh1
66aad9f9d7 Merge branch 'master' into refactor
Conflicts:
	installerbuilder/libinstaller/qinstallergui.h
2011-03-18 10:22:02 +01:00
Tim Jenssen
1b8e428f29 fix license radiobutton label behaviour 2011-03-17 18:56:23 +01:00
kh1
6fd2b1d763 This is a question rather than an information... 2011-03-17 13:27:08 +01:00
kh1
c642c138ce Always pass the mode so we get the right components. 2011-03-16 17:05:03 +01:00
kh1
01f907e9d4 Merge commit 'd734757aad6acbbc5c32e18c9562ea7e9ea6d711' into refactor
Conflicts:
	installerbuilder/libinstaller/qinstallercomponentmodel.cpp
	installerbuilder/libinstaller/qinstallercomponentmodel.h
2011-03-16 09:06:01 +01:00
kh1
314686e0f6 Make sure we switch the contents if we switch mode. 2011-03-15 14:39:54 +01:00
kh1
d2da121009 Replace InstallerMode with AllMode.
Since the old implementation did fetch both updates and all
packages in one go and keept the updates in a seperate list,
we had to use AllMode to get the packages of both lists. Now
the implementation fetches updates and keeps it in one list
and all packages (including updates) in another one. So AllMode
is now InstallerMode && UpdaterMode.
2011-03-11 17:16:43 +01:00
kh1
36ced7e11a Unify status values. 2011-03-10 15:50:33 +01:00
kh1
b06c01e9e0 Add some documentation why we have overwritten this function. 2011-03-09 09:10:07 +01:00
kh1
cd1d9d181c Do not use a group box on OSX. (space constraints) 2011-03-08 22:27:30 +01:00
kh1
4a2c8528cf Force differnt resize behavior for the button layout. 2011-03-08 22:26:13 +01:00
kh1
c42fac59da Use setSubTitle to make the look more consistant. 2011-03-08 22:25:27 +01:00
kh1
a50ba156f8 Style change. 2011-03-08 17:45:56 +01:00
kh1
722d4a2262 We need to use entering().
In case the Wizard uses QWizard::IndependentPages
initializePage() would be called only once and therefor
not reevaluate the licenses.
2011-03-08 17:44:39 +01:00
kh1
c863b06b38 Some more work to support update/ package mode in one page. 2011-03-08 17:44:09 +01:00
kh1
936a4a287f Preparation to support update mode as well. 2011-03-07 15:55:41 +01:00
kh1
1bfafc0f2c Some more work to have the a proper wizard updater intergration.
Introduce some magic marker to differentiate between update and
package management modus. The base installer now needs explicite
arguments passed to make the app an updater or package manager.
Adjustment some more classes to take the new markers into account.
2011-03-03 17:46:00 +01:00
kh1
e5a9ff82c3 Package manager mode allows add/ remove, use a more generic text. 2011-03-03 17:43:57 +01:00
kh1
da39cde169 The component page did way to much to be generic.
Remove the logic about uninstallation, keep components etc...
2011-03-03 17:43:43 +01:00
kh1
45d304af53 Some more style fixes. 2011-03-03 17:43:30 +01:00
kh1
c6aa7dbe8f Style cleanup. 2011-03-03 17:43:06 +01:00
kh1
8850b93f27 Whitespace cleanup. 2011-03-03 15:56:06 +01:00
kh1
39dc4e06c7 Make sure the message label does not move. 2011-03-03 15:37:29 +01:00
Tim Jenssen
c71e808646 Merge branch 'master' into refactor 2011-03-03 15:36:37 +01:00
kh1
de31ac1eb8 There's really no need to have the intro page in the base installer gui.
We now provide a method to retrieve a QInstaller::Page by Id.
If we need to have a intro page, the inherited class should create them.
2011-03-03 14:46:58 +01:00
kh1
1d719384f6 Remove some more auto pointer stuff. 2011-03-03 14:46:58 +01:00
Maurice Kalinowski
c95b618588 installation directory cannot be empty
The wizard page should not allow to specify an empty installation
path. Hence reject the wizard to proceed

Reviewed-by: Niels Weber
Task-number: QTSDK-540
2011-03-02 09:01:15 +01:00
Tim Jenssen
8457830abd init commit 2011-02-21 16:41:32 +01:00