KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_reference_image_properties.h
Go to the documentation of this file.
1
/*
2
* This program source code file is part of KiCad, a free EDA CAD application.
3
*
4
* Copyright (C) 2018-2024 KiCad Developers, see AUTHORS.txt for contributors.
5
*
6
* This program is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public License
8
* as published by the Free Software Foundation; either version 2
9
* of the License, or (at your option) any later version.
10
*
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, you may find one here:
18
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
19
* or you may search the http://www.gnu.org website for the version 2 license,
20
* or you may write to the Free Software Foundation, Inc.,
21
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
22
*/
23
24
#pragma once
25
26
#include <
dialogs/dialog_reference_image_properties_base.h
>
27
#include <
widgets/unit_binder.h
>
28
29
30
class
PCB_BASE_FRAME
;
31
class
PCB_REFERENCE_IMAGE
;
32
class
PANEL_IMAGE_EDITOR
;
33
34
35
class
DIALOG_REFERENCE_IMAGE_PROPERTIES
:
public
DIALOG_REFERENCE_IMAGE_PROPERTIES_BASE
36
{
37
public
:
38
DIALOG_REFERENCE_IMAGE_PROPERTIES
(
PCB_BASE_FRAME
* aParent,
PCB_REFERENCE_IMAGE
& aBitmap );
39
~DIALOG_REFERENCE_IMAGE_PROPERTIES
()
override
{}
40
41
private
:
42
bool
TransferDataToWindow
()
override
;
43
bool
TransferDataFromWindow
()
override
;
44
45
private
:
46
PCB_BASE_FRAME
*
m_frame
;
48
PCB_REFERENCE_IMAGE
&
m_bitmap
;
49
PANEL_IMAGE_EDITOR
*
m_imageEditor
;
50
51
UNIT_BINDER
m_posX
;
52
UNIT_BINDER
m_posY
;
53
};
DIALOG_REFERENCE_IMAGE_PROPERTIES_BASE
Class DIALOG_REFERENCE_IMAGE_PROPERTIES_BASE.
Definition:
dialog_reference_image_properties_base.h:42
DIALOG_REFERENCE_IMAGE_PROPERTIES
Definition:
dialog_reference_image_properties.h:36
DIALOG_REFERENCE_IMAGE_PROPERTIES::~DIALOG_REFERENCE_IMAGE_PROPERTIES
~DIALOG_REFERENCE_IMAGE_PROPERTIES() override
Definition:
dialog_reference_image_properties.h:39
DIALOG_REFERENCE_IMAGE_PROPERTIES::m_imageEditor
PANEL_IMAGE_EDITOR * m_imageEditor
Definition:
dialog_reference_image_properties.h:49
DIALOG_REFERENCE_IMAGE_PROPERTIES::m_bitmap
PCB_REFERENCE_IMAGE & m_bitmap
Definition:
dialog_reference_image_properties.h:48
DIALOG_REFERENCE_IMAGE_PROPERTIES::m_posY
UNIT_BINDER m_posY
Definition:
dialog_reference_image_properties.h:52
DIALOG_REFERENCE_IMAGE_PROPERTIES::m_posX
UNIT_BINDER m_posX
Definition:
dialog_reference_image_properties.h:51
DIALOG_REFERENCE_IMAGE_PROPERTIES::m_frame
PCB_BASE_FRAME * m_frame
The reference image being edited.
Definition:
dialog_reference_image_properties.h:46
DIALOG_REFERENCE_IMAGE_PROPERTIES::TransferDataFromWindow
bool TransferDataFromWindow() override
Definition:
dialog_reference_image_properties.cpp:96
DIALOG_REFERENCE_IMAGE_PROPERTIES::TransferDataToWindow
bool TransferDataToWindow() override
Definition:
dialog_reference_image_properties.cpp:80
PANEL_IMAGE_EDITOR
Definition:
panel_image_editor.h:35
PCB_BASE_FRAME
Base PCB main window class for Pcbnew, Gerbview, and CvPcb footprint viewer.
Definition:
pcb_base_frame.h:87
PCB_REFERENCE_IMAGE
Object to handle a bitmap image that can be inserted in a PCB.
Definition:
pcb_reference_image.h:37
UNIT_BINDER
Definition:
unit_binder.h:43
dialog_reference_image_properties_base.h
unit_binder.h
src
pcbnew
dialogs
dialog_reference_image_properties.h
Generated on Sun Dec 22 2024 00:05:26 for KiCad PCB EDA Suite by
1.9.6