JKQTPlotter trunk/v5.0.0
an extensive Qt5+Qt6 Plotter framework (including a feature-richt plotter widget, a speed-optimized, but limited variant and a LaTeX equation renderer!), written fully in C/C++ and without external dependencies
Loading...
Searching...
No Matches

struct, describing basic layout and size properties of a key/legend, mostly used as return value of getSize(). More...

#include <jkqtpkey.h>

Collaboration diagram for JKQTPBaseKey::KeySizeDescription:
[legend]

Public Types

enum  KeyLocation {
  keyInside ,
  keyOutsideLeft ,
  keyOutsideRight ,
  keyOutsideTop ,
  keyOutsideBottom
}
 type describing the position of the key More...
 

Public Member Functions

 KeySizeDescription (const KeySizeDescription &other)
 
 KeySizeDescription (QSize _requiredSize=QSize(), KeyLocation _keyLocation=keyInside)
 
KeySizeDescriptionoperator= (const KeySizeDescription &other)
 

Public Attributes

std::unique_ptr< KeyLayoutDescriptiond
 private data
 
KeyLocation keyLocation
 where the size requiredSize has to be resevred for the key
 
QSizeF requiredSize
 required spacefor the key/legend [pixels]
 

Detailed Description

struct, describing basic layout and size properties of a key/legend, mostly used as return value of getSize().

Member Enumeration Documentation

◆ KeyLocation

type describing the position of the key

Enumerator
keyInside 

somewhere inside the plot

keyOutsideLeft 

on the left of the plot

keyOutsideRight 

on the right of the plot

keyOutsideTop 

above the plot

keyOutsideBottom 

below the plot

Constructor & Destructor Documentation

◆ KeySizeDescription() [1/2]

JKQTPBaseKey::KeySizeDescription::KeySizeDescription ( QSize  _requiredSize = QSize(),
KeyLocation  _keyLocation = keyInside 
)

◆ KeySizeDescription() [2/2]

JKQTPBaseKey::KeySizeDescription::KeySizeDescription ( const KeySizeDescription other)

Member Function Documentation

◆ operator=()

KeySizeDescription & JKQTPBaseKey::KeySizeDescription::operator= ( const KeySizeDescription other)

Member Data Documentation

◆ d

std::unique_ptr<KeyLayoutDescription> JKQTPBaseKey::KeySizeDescription::d

private data

◆ keyLocation

KeyLocation JKQTPBaseKey::KeySizeDescription::keyLocation

where the size requiredSize has to be resevred for the key

◆ requiredSize

QSizeF JKQTPBaseKey::KeySizeDescription::requiredSize

required spacefor the key/legend [pixels]


The documentation for this struct was generated from the following file: