From d104b8bd7ed33268edee80f15af0d3ae081d9955 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Mon, 26 Oct 2015 17:39:23 +0200 Subject: [PATCH] Additionaly each standard table provide measurements size and height. --HG-- branch : develop --- src/libs/vformat/vmeasurements.cpp | 7 +++++++ src/libs/vmisc/def.cpp | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/libs/vformat/vmeasurements.cpp b/src/libs/vformat/vmeasurements.cpp index 96578c8f2..54babd2e5 100644 --- a/src/libs/vformat/vmeasurements.cpp +++ b/src/libs/vformat/vmeasurements.cpp @@ -617,6 +617,13 @@ QStringList VMeasurements::ListAll() const } } + if (type == MeasurementsType::Standard) + { + // Additionaly each standard table provide size and height + listNames.append(size_M); + listNames.append(height_M); + } + return listNames; } diff --git a/src/libs/vmisc/def.cpp b/src/libs/vmisc/def.cpp index eef9ab839..b3c0e6650 100644 --- a/src/libs/vmisc/def.cpp +++ b/src/libs/vmisc/def.cpp @@ -964,7 +964,9 @@ QStringList AllGroupNames() << ListGroupN() << ListGroupO() << ListGroupP() - << ListGroupQ(); + << ListGroupQ() + << size_M + << height_M; return originalNames; }