![]() |
LibrePCB Developers Documentation
|
Dialog (GUI) to configure the background image of a 2D view. More...
#include <backgroundimagesetupdialog.h>
Public Types | |
enum class | State |
Public Member Functions | |
BackgroundImageSetupDialog ()=delete | |
BackgroundImageSetupDialog (const BackgroundImageSetupDialog &other)=delete | |
BackgroundImageSetupDialog (const QString &settingsPrefix, QWidget *parent=nullptr) noexcept | |
~BackgroundImageSetupDialog () noexcept | |
const QImage & | getImage () const noexcept |
const Angle & | getRotation () const noexcept |
const QList< std::pair< QPointF, Point > > & | getReferences () const noexcept |
void | setData (const QImage &image, const Angle &rotation, const QList< std::pair< QPointF, Point > > &references) noexcept |
BackgroundImageSetupDialog & | operator= (const BackgroundImageSetupDialog &rhs)=delete |
Static Private Member Functions | |
static QImage | cropImage (const QImage &img, const QPainterPath &p) noexcept |
Private Attributes | |
QScopedPointer< Ui::BackgroundImageSetupDialog > | mUi |
const QString | mSettingsPrefix |
State | mState |
QImage | mImage |
Angle | mRotation |
QList< std::pair< QPointF, Point > > | mLoadedReferences |
QList< std::pair< QPointF, Point > > | mReferences |
QPointer< QScreen > | mScreen |
int | mCountdownSecs |
QScopedPointer< QWidget > | mRotateWidget |
QScopedPointer< QGraphicsPixmapItem > | mImageGraphicsItem |
std::shared_ptr< QGraphicsPathItem > | mCursorGraphicsItem |
QScopedPointer< QGraphicsPathItem > | mCropGraphicsItem |
QList< std::shared_ptr< QGraphicsPathItem > > | mReferenceGraphicsItems |
QList< std::shared_ptr< QGraphicsLineItem > > | mReferenceLineGraphicsItems |
QList< std::shared_ptr< QWidget > > | mReferenceWidgets |
Dialog (GUI) to configure the background image of a 2D view.
|
strong |
|
delete |
|
delete |
|
explicitnoexcept |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
|
delete |
|
overrideprivatenoexcept |
|
overrideprivatevirtualnoexcept |
Reimplemented from IF_GraphicsViewEventHandler.
|
overrideprivatevirtualnoexcept |
Reimplemented from IF_GraphicsViewEventHandler.
|
overrideprivatevirtualnoexcept |
Reimplemented from IF_GraphicsViewEventHandler.
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
staticprivatenoexcept |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |