KiCad PCB EDA Suite
Loading...
Searching...
No Matches
eeschema/dialogs/dialog_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-2022 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_IMAGE_PROPERTIES_H
25
#define DIALOG_IMAGE_PROPERTIES_H
26
27
#include <dialogs/dialog_image_properties_base.h>
28
#include <
widgets/unit_binder.h
>
29
30
31
class
SCH_EDIT_FRAME
;
32
class
SCH_BITMAP
;
33
class
PANEL_IMAGE_EDITOR
;
34
35
36
class
DIALOG_IMAGE_PROPERTIES
:
public
DIALOG_IMAGE_PROPERTIES_BASE
37
{
38
public
:
39
DIALOG_IMAGE_PROPERTIES
(
SCH_EDIT_FRAME
* aParent,
SCH_BITMAP
* aBitmap );
40
~DIALOG_IMAGE_PROPERTIES
()
override
{}
41
42
private
:
43
bool
TransferDataToWindow
()
override
;
44
bool
TransferDataFromWindow
()
override
;
45
46
private
:
47
SCH_EDIT_FRAME
*
m_frame
;
48
SCH_BITMAP
*
m_bitmap
;
49
PANEL_IMAGE_EDITOR
*
m_imageEditor
;
50
51
UNIT_BINDER
m_posX
;
52
UNIT_BINDER
m_posY
;
53
};
54
55
#endif
DIALOG_IMAGE_PROPERTIES_BASE
Class DIALOG_IMAGE_PROPERTIES_BASE.
Definition:
eeschema/dialogs/dialog_image_properties_base.h:37
DIALOG_IMAGE_PROPERTIES
Definition:
eeschema/dialogs/dialog_image_properties.h:37
DIALOG_IMAGE_PROPERTIES::m_bitmap
SCH_BITMAP * m_bitmap
Definition:
eeschema/dialogs/dialog_image_properties.h:48
DIALOG_IMAGE_PROPERTIES::m_imageEditor
PANEL_IMAGE_EDITOR * m_imageEditor
Definition:
eeschema/dialogs/dialog_image_properties.h:49
DIALOG_IMAGE_PROPERTIES::m_frame
SCH_EDIT_FRAME * m_frame
Definition:
eeschema/dialogs/dialog_image_properties.h:47
DIALOG_IMAGE_PROPERTIES::~DIALOG_IMAGE_PROPERTIES
~DIALOG_IMAGE_PROPERTIES() override
Definition:
eeschema/dialogs/dialog_image_properties.h:40
DIALOG_IMAGE_PROPERTIES::m_posX
UNIT_BINDER m_posX
Definition:
eeschema/dialogs/dialog_image_properties.h:51
DIALOG_IMAGE_PROPERTIES::m_posY
UNIT_BINDER m_posY
Definition:
eeschema/dialogs/dialog_image_properties.h:52
DIALOG_IMAGE_PROPERTIES::TransferDataToWindow
bool TransferDataToWindow() override
Definition:
eeschema/dialogs/dialog_image_properties.cpp:51
DIALOG_IMAGE_PROPERTIES::TransferDataFromWindow
bool TransferDataFromWindow() override
Definition:
eeschema/dialogs/dialog_image_properties.cpp:60
PANEL_IMAGE_EDITOR
Definition:
panel_image_editor.h:33
SCH_BITMAP
Object to handle a bitmap image that can be inserted in a schematic.
Definition:
sch_bitmap.h:41
SCH_EDIT_FRAME
Schematic editor (Eeschema) main window.
Definition:
sch_edit_frame.h:104
UNIT_BINDER
Definition:
unit_binder.h:41
unit_binder.h
src
eeschema
dialogs
dialog_image_properties.h
Generated on Wed May 31 2023 00:03:40 for KiCad PCB EDA Suite by
1.9.5