Remove use_quantity and add QTable as a real class