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-2023 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
#ifndef DIALOG_REFERENCE_IMAGE_PROPERTIES_H
25
#define DIALOG_REFERENCE_IMAGE_PROPERTIES_H
26
27
#include <
dialogs/dialog_reference_image_properties_base.h
>
28
#include <
widgets/unit_binder.h
>
29
30
31
class
PCB_BASE_FRAME
;
32
class
PCB_REFERENCE_IMAGE
;
33
class
PANEL_IMAGE_EDITOR
;
34
35
36
class
DIALOG_REFERENCE_IMAGE_PROPERTIES
:
public
DIALOG_REFERENCE_IMAGE_PROPERTIES_BASE
37
{
38
public
:
39
DIALOG_REFERENCE_IMAGE_PROPERTIES
(
PCB_BASE_FRAME
* aParent,
PCB_REFERENCE_IMAGE
* aBitmap );
40
~DIALOG_REFERENCE_IMAGE_PROPERTIES
()
override
{}
41
42
private
:
43
bool
TransferDataToWindow
()
override
;
44
bool
TransferDataFromWindow
()
override
;
45
46
private
:
47
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
};
54
55
#endif
// DIALOG_REFERENCE_IMAGE_PROPERTIES_H
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:37
DIALOG_REFERENCE_IMAGE_PROPERTIES::~DIALOG_REFERENCE_IMAGE_PROPERTIES
~DIALOG_REFERENCE_IMAGE_PROPERTIES() override
Definition:
dialog_reference_image_properties.h:40
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
Definition:
dialog_reference_image_properties.h:47
DIALOG_REFERENCE_IMAGE_PROPERTIES::TransferDataFromWindow
bool TransferDataFromWindow() override
Definition:
dialog_reference_image_properties.cpp:95
DIALOG_REFERENCE_IMAGE_PROPERTIES::TransferDataToWindow
bool TransferDataToWindow() override
Definition:
dialog_reference_image_properties.cpp:79
PANEL_IMAGE_EDITOR
Definition:
panel_image_editor.h:33
PCB_BASE_FRAME
Base PCB main window class for Pcbnew, Gerbview, and CvPcb footprint viewer.
Definition:
pcb_base_frame.h:72
PCB_REFERENCE_IMAGE
Object to handle a bitmap image that can be inserted in a PCB.
Definition:
pcb_reference_image.h:38
UNIT_BINDER
Definition:
unit_binder.h:41
dialog_reference_image_properties_base.h
unit_binder.h
src
pcbnew
dialogs
dialog_reference_image_properties.h
Generated on Sun Apr 28 2024 00:05:23 for KiCad PCB EDA Suite by
1.9.6