KiCad PCB EDA Suite
Loading...
Searching...
No Matches
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 The 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, see <https://www.gnu.org/licenses/>.
18
*/
19
20
#ifndef DIALOG_IMAGE_PROPERTIES_H
21
#define DIALOG_IMAGE_PROPERTIES_H
22
23
#include <
dialogs/dialog_image_properties_base.h
>
24
#include <
widgets/unit_binder.h
>
25
26
27
class
SCH_EDIT_FRAME
;
28
class
SCH_BITMAP
;
29
class
PANEL_IMAGE_EDITOR
;
30
31
32
class
DIALOG_IMAGE_PROPERTIES
:
public
DIALOG_IMAGE_PROPERTIES_BASE
33
{
34
public
:
35
DIALOG_IMAGE_PROPERTIES
(
SCH_EDIT_FRAME
* aParent,
SCH_BITMAP
& aBitmap );
36
~DIALOG_IMAGE_PROPERTIES
()
override
{}
37
38
private
:
39
bool
TransferDataToWindow
()
override
;
40
bool
TransferDataFromWindow
()
override
;
41
42
private
:
43
SCH_EDIT_FRAME
*
m_frame
;
44
SCH_BITMAP
&
m_bitmap
;
45
PANEL_IMAGE_EDITOR
*
m_imageEditor
;
46
47
UNIT_BINDER
m_posX
;
48
UNIT_BINDER
m_posY
;
49
};
50
51
#endif
DIALOG_IMAGE_PROPERTIES_BASE::DIALOG_IMAGE_PROPERTIES_BASE
DIALOG_IMAGE_PROPERTIES_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Image Properties"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
Definition
dialog_image_properties_base.cpp:12
DIALOG_IMAGE_PROPERTIES::m_bitmap
SCH_BITMAP & m_bitmap
Definition
dialog_image_properties.h:44
DIALOG_IMAGE_PROPERTIES::m_imageEditor
PANEL_IMAGE_EDITOR * m_imageEditor
Definition
dialog_image_properties.h:45
DIALOG_IMAGE_PROPERTIES::m_frame
SCH_EDIT_FRAME * m_frame
Definition
dialog_image_properties.h:43
DIALOG_IMAGE_PROPERTIES::DIALOG_IMAGE_PROPERTIES
DIALOG_IMAGE_PROPERTIES(SCH_EDIT_FRAME *aParent, SCH_BITMAP &aBitmap)
Definition
dialog_image_properties.cpp:28
DIALOG_IMAGE_PROPERTIES::~DIALOG_IMAGE_PROPERTIES
~DIALOG_IMAGE_PROPERTIES() override
Definition
dialog_image_properties.h:36
DIALOG_IMAGE_PROPERTIES::m_posX
UNIT_BINDER m_posX
Definition
dialog_image_properties.h:47
DIALOG_IMAGE_PROPERTIES::m_posY
UNIT_BINDER m_posY
Definition
dialog_image_properties.h:48
DIALOG_IMAGE_PROPERTIES::TransferDataToWindow
bool TransferDataToWindow() override
Definition
dialog_image_properties.cpp:50
DIALOG_IMAGE_PROPERTIES::TransferDataFromWindow
bool TransferDataFromWindow() override
Definition
dialog_image_properties.cpp:59
PANEL_IMAGE_EDITOR
Definition
panel_image_editor.h:34
SCH_BITMAP
Object to handle a bitmap image that can be inserted in a schematic.
Definition
sch_bitmap.h:36
SCH_EDIT_FRAME
Schematic editor (Eeschema) main window.
Definition
sch_edit_frame.h:131
UNIT_BINDER
Definition
unit_binder.h:40
dialog_image_properties_base.h
unit_binder.h
src
eeschema
dialogs
dialog_image_properties.h
Generated on Fri Jun 26 2026 00:05:34 for KiCad PCB EDA Suite by
1.13.2