Based on the grand potentials of ideal quantum gases, the number of particles, internal energy, three diagonal components of the pressure tensor, and other thermodynamic quantities of the ideal quantum gas systems confined in a rectangular box are analytically derived. It is found that the internal energy of the systems is non-extensive and that the other thermodynamic quantities, which are extensive under the thermodynamic limit condition, are also non-extensive. It is also found that the pressure tensor of the quantum gas systems in a confined space is, in general, no longer isotropic because of the geometric effect of the boundary. Moreover, the influence of the size effect of the containers on the properties of the systems and the thermosize effects in the confined quantum gas systems such as the Seebeck-like, Peltier-like and Thomson-like thermosize effects are discussed with the help of the assumption of local equilibrium. It is very significant to note that the new concept of the "mix" heat capacity, which is neither the heat capacity at constant pressure nor the heat capacity at constant volume, must be introduced in the investigation of Thomson-like thermosize effect. The results obtained may be directly used to analyze the thermodynamic properties and thermosize effects of the confined classical gas.