0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-10-23 02:47:28 +03:00

New scale method has been added

This commit is contained in:
fralx
2020-04-27 11:52:25 +03:00
parent e623978281
commit 318af3b221
40 changed files with 558 additions and 273 deletions

View File

@@ -59,22 +59,29 @@ namespace Const{
int const DEFAULT_GRID_STEP = 1;
int const RESIZE_HANDLE_SIZE = 5;
int const SELECTION_PEN_SIZE = 1;
int const MINIMUM_ITEM_WIDTH = 2*RESIZE_HANDLE_SIZE;
int const MINIMUM_ITEM_HEIGHT = 2*RESIZE_HANDLE_SIZE;
int const MINIMUM_ITEM_WIDTH = 2 * RESIZE_HANDLE_SIZE;
int const MINIMUM_ITEM_HEIGHT = 2 * RESIZE_HANDLE_SIZE;
double const RESIZE_ZONE_OPACITY = 0.5;
double const SELECTED_RESIZE_ZONE_OPACITY = 0.6;
Qt::GlobalColor const RESIZE_ZONE_COLOR = Qt::green;
Qt::GlobalColor const SELECTION_COLOR = Qt::red;
Qt::GlobalColor const JOIN_COLOR = Qt::blue;
double const SELECTION_COLOR_OPACITY = 0.6;
const qreal fontFACTOR = 3.5;
const int mmFACTOR = 10;
const int itemPaleteIconSize = 24;
const qreal minSpaceBorder = 10;
const QString bandTAG = "band";
const qreal FONT_FACTOR = 0.33;
const int STORAGE_MM_FACTOR = 10;
const int DESIGNER_MM_FACTOR = 5;
const int OLD_MM_FACTOR = 10;
const int DEFAULT_ITEM_WIDTH = 20;
const int DEFAULT_ITEM_HEIGHT = 5;
const int DEFAULT_BAND_HEIGHT = 10;
const int PPM_PERCENT_STEP = 20;
const int ITEM_PALETTE_ICON_SIZE = 24;
const qreal MIN_SPACE_BORDER = 10;
const QString BAND_TAG = "band";
const Qt::GlobalColor BAND_NAME_LABEL_COLOR = Qt::yellow;
const Qt::GlobalColor BAND_NAME_BORDER_COLOR = Qt::darkYellow;
const qreal BAND_MARKER_OPACITY = 1;
const Qt::GlobalColor BAND_NAME_BORDER_COLOR = Qt::darkGray;
const qreal BAND_MARKER_SELECTED_OPACITY = 1;
const qreal BAND_MARKER_OPACITY = 0.3;
const qreal LAYOUT_MARKER_OPACITY = 0.3;
const qreal BAND_NAME_AREA_OPACITY = 0.3;
const qreal BAND_NAME_TEXT_OPACITY = 0.6;