|
KiCad PCB EDA Suite
|
Edits every setting of a .kicad_dbl file and previews the resulting symbols. More...
#include <dialog_database_lib_settings.h>
Classes | |
| struct | COLUMN_ROLE |
| One column mapping on the Libraries page: its combo, its setting and its Data page label. More... | |
| struct | CONNECT_JOB |
| Result of a connection attempt made on a worker thread. More... | |
Public Types | |
| enum | HOLDER_TYPE { DIALOG , FRAME , PANEL } |
Public Member Functions | |
| DIALOG_DATABASE_LIB_SETTINGS (wxWindow *aParent, const wxString &aDblPath, SYMBOL_LIBRARY_ADAPTER *aLibs, const wxString &aDefaultDir=wxEmptyString) | |
| ~DIALOG_DATABASE_LIB_SETTINGS () override | |
| bool | TransferDataToWindow () override |
| bool | TransferDataFromWindow () override |
| const wxString & | GetSettingsPath () const |
| void | m_splitterOnIdle (wxIdleEvent &) |
| void | SetInitialFocus (wxWindow *aWindow) |
| Sets the window (usually a wxTextCtrl) that should be focused when the dialog is shown. | |
| int | ShowModal () override |
| int | ShowQuasiModal () |
| void | EndQuasiModal (int retCode) |
| bool | IsQuasiModal () const |
| void | PrepareForModalSubDialog () |
| void | CleanupAfterModalSubDialog () |
| bool | Show (bool show) override |
| bool | Enable (bool enable) override |
| void | OnPaint (wxPaintEvent &event) |
| void | OnModify () |
| void | ClearModify () |
| void | SetPosition (const wxPoint &aNewPosition) |
| Force the position of the dialog to a new position. | |
| EDA_UNITS | GetUserUnits () const |
| void | SelectAllInTextCtrls (wxWindowList &children) |
| void | SetupStandardButtons (std::map< int, wxString > aLabels={}) |
| void | LoadControlState () |
| Load persisted control values from the current project's local settings. | |
| void | ReloadSashPositions () |
| While we did this in LoadControlState(), we need to re-apply if after setting the dialog size. | |
| void | SaveControlState () |
| Save control values and geometry to the current project's local settings. | |
| void | OptOut (wxWindow *aWindow) |
| Opt out of control state saving. | |
| void | ExcludeFromControlUndoRedo (wxWindow *aWindow) |
| Opt a control out of the dialog's generic Ctrl+Z/Ctrl+Y undo/redo. | |
| void | RegisterUnitBinder (UNIT_BINDER *aUnitBinder, wxWindow *aWindow) |
| Register a UNIT_BINDER so that it can handle units in control-state save/restore. | |
| void | UnregisterUnitBinder (UNIT_BINDER *aUnitBinder) |
| Remove a UNIT_BINDER from the control-state save/restore map. | |
| void | EndDialogShim (int aReturnCode) |
| A mode agnostic way to close a dialog. | |
| HOLDER_TYPE | GetType () const |
| KIWAY & | Kiway () const |
| Return a reference to the KIWAY that this object has an opportunity to participate in. | |
| bool | HasKiway () const |
| Safety check before asking for the Kiway reference. | |
| PROJECT & | Prj () const |
| Return a reference to the PROJECT associated with this KIWAY. | |
| void | SetKiway (wxWindow *aDest, KIWAY *aKiway) |
| It is only used for debugging, since "this" is not a wxWindow*. | |
Static Public Member Functions | |
| static bool | IsCtrl (int aChar, const wxKeyEvent &e) |
| static bool | IsShiftCtrl (int aChar, const wxKeyEvent &e) |
Protected Member Functions | |
| void | OnSettingChanged (wxCommandEvent &aEvent) override |
| void | OnSettingSpinChanged (wxSpinEvent &aEvent) override |
| void | OnSourceTypeChanged (wxCommandEvent &aEvent) override |
| void | OnSourceChanged (wxCommandEvent &aEvent) override |
| void | OnSourceSpinChanged (wxSpinEvent &aEvent) override |
| void | OnInsertDriver (wxCommandEvent &aEvent) override |
| void | OnTestConnection (wxCommandEvent &aEvent) override |
| void | OnManageDataSources (wxCommandEvent &aEvent) override |
| void | OnLibrarySelected (wxCommandEvent &aEvent) override |
| void | OnAddLibrary (wxCommandEvent &aEvent) override |
| void | OnDuplicateLibrary (wxCommandEvent &aEvent) override |
| void | OnMoveLibraryUp (wxCommandEvent &aEvent) override |
| void | OnMoveLibraryDown (wxCommandEvent &aEvent) override |
| void | OnRemoveLibrary (wxCommandEvent &aEvent) override |
| void | OnLibraryChanged (wxCommandEvent &aEvent) override |
| void | OnTableChanged (wxCommandEvent &aEvent) override |
| void | OnFieldCellChanged (wxGridEvent &aEvent) override |
| void | OnAddField (wxCommandEvent &aEvent) override |
| void | OnMoveFieldUp (wxCommandEvent &aEvent) override |
| void | OnMoveFieldDown (wxCommandEvent &aEvent) override |
| void | OnRemoveField (wxCommandEvent &aEvent) override |
| void | OnAddUnmappedColumns (wxCommandEvent &aEvent) override |
| void | OnDataLabelRightClick (wxGridEvent &aEvent) override |
| void | OnDataCellSelected (wxGridEvent &aEvent) override |
| void | onSplitterIdle (wxIdleEvent &aEvent) |
| void | finishDialogSettings () |
| In all dialogs, we must call the same functions to fix minimal dlg size, the default position and perhaps some others to fix a few issues depending on Windows Managers this helper function does these calls. | |
| void | clampToWorkArea () |
| Constrain the dialog's minimum size, size and position to the work area of the display it occupies, so a dialog whose content or restored geometry is larger than the monitor still fits, its bottom controls stay reachable, and it never lands off-screen. | |
| void | setSizeInDU (int x, int y) |
| Set the dialog to the given dimensions in "dialog units". | |
| int | horizPixelsFromDU (int x) const |
| Convert an integer number of dialog units to pixels, horizontally. | |
| int | vertPixelsFromDU (int y) const |
| Convert an integer number of dialog units to pixels, vertically. | |
| void | resetSize () |
| Clear the existing dialog size and position. | |
| virtual void | OnCharHook (wxKeyEvent &aEvt) |
| virtual void | TearDownQuasiModal () |
| Override this method to perform dialog tear down actions not suitable for object dtor. | |
| void | resetUndoRedoForNewContent (wxWindowList &aChildren) |
| Reset undo/redo tracking after dynamically replacing child panels. | |
| void | unregisterUnitBinders (wxWindow *aWindow) |
| Remove UNIT_BINDER registrations for a window and all its descendants. | |
Private Types | |
| enum class | CLOSE_ACTION { DISCARD , STAY , SAVED } |
Private Member Functions | |
| void | storeSource () |
| void | loadDataSources () |
| Fills the data source list from the ODBC driver manager, keeping what is typed. | |
| void | updateDsnDriver () |
| Shows which driver the chosen data source uses. | |
| void | updateSourceControls () |
| void | connect () |
| Starts connecting with the current settings; the table list refreshes when it finishes. | |
| void | cancelConnect () |
| Abandons a connection attempt in progress, whose result is then discarded. | |
| void | onConnectFinished (const std::shared_ptr< CONNECT_JOB > &aJob) |
| void | refreshTables () |
| Refreshes the table list and everything built on it after the connection changes. | |
| void | loadLibraryList () |
| void | loadLibrary () |
| void | storeLibrary () |
| void | moveLibrary (int aDelta) |
| void | loadFields () |
| void | swapFields (DATABASE_LIB_TABLE &aLib, int aRow, int aOther) |
| void | loadDataGrid () |
| void | updateSymbolExample () |
| Shows how the current library's symbols will be named. | |
| void | updateDataLabels () |
| Refreshes only the Data page column labels, which follow mapping edits. | |
| void | loadColumnChoices () |
| void | markUserRole (const COLUMN_ROLE &aRole, const std::string &aValue) |
| Records that the user chose aValue for aRole, so autofill leaves it alone. | |
| bool | ensureSample (const std::string &aTable) |
| Reads aTable's first rows unless they are already loaded; false if they could not be read. | |
| void | updateTableWarning () |
| Marks the table field when it is required and missing or could not be read. | |
| void | updateColumnWarnings () |
| Marks each column field for a missing key, a column the table does not have, keys that repeat in the sample or the problems the preview found in it. | |
| wxArrayString | previewIssues (SCH_IO_DATABASE::PREVIEW_ISSUE::FIELD aField) const |
| bool | validateLibraries () |
| Shows the first problem that stops the settings from being saved. | |
| wxString | cwdDir () const |
| bool | chooseSavePath () |
| Asks where to save a library that has no file yet; false if the user cancelled. | |
| void | updateAutofillStyle () |
| Italicizes the role combos that still hold an autofilled value. | |
| void | updateLibraryListHints () |
| Shows the empty state of the library list only while it is empty. | |
| std::string | settingsSnapshot () |
| Every setting as the file would hold it, plus where the password is kept. | |
| CLOSE_ACTION | confirmClose () |
| Asks what to do with unsaved edits before the dialog closes without OK. | |
| void | onCancel (wxCommandEvent &aEvent) |
| void | onCloseWindow (wxCloseEvent &aEvent) |
| void | autofillTable () |
| Picks the table named like the library while the user has not chosen one. | |
| void | autofillColumns () |
| Maps columns of the chosen table to roles and fields the user has not set. | |
| const std::vector< std::string > & | columnsFor (const std::string &aTable) |
| DATABASE_LIB_TABLE * | currentLibrary () |
| const DATABASE_FIELD_MAPPING * | fieldForColumn (const std::string &aColumn) |
| void | markDirty () |
| Restarts the debounce before the preview is rebuilt. | |
| void | showInfo (const wxString &aMessage, int aIcon) |
| Replaces the info bar message, which can be dismissed. | |
| void | updatePreview () |
| void | setConnectionStatus (const wxString &aText, bool aError, const wxString &aDetails=wxEmptyString) |
| Shows a one-line status; the full driver report goes in the tooltip. | |
| void | OnCloseWindow (wxCloseEvent &aEvent) |
| Properly handle the wxCloseEvent when in the quasimodal mode when not calling EndQuasiModal which is possible with any dialog derived from DIALOG_SHIM. | |
| void | OnActivate (wxActivateEvent &aEvent) |
| void | forceInitialFocus () |
| Focus the requested initial target if it is visible, otherwise focus the dialog itself so keyboard events (especially ESC) are always delivered. | |
| void | OnSize (wxSizeEvent &aEvent) |
| void | OnMove (wxMoveEvent &aEvent) |
| void | OnButton (wxCommandEvent &aEvent) |
| Properly handle the default button events when in the quasimodal mode when not calling EndQuasiModal which is possible with any dialog derived from DIALOG_SHIM. | |
| void | onChildSetFocus (wxFocusEvent &aEvent) |
| void | onInitDialog (wxInitDialogEvent &aEvent) |
| void | focusParentCanvas (bool aDeferUntilFrameActive=false) |
| Set focus back to the parent frame's tool canvas if available, otherwise to the parent window. | |
| std::string | generateKey (const wxWindow *aWin) const |
| void | registerUndoRedoHandlers (wxWindowList &aChildren) |
| void | recordControlChange (wxWindow *aCtrl) |
| Tell the undo mechanism to snapshot the current value of a control and record it as an undo step when the value changes. | |
| void | flushPendingControlChanges () |
| Apply outstanding control changes to the undo stack, and clear the pending list. | |
| void | onCommandEvent (wxCommandEvent &aEvent) |
| void | onSpinEvent (wxSpinEvent &aEvent) |
| void | onSpinDoubleEvent (wxSpinDoubleEvent &aEvent) |
| void | onStyledTextChanged (wxStyledTextEvent &aEvent) |
| void | onGridCellChanged (wxGridEvent &aEvent) |
| void | onPropertyGridChanged (wxPropertyGridEvent &aEvent) |
| void | onDataViewListChanged (wxDataViewEvent &aEvent) |
| void | doUndo () |
| void | doRedo () |
| wxVariant | getControlValue (wxWindow *aCtrl) |
| void | setControlValue (wxWindow *aCtrl, const wxVariant &aValue) |
| DECLARE_EVENT_TABLE () | |
Private Attributes | |
| wxString | m_path |
| wxString | m_defaultDir |
| SYMBOL_LIBRARY_ADAPTER * | m_libs |
| std::unique_ptr< DATABASE_LIB_SETTINGS > | m_settings |
| std::unique_ptr< DATABASE_CONNECTION > | m_conn |
| std::shared_ptr< CONNECT_JOB > | m_connectJob |
| DB_LIB_PREVIEW_PANEL * | m_preview |
| std::vector< COLUMN_ROLE > | m_roles |
| int | m_currentLibrary |
| Index into m_settings->m_Tables of the library shown on the Libraries page, or -1. | |
| bool | m_loading |
| Set while controls are filled from the settings, so their change events are ignored. | |
| bool | m_unnamed |
| True until a new library has been given a file. | |
| bool | m_flagMissing |
| Set once OK found a missing table or key, which is then flagged inline. | |
| bool | m_canSave |
| False when the file is unreadable or from a newer KiCad, since saving would lose its contents. | |
| WX_DEBOUNCED_ACTION | m_previewDebounce |
| Coalesces edits into one preview refresh. | |
| wxString | m_tableError |
| Why the table could not be read, shown on the table warning icon. | |
| SCH_IO_DATABASE::PREVIEW_ISSUES | m_previewIssues |
| Problems found while building the preview symbols, shown on the icons of the fields they came from. | |
| FIELD_WARNING_ICON * | m_tableIcon |
| std::vector< FIELD_WARNING_ICON * > | m_roleIcons |
| One per entry of m_roles. | |
| DATABASE_SOURCE | m_keyringLogin |
| DSN login and keyring password at load, so an untouched login never rewrites the keyring. | |
| std::string | m_autoTable |
| Autofilled values for the current library, which a later autofill may replace. | |
| std::map< wxComboBox *, std::string > | m_autoRoles |
| std::map< std::string, std::string > | m_autoFields |
| std::set< wxComboBox * > | m_userRoles |
| Role combos the user set for the current library, which autofill leaves alone. | |
| std::map< std::string, std::string > | m_newChoices |
| Columns the user chose this session, keyed like EESCHEMA_SETTINGS::m_DatabaseColumnChoices. | |
| std::vector< DATABASE_CONNECTION::DATA_SOURCE > | m_dataSources |
| std::vector< std::string > | m_tables |
| std::map< std::string, std::vector< std::string > > | m_columns |
| std::string | m_sampleTable |
| Rows of m_sampleTable shared by the Data page and the preview. | |
| std::vector< std::string > | m_sampleColumns |
| std::vector< DATABASE_CONNECTION::ROW > | m_sampleRows |
| std::map< std::string, size_t > | m_sampleRepeats |
| std::string | m_cleanSnapshot |
| settingsSnapshot() when the dialog opened, to tell whether closing loses anything | |
| KIWAY * | m_kiway |
| HOLDER_TYPE | m_type |
Edits every setting of a .kicad_dbl file and previews the resulting symbols.
The dialog works on its own copy of the settings and a connection of its own, so the library in use is untouched until OK saves the file.
Definition at line 47 of file dialog_database_lib_settings.h.
|
strongprivate |
| Enumerator | |
|---|---|
| DISCARD | Nothing to keep, or the user chose to discard it. |
| STAY | The user wants to keep editing. |
| SAVED | The user chose to save, which ended the dialog with wxID_OK. |
Definition at line 191 of file dialog_database_lib_settings.h.
|
inherited |
| Enumerator | |
|---|---|
| DIALOG | |
| FRAME | |
| PANEL | |
Definition at line 40 of file kiway_holder.h.
| DIALOG_DATABASE_LIB_SETTINGS::DIALOG_DATABASE_LIB_SETTINGS | ( | wxWindow * | aParent, |
| const wxString & | aDblPath, | ||
| SYMBOL_LIBRARY_ADAPTER * | aLibs, | ||
| const wxString & | aDefaultDir = wxEmptyString ) |
| aDblPath | is the settings file to edit; a missing file starts a new library, and an empty path starts a new library whose file is chosen when the user clicks OK |
| aLibs | resolves the symbols column for the preview; may be null |
| aDefaultDir | is the folder the save dialog opens in for a library without a path |
Definition at line 199 of file dialog_database_lib_settings.cpp.
References DIALOG_DATABASE_LIB_SETTINGS_BASE::DIALOG_DATABASE_LIB_SETTINGS_BASE(), m_canSave, m_currentLibrary, m_defaultDir, m_flagMissing, m_libs, m_loading, m_preview, m_previewDebounce, m_unnamed, and updatePreview().
|
override |
Definition at line 425 of file dialog_database_lib_settings.cpp.
References cancelConnect(), DIALOG_DATABASE_LIB_SETTINGS_BASE::m_dataGrid, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_fieldsGrid, and m_previewDebounce.
|
private |
Maps columns of the chosen table to roles and fields the user has not set.
Definition at line 1385 of file dialog_database_lib_settings.cpp.
References DB_AUTOFILL::AssignColumns(), autofillFields(), autofillRole(), DATABASE_FIELD_MAPPING::column, columnsFor(), alg::contains(), currentLibrary(), ensureSample(), fieldChoiceId(), DATABASE_LIB_TABLE::fields, findField(), isAutofilled(), loadColumnChoices(), loadFields(), m_autoFields, m_autoRoles, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_cbKeyCol, m_roles, m_sampleRepeats, m_sampleTable, m_tables, m_userRoles, AUTOFILL_FIELD::name, DATABASE_FIELD_MAPPING::name, DATABASE_LIB_TABLE::name, DATABASE_LIB_TABLE::table, updateDataLabels(), and AUTOFILL_FIELD::visibleOnAdd.
Referenced by autofillTable(), and OnTableChanged().
|
private |
Picks the table named like the library while the user has not chosen one.
Definition at line 1360 of file dialog_database_lib_settings.cpp.
References autofillColumns(), currentLibrary(), From_UTF8(), m_autoTable, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_cbTable, m_loading, m_tables, DB_AUTOFILL::MatchTable(), DATABASE_LIB_TABLE::name, table, and DATABASE_LIB_TABLE::table.
Referenced by onConnectFinished(), and OnLibraryChanged().
|
private |
Abandons a connection attempt in progress, whose result is then discarded.
Definition at line 979 of file dialog_database_lib_settings.cpp.
References _, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_btnTest, and m_connectJob.
Referenced by connect(), OnSourceChanged(), OnTestConnection(), and ~DIALOG_DATABASE_LIB_SETTINGS().
|
private |
Asks where to save a library that has no file yet; false if the user cancelled.
Definition at line 633 of file dialog_database_lib_settings.cpp.
References _, AddFileExtListToFilter(), KIPLATFORM::UI::AllowNetworkFileSystems(), connect(), cwdDir(), FILEEXT::DatabaseLibraryFileExtension, DefaultDatabaseLibFileName(), filter, From_UTF8(), IsOK(), m_defaultDir, m_path, m_settings, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_stCwdHelp, name, and showInfo().
Referenced by TransferDataFromWindow().
|
protectedinherited |
Constrain the dialog's minimum size, size and position to the work area of the display it occupies, so a dialog whose content or restored geometry is larger than the monitor still fits, its bottom controls stay reachable, and it never lands off-screen.
Geometry restored from a different monitor, or inflated by the per-monitor DPI rescale that fires when the dialog moves to the saved monitor, can otherwise leave the dialog off-screen or larger than the display with no way to shrink it. Only shrinks; never grows.
Definition at line 385 of file dialog_shim.cpp.
References ClampRectToDisplay(), and minSize.
Referenced by Show(), EDA_VIEW_SWITCHER::Show(), and HOTKEY_CYCLE_POPUP::Show().
|
inherited |
Definition at line 1829 of file dialog_shim.cpp.
References m_qmodal_parent_disabler.
|
inherited |
Definition at line 1735 of file dialog_shim.cpp.
Referenced by DIALOG_FOOTPRINT_FIELDS_TABLE::OnSaveAndContinue(), DIALOG_LIB_FIELDS_TABLE::OnSaveAndContinue(), DIALOG_LIB_FOOTPRINT_FIELDS_TABLE::OnSaveAndContinue(), DIALOG_SYMBOL_FIELDS_TABLE::OnSaveAndContinue(), DIALOG_LIB_FIELDS_TABLE::TransferDataFromWindow(), and DIALOG_LIB_FOOTPRINT_FIELDS_TABLE::TransferDataFromWindow().
|
private |
Definition at line 1055 of file dialog_database_lib_settings.cpp.
References empty(), m_columns, and m_conn.
Referenced by autofillColumns(), loadColumnChoices(), OnAddUnmappedColumns(), and updateColumnWarnings().
|
private |
Asks what to do with unsaved edits before the dialog closes without OK.
Definition at line 690 of file dialog_database_lib_settings.cpp.
References _, DISCARD, DIALOG_SHIM::EndDialogShim(), HandleUnsavedChanges(), m_canSave, m_cleanSnapshot, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_fieldsGrid, m_path, m_unnamed, SAVED, settingsSnapshot(), STAY, and TransferDataFromWindow().
Referenced by onCancel(), and onCloseWindow().
|
private |
Starts connecting with the current settings; the table list refreshes when it finishes.
Definition at line 923 of file dialog_database_lib_settings.cpp.
References _, cancelConnect(), SCH_IO_DATABASE::CreateConnection(), cwdDir(), From_UTF8(), GetKiCadThreadPool(), loadDataGrid(), DIALOG_DATABASE_LIB_SETTINGS_BASE::m_btnTest, m_columns, m_conn, m_connectJob, m_sampleColumns, m_sampleRepeats, m_sampleRows, m_sampleTable, m_settings, m_tables, markDirty(), refreshTables(), setConnectionStatus(), and source.
Referenced by chooseSavePath(), OnTestConnection(), and TransferDataToWindow().
|
private |
Definition at line 1046 of file dialog_database_lib_settings.cpp.
References m_currentLibrary, and m_settings.
Referenced by autofillColumns(), autofillTable(), fieldForColumn(), loadColumnChoices(), loadDataGrid(), loadFields(), loadLibrary(), OnAddField(), OnAddUnmappedColumns(), OnDataCellSelected(), OnDataLabelRightClick(), OnDuplicateLibrary(), OnFieldCellChanged(), OnLibraryChanged(), OnMoveFieldDown(), OnMoveFieldUp(), OnRemoveField(), OnRemoveLibrary(), OnTableChanged(), storeLibrary(), updateColumnWarnings(), updateDataLabels(), updatePreview(), updateSymbolExample(), and updateTableWarning().
|
private |
Definition at line 627 of file dialog_database_lib_settings.cpp.
References m_defaultDir, and m_path.
Referenced by chooseSavePath(), connect(), and TransferDataFromWindow().
|
privateinherited |
|
privateinherited |
Definition at line 1653 of file dialog_shim.cpp.
References DIALOG_SHIM::UNDO_STEP::after, DIALOG_SHIM::UNDO_STEP::ctrl, flushPendingControlChanges(), m_currentValues, m_handlingUndoRedo, m_redoStack, m_undoStack, and setControlValue().
Referenced by OnCharHook().
|
privateinherited |
Definition at line 1636 of file dialog_shim.cpp.
References DIALOG_SHIM::UNDO_STEP::before, DIALOG_SHIM::UNDO_STEP::ctrl, flushPendingControlChanges(), m_currentValues, m_handlingUndoRedo, m_redoStack, m_undoStack, and setControlValue().
Referenced by OnCharHook().
|
overrideinherited |
Definition at line 665 of file dialog_shim.cpp.
Referenced by DIALOG_CREATE_ARRAY::UpdatePickedItem(), and DIALOG_CREATE_ARRAY::UpdatePickedPoint().
|
inherited |
A mode agnostic way to close a dialog.
This replaces the protected method wxDialog::EndDialog() which unfortunately was not made virtual and knows nothing of our custom QuasiModal behavior.
| aReturnCode | is the return code from ending Modal and QuasiModal dialogs. |
Definition at line 2188 of file dialog_shim.cpp.
References EndQuasiModal(), and IsQuasiModal().
Referenced by DIALOG_DATABASE_LIB_SETTINGS::confirmClose(), EDA_3D_CONTROLLER::Main(), DIALOG_EXPORT_NETLIST::OnAddGenerator(), DIALOG_EDIT_SYMBOLS_LIBID::onCancel(), DIALOG_LIB_SYMBOL_PROPERTIES::OnCancelButtonClick(), DIALOG_SYMBOL_PROPERTIES::OnCancelButtonClick(), PCB_ONE_LAYER_SELECTOR::onCharHook(), DIALOG_SYMBOL_PROPERTIES::OnClearVariantSymbol(), DIALOG_LIB_EDIT_PIN_TABLE::OnClose(), DIALOG_DATABASE_LIB_SETTINGS::onCloseWindow(), DIALOG_EXPORT_NETLIST::OnDelGenerator(), DIALOG_SYMBOL_PROPERTIES::OnEditLibrarySymbol(), DIALOG_SYMBOL_PROPERTIES::OnEditSymbol(), DIALOG_SYMBOL_PROPERTIES::OnExchangeSymbol(), PCB_ONE_LAYER_SELECTOR::OnLeftGridCellClick(), PCB_ONE_LAYER_SELECTOR::OnRightGridCellClick(), DIALOG_SYMBOL_PROPERTIES::OnUpdateSymbol(), and DIALOG_PUSH_PAD_PROPERTIES::PadPropertiesAccept().
|
inherited |
Definition at line 1836 of file dialog_shim.cpp.
References IsQuasiModal(), m_qmodal_loop, m_qmodal_parent_disabler, Show(), and TearDownQuasiModal().
Referenced by EndDialogShim(), OnButton(), OnCloseWindow(), and ~DIALOG_SHIM().
|
private |
Reads aTable's first rows unless they are already loaded; false if they could not be read.
Definition at line 1935 of file dialog_database_lib_settings.cpp.
References loadDataGrid(), m_conn, m_sampleColumns, m_sampleRepeats, m_sampleRows, m_sampleTable, PREVIEW_ROW_LIMIT, and DB_AUTOFILL::RepeatCounts().
Referenced by autofillColumns(), and updatePreview().
|
inherited |
Opt a control out of the dialog's generic Ctrl+Z/Ctrl+Y undo/redo.
The generic handler snapshots a control's value and restores it by position. That is wrong for grids whose rows can be regrouped, sorted, or reordered while the dialog is open (and which manage their own undo), so such controls must opt out.
Definition at line 1131 of file dialog_shim.cpp.
References m_noControlUndoRedo.
Referenced by DIALOG_FOOTPRINT_FIELDS_TABLE::DIALOG_FOOTPRINT_FIELDS_TABLE(), DIALOG_LIB_FIELDS_TABLE::DIALOG_LIB_FIELDS_TABLE(), DIALOG_LIB_FOOTPRINT_FIELDS_TABLE::DIALOG_LIB_FOOTPRINT_FIELDS_TABLE(), and DIALOG_SYMBOL_FIELDS_TABLE::DIALOG_SYMBOL_FIELDS_TABLE().
|
private |
Definition at line 1648 of file dialog_database_lib_settings.cpp.
References DATABASE_FIELD_MAPPING::column, currentLibrary(), and DATABASE_LIB_TABLE::fields.
Referenced by OnDataLabelRightClick(), and updateDataLabels().
|
protectedinherited |
In all dialogs, we must call the same functions to fix minimal dlg size, the default position and perhaps some others to fix a few issues depending on Windows Managers this helper function does these calls.
finishDialogSettings must be called from derived classes after all widgets have been initialized, and therefore their size fixed. If TransferDataToWindow() is used to initialize widgets, at the end of TransferDataToWindow, or better yet, at end of a wxInitDialogEvent handler.
Definition at line 359 of file dialog_shim.cpp.
Referenced by CONVERT_SETTINGS_DIALOG::CONVERT_SETTINGS_DIALOG(), DIALOG_ANNOTATE::DIALOG_ANNOTATE(), DIALOG_ASSIGN_NETCLASS::DIALOG_ASSIGN_NETCLASS(), DIALOG_BOARD_REANNOTATE::DIALOG_BOARD_REANNOTATE(), DIALOG_BOARD_SETUP::DIALOG_BOARD_SETUP(), DIALOG_BOARD_STACKUP_JOB::DIALOG_BOARD_STACKUP_JOB(), DIALOG_BOARD_STATS_JOB::DIALOG_BOARD_STATS_JOB(), DIALOG_BOM::DIALOG_BOM(), DIALOG_BOOK_REPORTER::DIALOG_BOOK_REPORTER(), DIALOG_CHANGE_SYMBOLS::DIALOG_CHANGE_SYMBOLS(), DIALOG_CLEANUP_TRACKS_AND_VIAS::DIALOG_CLEANUP_TRACKS_AND_VIAS(), DIALOG_CONSTRAINT_LIST::DIALOG_CONSTRAINT_LIST(), DIALOG_CONSTRAINT_VALUE::DIALOG_CONSTRAINT_VALUE(), DIALOG_CONVERT_IMAGE_TO_OUTLINES::DIALOG_CONVERT_IMAGE_TO_OUTLINES(), DIALOG_COPPER_ZONE::DIALOG_COPPER_ZONE(), DIALOG_CREATE_NET_CHAIN::DIALOG_CREATE_NET_CHAIN(), DIALOG_DIMENSION_PROPERTIES::DIALOG_DIMENSION_PROPERTIES(), DIALOG_DOWNGRADE_REPORT::DIALOG_DOWNGRADE_REPORT(), DIALOG_DRAW_LAYERS_SETTINGS::DIALOG_DRAW_LAYERS_SETTINGS(), DIALOG_DRC::DIALOG_DRC(), DIALOG_DRILL_GROUPS::DIALOG_DRILL_GROUPS(), DIALOG_EDIT_SYMBOLS_LIBID::DIALOG_EDIT_SYMBOLS_LIBID(), DIALOG_ENUM_PADS::DIALOG_ENUM_PADS(), DIALOG_ERC::DIALOG_ERC(), DIALOG_EXCHANGE_FOOTPRINTS::DIALOG_EXCHANGE_FOOTPRINTS(), DIALOG_EXECUTECOMMAND_JOB_SETTINGS::DIALOG_EXECUTECOMMAND_JOB_SETTINGS(), DIALOG_EXPORT_2581::DIALOG_EXPORT_2581(), DIALOG_EXPORT_2581::DIALOG_EXPORT_2581(), DIALOG_EXPORT_NETLIST::DIALOG_EXPORT_NETLIST(), DIALOG_EXPORT_ODBPP::DIALOG_EXPORT_ODBPP(), DIALOG_EXPORT_ODBPP::DIALOG_EXPORT_ODBPP(), DIALOG_EXPORT_OLDER_VERSION::DIALOG_EXPORT_OLDER_VERSION(), DIALOG_EXPORT_STEP::DIALOG_EXPORT_STEP(), DIALOG_EXPORT_VRML::DIALOG_EXPORT_VRML(), DIALOG_FOOTPRINT_CHECKER::DIALOG_FOOTPRINT_CHECKER(), DIALOG_FOOTPRINT_FIELDS_TABLE::DIALOG_FOOTPRINT_FIELDS_TABLE(), DIALOG_FOOTPRINT_PROPERTIES::DIALOG_FOOTPRINT_PROPERTIES(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR(), DIALOG_FOOTPRINT_USERS::DIALOG_FOOTPRINT_USERS(), DIALOG_FOOTPRINT_WIZARD_LIST::DIALOG_FOOTPRINT_WIZARD_LIST(), DIALOG_FP_EDIT_PAD_TABLE::DIALOG_FP_EDIT_PAD_TABLE(), DIALOG_GENCAD_EXPORT_OPTIONS::DIALOG_GENCAD_EXPORT_OPTIONS(), DIALOG_GENDRILL::DIALOG_GENDRILL(), DIALOG_GENDRILL::DIALOG_GENDRILL(), DIALOG_GENERATED_TABLE_PROPERTIES::DIALOG_GENERATED_TABLE_PROPERTIES(), DIALOG_GIT_IDENTITY::DIALOG_GIT_IDENTITY(), DIALOG_GIT_MR_REVIEW::DIALOG_GIT_MR_REVIEW(), DIALOG_GIT_NEW_TAG::DIALOG_GIT_NEW_TAG(), DIALOG_GIT_REMOTE::DIALOG_GIT_REMOTE(), DIALOG_GIT_REPOSITORY::DIALOG_GIT_REPOSITORY(), DIALOG_GLOBAL_EDIT_TEARDROPS::DIALOG_GLOBAL_EDIT_TEARDROPS(), DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS(), DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS(), DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS(), DIALOG_GRID_ITEM_PROPERTIES::DIALOG_GRID_ITEM_PROPERTIES(), DIALOG_GRID_SETTINGS::DIALOG_GRID_SETTINGS(), DIALOG_GROUP_PROPERTIES::DIALOG_GROUP_PROPERTIES(), DIALOG_IBIS_PARSER_REPORTER::DIALOG_IBIS_PARSER_REPORTER(), DIALOG_IMAGE_PROPERTIES::DIALOG_IMAGE_PROPERTIES(), DIALOG_IMPORT_CHOOSE_PROJECT::DIALOG_IMPORT_CHOOSE_PROJECT(), DIALOG_IMPORT_NETLIST::DIALOG_IMPORT_NETLIST(), DIALOG_IMPORT_SYMBOL_SELECT::DIALOG_IMPORT_SYMBOL_SELECT(), DIALOG_INSPECTOR::DIALOG_INSPECTOR(), DIALOG_JOBSET_RUN_LOG::DIALOG_JOBSET_RUN_LOG(), DIALOG_JUNCTION_PROPS::DIALOG_JUNCTION_PROPS(), DIALOG_LABEL_PROPERTIES::DIALOG_LABEL_PROPERTIES(), DIALOG_LIB_FIELDS_TABLE::DIALOG_LIB_FIELDS_TABLE(), DIALOG_LIB_FOOTPRINT_FIELDS_TABLE::DIALOG_LIB_FOOTPRINT_FIELDS_TABLE(), DIALOG_LIB_NEW_SYMBOL::DIALOG_LIB_NEW_SYMBOL(), DIALOG_LINE_PROPERTIES::DIALOG_LINE_PROPERTIES(), DIALOG_LIST_HOTKEYS::DIALOG_LIST_HOTKEYS(), DIALOG_MANAGE_REPOSITORIES::DIALOG_MANAGE_REPOSITORIES(), DIALOG_MAP_LAYERS::DIALOG_MAP_LAYERS(), DIALOG_MICROVIA_STACK::DIALOG_MICROVIA_STACK(), DIALOG_MIGRATE_3D_MODELS::DIALOG_MIGRATE_3D_MODELS(), DIALOG_MOVE_EXACT::DIALOG_MOVE_EXACT(), DIALOG_MULTICHANNEL_GENERATE_RULE_AREAS::DIALOG_MULTICHANNEL_GENERATE_RULE_AREAS(), DIALOG_MULTICHANNEL_REPEAT_LAYOUT::DIALOG_MULTICHANNEL_REPEAT_LAYOUT(), DIALOG_NON_COPPER_ZONES_EDITOR::DIALOG_NON_COPPER_ZONES_EDITOR(), DIALOG_OFFSET_ITEM::DIALOG_OFFSET_ITEM(), DIALOG_OUTSET_ITEMS::DIALOG_OUTSET_ITEMS(), DIALOG_PAD_PROPERTIES::DIALOG_PAD_PROPERTIES(), DIALOG_PASTE_SPECIAL::DIALOG_PASTE_SPECIAL(), DIALOG_PCM::DIALOG_PCM(), DIALOG_PLOT_SCHEMATIC::DIALOG_PLOT_SCHEMATIC(), DIALOG_PNS_SETTINGS::DIALOG_PNS_SETTINGS(), DIALOG_POSITION_RELATIVE::DIALOG_POSITION_RELATIVE(), DIALOG_PRINT::DIALOG_PRINT(), DIALOG_PRINT_GENERIC::DIALOG_PRINT_GENERIC(), DIALOG_PRINT_PCBNEW::DIALOG_PRINT_PCBNEW(), DIALOG_PUSH_PAD_PROPERTIES::DIALOG_PUSH_PAD_PROPERTIES(), DIALOG_REFERENCE_IMAGE_PROPERTIES::DIALOG_REFERENCE_IMAGE_PROPERTIES(), DIALOG_REGULATOR_FORM::DIALOG_REGULATOR_FORM(), DIALOG_REMOTE_SYMBOL_CONFIG::DIALOG_REMOTE_SYMBOL_CONFIG(), DIALOG_RESOLVE_FIELD_CASE_CONFLICTS::DIALOG_RESOLVE_FIELD_CASE_CONFLICTS(), DIALOG_RULE_AREA_PROPERTIES::DIALOG_RULE_AREA_PROPERTIES(), DIALOG_SCH_IMPORT_SETTINGS::DIALOG_SCH_IMPORT_SETTINGS(), DIALOG_SCHEMATIC_SETUP::DIALOG_SCHEMATIC_SETUP(), DIALOG_SHAPE_PROPERTIES::DIALOG_SHAPE_PROPERTIES(), DIALOG_SHAPE_PROPERTIES::DIALOG_SHAPE_PROPERTIES(), DIALOG_SHEET_PIN_PROPERTIES::DIALOG_SHEET_PIN_PROPERTIES(), DIALOG_SHEET_PROPERTIES::DIALOG_SHEET_PROPERTIES(), DIALOG_SWAP_LAYERS::DIALOG_SWAP_LAYERS(), DIALOG_SYMBOL_FIELDS_TABLE::DIALOG_SYMBOL_FIELDS_TABLE(), DIALOG_SYMBOL_PROPERTIES::DIALOG_SYMBOL_PROPERTIES(), DIALOG_SYNC_SHEET_PINS::DIALOG_SYNC_SHEET_PINS(), DIALOG_TABLE_PROPERTIES::DIALOG_TABLE_PROPERTIES(), DIALOG_TABLE_PROPERTIES::DIALOG_TABLE_PROPERTIES(), DIALOG_TABLECELL_PROPERTIES::DIALOG_TABLECELL_PROPERTIES(), DIALOG_TABLECELL_PROPERTIES::DIALOG_TABLECELL_PROPERTIES(), DIALOG_TARGET_PROPERTIES::DIALOG_TARGET_PROPERTIES(), DIALOG_TEMPLATE_SELECTOR::DIALOG_TEMPLATE_SELECTOR(), DIALOG_TEXT_DIFF::DIALOG_TEXT_DIFF(), DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES(), DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES(), DIALOG_TEXTBOX_PROPERTIES::DIALOG_TEXTBOX_PROPERTIES(), DIALOG_TRACK_VIA_SIZE::DIALOG_TRACK_VIA_SIZE(), DIALOG_UNUSED_PAD_LAYERS::DIALOG_UNUSED_PAD_LAYERS(), DIALOG_UPDATE_FROM_PCB::DIALOG_UPDATE_FROM_PCB(), DIALOG_UPDATE_PCB::DIALOG_UPDATE_PCB(), DIALOG_UPDATE_SYMBOL_FIELDS::DIALOG_UPDATE_SYMBOL_FIELDS(), DIALOG_USER_DEFINED_SIGNALS::DIALOG_USER_DEFINED_SIGNALS(), DIALOG_WIRE_BUS_PROPERTIES::DIALOG_WIRE_BUS_PROPERTIES(), RULE_EDITOR_DIALOG_BASE::finishInitialization(), GIT_ADVANCED_DIALOG::GIT_ADVANCED_DIALOG(), DIALOG_PASTE_SPECIAL::HideClearNets(), DIALOG_FIELD_PROPERTIES::init(), DIALOG_EDIT_LIBRARY_TABLES::InstallPanel(), MATCH_PROPERTIES_DIALOG::MATCH_PROPERTIES_DIALOG(), NETLIST_DIALOG_ADD_GENERATOR::NETLIST_DIALOG_ADD_GENERATOR(), NETLIST_VIEW_DIALOG::NETLIST_VIEW_DIALOG(), DIALOG_SIM_COMMAND::onInitDlg(), DIALOG_EXPORT_IDF3::setupDialog(), DIALOG_BARCODE_PROPERTIES::TransferDataToWindow(), DIALOG_BOARD_STATISTICS::TransferDataToWindow(), DIALOG_COLOR_PICKER::TransferDataToWindow(), DIALOG_FOOTPRINT_ASSOCIATIONS::TransferDataToWindow(), DIALOG_PIN_PROPERTIES::TransferDataToWindow(), DIALOG_TRACK_VIA_PROPERTIES::TransferDataToWindow(), WX_MULTI_ENTRY_DIALOG::WX_MULTI_ENTRY_DIALOG(), and WX_PT_ENTRY_DIALOG::WX_PT_ENTRY_DIALOG().
|
privateinherited |
Apply outstanding control changes to the undo stack, and clear the pending list.
Runs at the end of the current event handler.
Definition at line 1338 of file dialog_shim.cpp.
References getControlValue(), m_controlsWithPendingChanges, m_currentValues, m_redoStack, and m_undoStack.
Referenced by doRedo(), doUndo(), and recordControlChange().
|
privateinherited |
Set focus back to the parent frame's tool canvas if available, otherwise to the parent window.
Prevents focus from landing on auxiliary panels like the properties panel when the mouse happens to hover over them at dialog close time.
| aDeferUntilFrameActive | also re-asserts the focus from an idle callback, needed only for the GTK quasi-modal teardown race where the dialog is still the active top-level window when this is called. |
Definition at line 454 of file dialog_shim.cpp.
References TOOLS_HOLDER::GetToolCanvas(), KIPLATFORM::UI::IsWindowActive(), and m_parentFrame.
Referenced by Show(), and ShowQuasiModal().
|
privateinherited |
Focus the requested initial target if it is visible, otherwise focus the dialog itself so keyboard events (especially ESC) are always delivered.
Definition at line 1688 of file dialog_shim.cpp.
References KIPLATFORM::UI::ForceFocus(), and m_initialFocusTarget.
Referenced by OnActivate(), and OnPaint().
|
privateinherited |
Definition at line 672 of file dialog_shim.cpp.
References index, and makeKey().
Referenced by LoadControlState(), ReloadSashPositions(), and SaveControlState().
|
privateinherited |
Definition at line 1422 of file dialog_shim.cpp.
Referenced by flushPendingControlChanges(), and registerUndoRedoHandlers().
|
inline |
Definition at line 65 of file dialog_database_lib_settings.h.
References m_path.
Referenced by PANEL_SYM_LIB_TABLE::newDatabaseLibraryHandler().
|
inlineinherited |
Definition at line 47 of file kiway_holder.h.
References m_type.
Referenced by DIALOG_SHIM::DIALOG_SHIM(), EDA_3D_CONTROLLER::Main(), and PANEL_PREVIEW_3D_MODEL::onModify().
|
inlineinherited |
Definition at line 130 of file dialog_shim.h.
References m_units.
Referenced by DIALOG_FP_EDIT_PAD_TABLE::DIALOG_FP_EDIT_PAD_TABLE(), DIALOG_PIN_PROPERTIES::DIALOG_PIN_PROPERTIES(), DIALOG_DRC::OnSaveReport(), DIALOG_KICAD_DIFF::showChange(), DIALOG_MICROVIA_STACK::TransferDataFromWindow(), DIALOG_POSITION_RELATIVE::updateAnchorInfo(), DIALOG_MOVE_EXACT::updateDialogControls(), DIALOG_OFFSET_ITEM::updateDialogControls(), and DIALOG_POSITION_RELATIVE::updateDialogControls().
|
inlineinherited |
Safety check before asking for the Kiway reference.
Definition at line 64 of file kiway_holder.h.
References m_kiway.
Referenced by KIGIT::ClearSyncWarnings(), DIALOG_SHIM::DIALOG_SHIM(), and DIALOG_SHIM::~DIALOG_SHIM().
|
protectedinherited |
Convert an integer number of dialog units to pixels, horizontally.
See SetSizeInDU or wxDialog documentation for more information.
Definition at line 428 of file dialog_shim.cpp.
|
inlinestaticinherited |
Definition at line 139 of file dialog_shim.h.
|
inlineinherited |
Definition at line 105 of file dialog_shim.h.
References m_qmodal_showing.
Referenced by EndDialogShim(), EndQuasiModal(), OnButton(), DIALOG_EDIT_SYMBOLS_LIBID::onCancel(), DIALOG_BOOK_REPORTER::OnClose(), DIALOG_ERC::OnCloseErcDialog(), OnCloseWindow(), and ~DIALOG_SHIM().
|
inlinestaticinherited |
Definition at line 145 of file dialog_shim.h.
|
inlineinherited |
Return a reference to the KIWAY that this object has an opportunity to participate in.
A KIWAY_HOLDER is not necessarily a KIWAY_PLAYER.
Definition at line 54 of file kiway_holder.h.
References m_kiway.
Referenced by PROJECT_TREE_ITEM::Activate(), FOOTPRINT_VIEWER_FRAME::AddFootprintToPCB(), IMPORT_PROJ_HELPER::addLocalLibraries(), SYMBOL_EDITOR_CONTROL::AddSymbolToSchematic(), CVPCB_MAINFRAME::BuildLibrariesList(), EDA_BASE_FRAME::CheckForAutosaveFiles(), KICAD_MANAGER_FRAME::CloseProject(), EDA_BASE_FRAME::CommonSettingsChanged(), SCH_INSPECTION_TOOL::CompareSchematicWithHistory(), KIWAY_PLAYER::Destroy(), DIALOG_IMPORT_SYMBOL_SELECT::DIALOG_IMPORT_SYMBOL_SELECT(), DIALOG_LIST_HOTKEYS::DIALOG_LIST_HOTKEYS(), DIALOG_RESCUE_EACH::DIALOG_RESCUE_EACH(), DIALOG_SHIM::DIALOG_SHIM(), EDA_BASE_FRAME::doAutoSave(), KICAD_MANAGER_FRAME::doReCreateMenuBar(), BOARD_EDITOR_CONTROL::EditFpInFpEditor(), SCH_EDITOR_CONTROL::EditWithSymbolEditor(), DIALOG_CHANGE_SYMBOLS::launchMatchIdSymbolBrowser(), DIALOG_CHANGE_SYMBOLS::launchNewIdSymbolBrowser(), KICAD_MANAGER_FRAME::LoadProject(), PGM_SINGLE_TOP::MacOpenFile(), SIMULATOR_FRAME::onExit(), KICAD_MANAGER_FRAME::OnIdle(), EDA_BASE_FRAME::OnLanguageSelectionEvent(), KIGFX::WX_VIEW_CONTROLS::onMotion(), DIALOG_SYMBOL_REMAP::OnRemapSymbols(), DIALOG_FIELD_PROPERTIES::OnTextValueSelectButtonClick(), DIALOG_GIT_MR_REVIEW::openFileDiff(), PCB_DESIGN_BLOCK_PREVIEW_WIDGET::PCB_DESIGN_BLOCK_PREVIEW_WIDGET(), KICAD_MANAGER_FRAME::PreloadAllLibraries(), PrepareEditorsForGitOperation(), Prj(), KICAD_MANAGER_FRAME::ProjectChanged(), ProjectSafeToRewrite(), KICAD_MANAGER_FRAME::RestoreCommitFromHistory(), KICAD_MANAGER_FRAME::RestoreLocalHistory(), MERGETOOL_FRAME::RunMerge(), SCH_INSPECTION_TOOL::RunSimulation(), CVPCB_MAINFRAME::SaveFootprintAssociation(), SelectFootprintFromChooser(), CVPCB_MAINFRAME::SendComponentSelectionToSch(), sendHighlightNets(), showCalculatorPage(), BOARD_EDITOR_CONTROL::ShowEeschema(), CVPCB_CONTROL::ShowFootprintViewer(), showFrame(), EDA_BASE_FRAME::ShowPreferences(), SCH_EDITOR_CONTROL::SimProbe(), SCH_EDITOR_CONTROL::SimTune(), KICAD_MANAGER_FRAME::UnarchiveFiles(), DIALOG_EXCHANGE_FOOTPRINTS::ViewAndSelectFootprint(), and DIALOG_SHIM::~DIALOG_SHIM().
|
private |
Definition at line 1143 of file dialog_database_lib_settings.cpp.
References columnsFor(), currentLibrary(), empty(), FIELD_COL_COLUMN, From_UTF8(), DIALOG_DATABASE_LIB_SETTINGS_BASE::m_fieldsGrid, m_loading, m_roles, DATABASE_LIB_TABLE::table, updateAutofillStyle(), updateColumnWarnings(), and updateTableWarning().
Referenced by autofillColumns(), loadLibrary(), OnDataLabelRightClick(), OnTableChanged(), refreshTables(), and validateLibraries().
|
inherited |
Load persisted control values from the current project's local settings.
Controls may opt out by setting the boolean window property "persist" to false. Dialog geometry is stored under the special key "__geometry".
Definition at line 851 of file dialog_shim.cpp.
References UNIT_BINDER::ChangeValue(), COMMON_SETTINGS::CsInternals(), generateKey(), PGM_BASE::GetCommonSettings(), getDialogKeyFromTitle(), grid, index, isCompoundDateTimePicker(), COMMON_SETTINGS_INTERNALS::m_dialogControlValues, m_hash_key, m_unitBinders, Pgm(), UNIT_BINDER::RestoreFormula(), UNIT_BINDER::RestoreValue(), PROPERTY_HOLDER::SafeCast(), and text.
Referenced by onInitDialog().
|
private |
Definition at line 1665 of file dialog_database_lib_settings.cpp.
References currentLibrary(), end, From_UTF8(), DIALOG_DATABASE_LIB_SETTINGS_BASE::m_dataGrid, m_loading, m_sampleColumns, m_sampleRows, m_sampleTable, DATABASE_LIB_TABLE::table, and updateDataLabels().
Referenced by connect(), ensureSample(), loadLibrary(), onConnectFinished(), and validateLibraries().
|
private |
Fills the data source list from the ODBC driver manager, keeping what is typed.
Definition at line 769 of file dialog_database_lib_settings.cpp.
References From_UTF8(), DATABASE_CONNECTION::ListDataSourceDetails(), DIALOG_DATABASE_LIB_SETTINGS_BASE::m_cbDSN, m_dataSources, m_loading, source, and updateDsnDriver().
Referenced by OnManageDataSources(), and TransferDataToWindow().
|
private |
Definition at line 1488 of file dialog_database_lib_settings.cpp.
References DATABASE_FIELD_MAPPING::column, currentLibrary(), FIELD_COL_COLUMN, FIELD_COL_INHERIT, FIELD_COL_NAME, FIELD_COL_SHOW_NAME, FIELD_COL_VISIBLE_IN_CHOOSER, FIELD_COL_VISIBLE_ON_ADD, DATABASE_LIB_TABLE::fields, From_UTF8(), DATABASE_FIELD_MAPPING::inherit_properties, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_fieldsGrid, DATABASE_FIELD_MAPPING::name, DATABASE_FIELD_MAPPING::show_name, DATABASE_FIELD_MAPPING::visible_in_chooser, and DATABASE_FIELD_MAPPING::visible_on_add.
Referenced by autofillColumns(), loadLibrary(), OnAddUnmappedColumns(), and OnDataLabelRightClick().
|
private |
Definition at line 1103 of file dialog_database_lib_settings.cpp.
References currentLibrary(), From_UTF8(), loadColumnChoices(), loadDataGrid(), loadFields(), m_autoFields, m_autoRoles, m_autoTable, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_btnAddField, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_btnAddUnmapped, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_btnDuplicateLibrary, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_btnMoveFieldDown, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_btnMoveFieldUp, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_btnMoveLibraryDown, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_btnMoveLibraryUp, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_btnRemoveField, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_btnRemoveLibrary, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_cbTable, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_fieldsGrid, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_librariesPage, m_loading, m_roles, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_txtLibName, m_userRoles, markDirty(), DATABASE_LIB_TABLE::name, relayoutPage(), and DATABASE_LIB_TABLE::table.
Referenced by OnAddLibrary(), OnDuplicateLibrary(), OnLibrarySelected(), OnRemoveLibrary(), TransferDataToWindow(), and validateLibraries().
|
private |
Definition at line 1074 of file dialog_database_lib_settings.cpp.
References displayName(), m_currentLibrary, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_libList, m_settings, table, and updateLibraryListHints().
Referenced by moveLibrary(), OnAddLibrary(), OnDuplicateLibrary(), OnRemoveLibrary(), TransferDataToWindow(), and validateLibraries().
|
inlineinherited |
Definition at line 151 of file dialog_database_lib_settings_base.h.
References m_splitter, and m_splitterOnIdle().
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), and m_splitterOnIdle().
|
private |
Restarts the debounce before the preview is rebuilt.
Definition at line 1929 of file dialog_database_lib_settings.cpp.
References m_previewDebounce.
Referenced by connect(), loadLibrary(), OnAddUnmappedColumns(), onConnectFinished(), OnDataLabelRightClick(), OnFieldCellChanged(), OnLibraryChanged(), OnRemoveField(), OnSettingChanged(), OnSourceChanged(), OnTableChanged(), OnTestConnection(), and swapFields().
|
private |
Records that the user chose aValue for aRole, so autofill leaves it alone.
Definition at line 1176 of file dialog_database_lib_settings.cpp.
References DIALOG_DATABASE_LIB_SETTINGS::COLUMN_ROLE::autofillId, DIALOG_DATABASE_LIB_SETTINGS::COLUMN_ROLE::combo, m_autoRoles, m_newChoices, and m_userRoles.
Referenced by OnDataLabelRightClick(), and OnLibraryChanged().
|
private |
Definition at line 1266 of file dialog_database_lib_settings.cpp.
References loadLibraryList(), m_currentLibrary, m_settings, and storeLibrary().
Referenced by OnMoveLibraryDown(), and OnMoveLibraryUp().
|
privateinherited |
Definition at line 1703 of file dialog_shim.cpp.
References DIALOG_SHIM(), forceInitialFocus(), KIPLATFORM::UI::IsWindowActive(), and m_firstPaintEvent.
|
overrideprotectedvirtual |
Reimplemented from DIALOG_DATABASE_LIB_SETTINGS_BASE.
Definition at line 1565 of file dialog_database_lib_settings.cpp.
References currentLibrary(), FIELD_COL_COLUMN, DATABASE_LIB_TABLE::fields, and DIALOG_DATABASE_LIB_SETTINGS_BASE::m_fieldsGrid.
|
overrideprotectedvirtual |
Reimplemented from DIALOG_DATABASE_LIB_SETTINGS_BASE.
Definition at line 1238 of file dialog_database_lib_settings.cpp.
References loadLibrary(), loadLibraryList(), m_currentLibrary, m_flagMissing, m_settings, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_txtLibName, and storeLibrary().
|
overrideprotectedvirtual |
Reimplemented from DIALOG_DATABASE_LIB_SETTINGS_BASE.
Definition at line 1621 of file dialog_database_lib_settings.cpp.
References DATABASE_FIELD_MAPPING::column, columnsFor(), currentLibrary(), DATABASE_LIB_TABLE::fields, loadFields(), DIALOG_DATABASE_LIB_SETTINGS_BASE::m_fieldsGrid, m_roles, markDirty(), DATABASE_LIB_TABLE::table, and updateDataLabels().
|
privateinherited |
Properly handle the default button events when in the quasimodal mode when not calling EndQuasiModal which is possible with any dialog derived from DIALOG_SHIM.
Definition at line 1905 of file dialog_shim.cpp.
References EndQuasiModal(), ignore_unused(), and IsQuasiModal().
Referenced by DIALOG_SHIM(), and ~DIALOG_SHIM().
|
private |
Definition at line 724 of file dialog_database_lib_settings.cpp.
References confirmClose(), and DISCARD.
|
protectedvirtualinherited |
Reimplemented in DIALOG_DRC, DIALOG_ERC, DIALOG_FIND, DIALOG_FP_EDIT_PAD_TABLE, DIALOG_SCH_FIND, HK_PROMPT_DIALOG, HTML_MESSAGE_BOX, and RULE_EDITOR_DIALOG_BASE.
Definition at line 1957 of file dialog_shim.cpp.
References delta, doRedo(), doUndo(), m_beforeEditValues, m_parentFrame, m_tabOrder, MD_ALT, MD_CTRL, and MD_SHIFT.
Referenced by DIALOG_TABLECELL_PROPERTIES::DIALOG_TABLECELL_PROPERTIES(), DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES(), DIALOG_TEXTBOX_PROPERTIES::DIALOG_TEXTBOX_PROPERTIES(), DIALOG_DRC::OnCharHook(), DIALOG_ERC::OnCharHook(), DIALOG_FIND::OnCharHook(), DIALOG_FP_EDIT_PAD_TABLE::OnCharHook(), DIALOG_SCH_FIND::OnCharHook(), RULE_EDITOR_DIALOG_BASE::OnCharHook(), and DIALOG_TEXTBOX_PROPERTIES::~DIALOG_TEXTBOX_PROPERTIES().
|
privateinherited |
Definition at line 1941 of file dialog_shim.cpp.
References m_beforeEditValues, and m_isClosing.
Referenced by SelectAllInTextCtrls(), and ~DIALOG_SHIM().
|
privateinherited |
Properly handle the wxCloseEvent when in the quasimodal mode when not calling EndQuasiModal which is possible with any dialog derived from DIALOG_SHIM.
Definition at line 1887 of file dialog_shim.cpp.
References APP_MONITOR::AddNavigationBreadcrumb(), EndQuasiModal(), IsQuasiModal(), and SaveControlState().
Referenced by DIALOG_SHIM(), and ~DIALOG_SHIM().
|
private |
Definition at line 731 of file dialog_database_lib_settings.cpp.
References confirmClose(), DISCARD, and DIALOG_SHIM::EndDialogShim().
|
privateinherited |
Definition at line 1362 of file dialog_shim.cpp.
References m_handlingUndoRedo, and recordControlChange().
Referenced by registerUndoRedoHandlers(), and ~DIALOG_SHIM().
|
private |
Definition at line 990 of file dialog_database_lib_settings.cpp.
References _, autofillTable(), describeFailure(), From_UTF8(), loadDataGrid(), DIALOG_DATABASE_LIB_SETTINGS_BASE::m_btnTest, m_conn, m_connectJob, m_settings, m_tables, markDirty(), refreshTables(), and setConnectionStatus().
|
overrideprotectedvirtual |
Reimplemented from DIALOG_DATABASE_LIB_SETTINGS_BASE.
Definition at line 1859 of file dialog_database_lib_settings.cpp.
References currentLibrary(), m_loading, m_preview, m_sampleRows, m_settings, and SCH_IO_DATABASE::SymbolNameForRow().
|
overrideprotectedvirtual |
Reimplemented from DIALOG_DATABASE_LIB_SETTINGS_BASE.
Definition at line 1793 of file dialog_database_lib_settings.cpp.
References _, currentLibrary(), fieldForColumn(), DATABASE_LIB_TABLE::fields, loadColumnChoices(), loadFields(), DIALOG_DATABASE_LIB_SETTINGS_BASE::m_fieldsGrid, m_roles, m_sampleColumns, m_sampleTable, markDirty(), markUserRole(), DATABASE_LIB_TABLE::table, updateDataLabels(), and DIALOG_DATABASE_LIB_SETTINGS::COLUMN_ROLE::value.
|
privateinherited |
Definition at line 1414 of file dialog_shim.cpp.
References m_handlingUndoRedo, and recordControlChange().
Referenced by registerUndoRedoHandlers(), and ~DIALOG_SHIM().
|
overrideprotectedvirtual |
Reimplemented from DIALOG_DATABASE_LIB_SETTINGS_BASE.
Definition at line 1250 of file dialog_database_lib_settings.cpp.
References copy, currentLibrary(), loadLibrary(), loadLibraryList(), m_currentLibrary, m_settings, and storeLibrary().
|
overrideprotectedvirtual |
Reimplemented from DIALOG_DATABASE_LIB_SETTINGS_BASE.
Definition at line 1523 of file dialog_database_lib_settings.cpp.
References autofillFields(), DATABASE_FIELD_MAPPING::column, currentLibrary(), FIELD_COL_COLUMN, FIELD_COL_INHERIT, FIELD_COL_NAME, FIELD_COL_SHOW_NAME, FIELD_COL_VISIBLE_IN_CHOOSER, FIELD_COL_VISIBLE_ON_ADD, fieldChoiceId(), DATABASE_LIB_TABLE::fields, DATABASE_FIELD_MAPPING::inherit_properties, m_autoFields, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_fieldsGrid, m_newChoices, markDirty(), DATABASE_FIELD_MAPPING::name, DATABASE_FIELD_MAPPING::SetName(), DATABASE_FIELD_MAPPING::show_name, TO_UTF8, updateDataLabels(), DATABASE_FIELD_MAPPING::visible_in_chooser, and DATABASE_FIELD_MAPPING::visible_on_add.
|
privateinherited |
Definition at line 1398 of file dialog_shim.cpp.
References m_handlingUndoRedo, and recordControlChange().
Referenced by registerUndoRedoHandlers(), and ~DIALOG_SHIM().
|
privateinherited |
Definition at line 343 of file dialog_shim.cpp.
References LoadControlState().
Referenced by DIALOG_SHIM(), and ~DIALOG_SHIM().
|
overrideprotectedvirtual |
Reimplemented from DIALOG_DATABASE_LIB_SETTINGS_BASE.
Definition at line 871 of file dialog_database_lib_settings.cpp.
References DIALOG_DATABASE_LIB_SETTINGS_BASE::m_choiceDriver, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_txtConnectionString, and text.
|
overrideprotectedvirtual |
Reimplemented from DIALOG_DATABASE_LIB_SETTINGS_BASE.
Definition at line 1308 of file dialog_database_lib_settings.cpp.
References autofillTable(), currentLibrary(), displayName(), m_currentLibrary, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_libList, m_loading, m_roles, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_txtLibName, markDirty(), markUserRole(), storeLibrary(), TO_UTF8, updateAutofillStyle(), updateColumnWarnings(), updateDataLabels(), and updateTableWarning().
|
overrideprotectedvirtual |
Reimplemented from DIALOG_DATABASE_LIB_SETTINGS_BASE.
Definition at line 1227 of file dialog_database_lib_settings.cpp.
References loadLibrary(), m_currentLibrary, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_fieldsGrid, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_libList, and storeLibrary().
|
overrideprotectedvirtual |
Reimplemented from DIALOG_DATABASE_LIB_SETTINGS_BASE.
Definition at line 811 of file dialog_database_lib_settings.cpp.
References loadDataSources().
|
inherited |
Definition at line 1728 of file dialog_shim.cpp.
Referenced by DIALOG_LIB_SYMBOL_PROPERTIES::assignFootprintToField(), DIALOG_LIB_SYMBOL_PROPERTIES::OnAddBodyStyle(), DIALOG_FIELDS_TABLE::OnAddField(), DIALOG_FOOTPRINT_PROPERTIES::OnAddField(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::OnAddField(), DIALOG_LIB_SYMBOL_PROPERTIES::OnAddField(), DIALOG_SYMBOL_PROPERTIES::OnAddField(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::onAddGroup(), DIALOG_LIB_SYMBOL_PROPERTIES::OnAddJumperGroup(), DIALOG_LIB_SYMBOL_PROPERTIES::OnBodyStyleMoveDown(), DIALOG_LIB_SYMBOL_PROPERTIES::OnBodyStyleMoveUp(), DIALOG_FOOTPRINT_PROPERTIES::OnCheckBox(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::OnCheckBox(), DIALOG_LIB_SYMBOL_PROPERTIES::OnCheckBox(), DIALOG_SYMBOL_PROPERTIES::OnCheckBox(), DIALOG_FOOTPRINT_PROPERTIES::OnChoice(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::OnChoice(), DIALOG_FOOTPRINT_PROPERTIES::OnCombobox(), DIALOG_LIB_SYMBOL_PROPERTIES::OnCombobox(), DIALOG_PAD_PROPERTIES::onCornerRadiusChange(), DIALOG_PAD_PROPERTIES::onCornerSizePercentChange(), DIALOG_LIB_SYMBOL_PROPERTIES::OnDeleteBodyStyle(), DIALOG_FOOTPRINT_PROPERTIES::OnDeleteField(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::OnDeleteField(), DIALOG_LIB_SYMBOL_PROPERTIES::OnDeleteField(), DIALOG_SYMBOL_PROPERTIES::OnDeleteField(), DIALOG_PAD_PROPERTIES::OnDrillShapeSelected(), DIALOG_LIB_SYMBOL_PROPERTIES::OnEditSpiceModel(), DIALOG_SYMBOL_PROPERTIES::OnEditSpiceModel(), DIALOG_LIB_SYMBOL_PROPERTIES::OnGridCellChanged(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::onLayerGridRowAddUserLayer(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::onLayerGridRowDelete(), DIALOG_PAD_PROPERTIES::onModify(), DIALOG_PAD_PROPERTIES::onModify(), DIALOG_LIB_SYMBOL_PROPERTIES::OnMoveDown(), DIALOG_SYMBOL_PROPERTIES::OnMoveDown(), DIALOG_LIB_SYMBOL_PROPERTIES::OnMoveUp(), DIALOG_SYMBOL_PROPERTIES::OnMoveUp(), DIALOG_PAD_PROPERTIES::onPadShapeSelection(), DIALOG_SYMBOL_PROPERTIES::OnPinTableCellEdited(), DIALOG_LIB_SYMBOL_PROPERTIES::onPowerCheckBox(), DIALOG_FIELDS_TABLE::OnRemoveField(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::onRemoveGroup(), DIALOG_LIB_SYMBOL_PROPERTIES::OnRemoveJumperGroup(), DIALOG_FIELDS_TABLE::OnRenameField(), DIALOG_PAD_PROPERTIES::OnSetCopperLayers(), DIALOG_PAD_PROPERTIES::OnSetLayers(), DIALOG_LIB_SYMBOL_PROPERTIES::OnSymbolNameText(), DIALOG_FOOTPRINT_PROPERTIES::OnText(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::OnText(), DIALOG_LIB_SYMBOL_PROPERTIES::OnText(), DIALOG_BARCODE_PROPERTIES::OnTextValueChanged(), DIALOG_SYMBOL_PROPERTIES::OnUnitChoice(), DIALOG_LIB_SYMBOL_PROPERTIES::OnUnitSpinCtrl(), DIALOG_LIB_SYMBOL_PROPERTIES::OnUnitSpinCtrlEnter(), DIALOG_LIB_SYMBOL_PROPERTIES::OnUnitSpinCtrlKillFocus(), DIALOG_BARCODE_PROPERTIES::OnValuesChanged(), DIALOG_PAD_PROPERTIES::OnValuesChanged(), DIALOG_FIELDS_TABLE::OnViewControlsCellChanged(), DIALOG_PAD_PROPERTIES::PadOrientEvent(), DIALOG_PAD_PROPERTIES::PadTypeSelected(), and DIALOG_FIELDS_TABLE::ShowHideColumn().
|
privateinherited |
Definition at line 633 of file dialog_shim.cpp.
References m_childReleased, m_userPositioned, KIPLATFORM::UI::ReleaseChildWindow(), and KIPLATFORM::UI::ReparentModal().
Referenced by DIALOG_SHIM(), and ~DIALOG_SHIM().
|
overrideprotectedvirtual |
Reimplemented from DIALOG_DATABASE_LIB_SETTINGS_BASE.
Definition at line 1589 of file dialog_database_lib_settings.cpp.
References currentLibrary(), DIALOG_DATABASE_LIB_SETTINGS_BASE::m_fieldsGrid, and swapFields().
|
overrideprotectedvirtual |
Reimplemented from DIALOG_DATABASE_LIB_SETTINGS_BASE.
Definition at line 1582 of file dialog_database_lib_settings.cpp.
References currentLibrary(), DIALOG_DATABASE_LIB_SETTINGS_BASE::m_fieldsGrid, and swapFields().
|
overrideprotectedvirtual |
Reimplemented from DIALOG_DATABASE_LIB_SETTINGS_BASE.
Definition at line 1290 of file dialog_database_lib_settings.cpp.
References moveLibrary().
|
overrideprotectedvirtual |
Reimplemented from DIALOG_DATABASE_LIB_SETTINGS_BASE.
Definition at line 1284 of file dialog_database_lib_settings.cpp.
References moveLibrary().
|
inherited |
Definition at line 1670 of file dialog_shim.cpp.
References KIPLATFORM::UI::FixupCancelButtonCmdKeyCollision(), forceInitialFocus(), m_firstPaintEvent, registerUndoRedoHandlers(), and SelectAllInTextCtrls().
Referenced by DIALOG_SHIM(), and ~DIALOG_SHIM().
|
privateinherited |
Definition at line 1406 of file dialog_shim.cpp.
References m_handlingUndoRedo, and recordControlChange().
Referenced by registerUndoRedoHandlers(), and ~DIALOG_SHIM().
|
overrideprotectedvirtual |
Reimplemented from DIALOG_DATABASE_LIB_SETTINGS_BASE.
Definition at line 1604 of file dialog_database_lib_settings.cpp.
References currentLibrary(), DIALOG_DATABASE_LIB_SETTINGS_BASE::m_fieldsGrid, markDirty(), and updateDataLabels().
|
overrideprotectedvirtual |
Reimplemented from DIALOG_DATABASE_LIB_SETTINGS_BASE.
Definition at line 1296 of file dialog_database_lib_settings.cpp.
References currentLibrary(), loadLibrary(), loadLibraryList(), m_currentLibrary, and m_settings.
|
overrideprotectedvirtual |
Reimplemented from DIALOG_DATABASE_LIB_SETTINGS_BASE.
Definition at line 747 of file dialog_database_lib_settings.cpp.
References DIALOG_DATABASE_LIB_SETTINGS_BASE::m_cbGloballyUniqueKeys, m_loading, m_settings, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_spinCacheAge, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_spinCacheSize, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_txtDescription, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_txtName, markDirty(), TO_UTF8, and updateSymbolExample().
Referenced by OnSettingSpinChanged().
|
overrideprotectedvirtual |
Reimplemented from DIALOG_DATABASE_LIB_SETTINGS_BASE.
Definition at line 763 of file dialog_database_lib_settings.cpp.
References OnSettingChanged().
|
privateinherited |
Definition at line 626 of file dialog_shim.cpp.
References m_userResized.
Referenced by DIALOG_SHIM(), and ~DIALOG_SHIM().
|
overrideprotectedvirtual |
Reimplemented from DIALOG_DATABASE_LIB_SETTINGS_BASE.
Definition at line 850 of file dialog_database_lib_settings.cpp.
References _, cancelConnect(), m_loading, markDirty(), setConnectionStatus(), storeSource(), and updateDsnDriver().
Referenced by OnSourceSpinChanged(), and OnSourceTypeChanged().
|
overrideprotectedvirtual |
Reimplemented from DIALOG_DATABASE_LIB_SETTINGS_BASE.
Definition at line 865 of file dialog_database_lib_settings.cpp.
References OnSourceChanged().
|
overrideprotectedvirtual |
Reimplemented from DIALOG_DATABASE_LIB_SETTINGS_BASE.
Definition at line 843 of file dialog_database_lib_settings.cpp.
References OnSourceChanged(), and updateSourceControls().
|
privateinherited |
Definition at line 1380 of file dialog_shim.cpp.
References m_handlingUndoRedo, and recordControlChange().
Referenced by registerUndoRedoHandlers(), and ~DIALOG_SHIM().
|
privateinherited |
Definition at line 1371 of file dialog_shim.cpp.
References m_handlingUndoRedo, and recordControlChange().
Referenced by registerUndoRedoHandlers(), and ~DIALOG_SHIM().
|
protected |
Definition at line 1882 of file dialog_database_lib_settings.cpp.
References DIALOG_DATABASE_LIB_SETTINGS_BASE::m_connectionPage, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_editPanel, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_librariesPage, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_splitter, minSize, onSplitterIdle(), and PREVIEW_MIN_WIDTH_DIP.
Referenced by onSplitterIdle().
|
privateinherited |
Definition at line 1389 of file dialog_shim.cpp.
References m_handlingUndoRedo, and recordControlChange().
Referenced by registerUndoRedoHandlers(), and ~DIALOG_SHIM().
|
overrideprotectedvirtual |
Reimplemented from DIALOG_DATABASE_LIB_SETTINGS_BASE.
Definition at line 1337 of file dialog_database_lib_settings.cpp.
References autofillColumns(), alg::contains(), currentLibrary(), loadColumnChoices(), m_autoTable, m_loading, m_tables, markDirty(), storeLibrary(), DATABASE_LIB_TABLE::table, updateColumnWarnings(), and updateTableWarning().
|
overrideprotectedvirtual |
Reimplemented from DIALOG_DATABASE_LIB_SETTINGS_BASE.
Definition at line 884 of file dialog_database_lib_settings.cpp.
References _, cancelConnect(), connect(), m_connectJob, markDirty(), refreshTables(), setConnectionStatus(), and storeSource().
|
inherited |
Opt out of control state saving.
| aWindow | can be either a specific control, or the whole dialog |
Definition at line 1103 of file dialog_shim.cpp.
References COMMON_SETTINGS::CsInternals(), PGM_BASE::GetCommonSettings(), getDialogKeyFromTitle(), COMMON_SETTINGS_INTERNALS::m_dialogControlValues, m_hash_key, Pgm(), and PROPERTY_HOLDER::SetProperty().
Referenced by DIALOG_CONVERT_IMAGE_TO_OUTLINES::DIALOG_CONVERT_IMAGE_TO_OUTLINES(), DIALOG_EXPORT_3D_IMAGE::DIALOG_EXPORT_3D_IMAGE(), DIALOG_EXPORT_STEP::DIALOG_EXPORT_STEP(), DIALOG_FIELDS_TABLE::DIALOG_FIELDS_TABLE(), DIALOG_FIND::DIALOG_FIND(), DIALOG_FOOTPRINT_FIELDS_TABLE::DIALOG_FOOTPRINT_FIELDS_TABLE(), DIALOG_FOOTPRINT_WIZARD_LIST::DIALOG_FOOTPRINT_WIZARD_LIST(), DIALOG_GIT_CREDENTIALS::DIALOG_GIT_CREDENTIALS(), DIALOG_GIT_IDENTITY::DIALOG_GIT_IDENTITY(), DIALOG_GIT_NEW_TAG::DIALOG_GIT_NEW_TAG(), DIALOG_GIT_REMOTE::DIALOG_GIT_REMOTE(), DIALOG_GIT_REPOSITORY::DIALOG_GIT_REPOSITORY(), DIALOG_GLOBAL_DELETION::DIALOG_GLOBAL_DELETION(), DIALOG_GRID_SETTINGS::DIALOG_GRID_SETTINGS(), DIALOG_GROUP_PROPERTIES::DIALOG_GROUP_PROPERTIES(), DIALOG_JOBSET_RUN_LOG::DIALOG_JOBSET_RUN_LOG(), DIALOG_KICAD_DIFF::DIALOG_KICAD_DIFF(), DIALOG_KICAD_MERGE_3WAY::DIALOG_KICAD_MERGE_3WAY(), DIALOG_LIB_EDIT_PIN_TABLE::DIALOG_LIB_EDIT_PIN_TABLE(), DIALOG_LIB_FIELDS_TABLE::DIALOG_LIB_FIELDS_TABLE(), DIALOG_LIB_FOOTPRINT_FIELDS_TABLE::DIALOG_LIB_FOOTPRINT_FIELDS_TABLE(), DIALOG_MIGRATE_BUSES::DIALOG_MIGRATE_BUSES(), DIALOG_SCH_FIND::DIALOG_SCH_FIND(), DIALOG_SIM_FORMAT_VALUE::DIALOG_SIM_FORMAT_VALUE(), DIALOG_SYMBOL_FIELDS_TABLE::DIALOG_SYMBOL_FIELDS_TABLE(), EDA_LIST_DIALOG::EDA_LIST_DIALOG(), EDA_LIST_DIALOG::EDA_LIST_DIALOG(), EDA_LIST_DIALOG::initDialog(), GIT_ADVANCED_DIALOG::optOutOfTextPersistence(), SAVE_AS_DIALOG::SAVE_AS_DIALOG(), DIALOG_EXPORT_IDF3::setupDialog(), WX_PT_ENTRY_DIALOG::WX_PT_ENTRY_DIALOG(), and WX_TEXT_ENTRY_DIALOG::WX_TEXT_ENTRY_DIALOG().
|
inherited |
Definition at line 1822 of file dialog_shim.cpp.
References m_qmodal_parent_disabler.
|
private |
Definition at line 2054 of file dialog_database_lib_settings.cpp.
References m_previewIssues.
Referenced by updateColumnWarnings().
|
inherited |
Return a reference to the PROJECT associated with this KIWAY.
Definition at line 32 of file kiway_holder.cpp.
References Kiway(), and KIWAY::Prj().
Referenced by DESIGN_BLOCK_TREE_MODEL_ADAPTER::AddLibraries(), FP_TREE_MODEL_ADAPTER::AddLibraries(), SYMBOL_TREE_MODEL_ADAPTER::AddLibraries(), AskSaveBoardFileName(), DIALOG_MIGRATE_3D_MODELS::AutoMigrateByFilename(), DIALOG_SYMBOL_REMAP::backupProject(), CVPCB_MAINFRAME::buildEquivalenceList(), CVPCB_MAINFRAME::BuildLibrariesList(), PCB_BASE_FRAME::canCloseWindow(), SIMULATOR_FRAME::canCloseWindow(), KIGIT::ClearSyncWarnings(), KICAD_MANAGER_FRAME::CloseProject(), DIALOG_MIGRATE_3D_MODELS::collectMissingWrlModels(), EDA_BASE_FRAME::CommonSettingsChanged(), SCH_INSPECTION_TOOL::CompareSchematicWithFile(), SCH_INSPECTION_TOOL::CompareSchematicWithHistory(), DIALOG_GEN_FOOTPRINT_POSITION::CreateAsciiFiles(), DIALOG_LIB_FIELDS_TABLE::createDatasheetEditor(), DIALOG_SYMBOL_FIELDS_TABLE::createDatasheetEditor(), DIALOG_GEN_FOOTPRINT_POSITION::CreateGerberFiles(), PCB_BASE_FRAME::CreateNewFootprint(), DIALOG_SYMBOL_REMAP::createProjectSymbolLibTable(), DIALOG_ANNOTATE::DIALOG_ANNOTATE(), DIALOG_BOARD_REANNOTATE::DIALOG_BOARD_REANNOTATE(), DIALOG_BOARD_SETUP::DIALOG_BOARD_SETUP(), DIALOG_BOARD_STATISTICS::DIALOG_BOARD_STATISTICS(), DIALOG_CHANGE_SYMBOLS::DIALOG_CHANGE_SYMBOLS(), DIALOG_CONFIG_EQUFILES::DIALOG_CONFIG_EQUFILES(), DIALOG_DRC_RULE_EDITOR::DIALOG_DRC_RULE_EDITOR(), DIALOG_EXCHANGE_FOOTPRINTS::DIALOG_EXCHANGE_FOOTPRINTS(), DIALOG_FOOTPRINT_FIELDS_TABLE::DIALOG_FOOTPRINT_FIELDS_TABLE(), DIALOG_GEN_FOOTPRINT_POSITION::DIALOG_GEN_FOOTPRINT_POSITION(), DIALOG_IBIS_PARSER_REPORTER::DIALOG_IBIS_PARSER_REPORTER(), DIALOG_IMPORT_NETLIST::DIALOG_IMPORT_NETLIST(), DIALOG_LIB_FOOTPRINT_FIELDS_TABLE::DIALOG_LIB_FOOTPRINT_FIELDS_TABLE(), DIALOG_PAGES_SETTINGS::DIALOG_PAGES_SETTINGS(), DIALOG_PLOT::DIALOG_PLOT(), DIALOG_PLOT_SCHEMATIC::DIALOG_PLOT_SCHEMATIC(), DIALOG_SCHEMATIC_SETUP::DIALOG_SCHEMATIC_SETUP(), DIALOG_SIM_MODEL< T >::DIALOG_SIM_MODEL(), DIALOG_SYMBOL_FIELDS_TABLE::DIALOG_SYMBOL_FIELDS_TABLE(), DIALOG_SYMBOL_REMAP::DIALOG_SYMBOL_REMAP(), DIALOG_UPDATE_FROM_PCB::DIALOG_UPDATE_FROM_PCB(), DIALOG_UPDATE_PCB::DIALOG_UPDATE_PCB(), FOOTPRINT_PREVIEW_PANEL::DisplayFootprint(), CVPCB_MAINFRAME::DisplayStatus(), EDA_BASE_FRAME::doAutoSave(), KICAD_MANAGER_FRAME::doReCreateMenuBar(), DIALOG_GENDRILL::genDrillAndMapFiles(), DIALOG_TABLE_PROPERTIES::getContextualTextVars(), DIALOG_TABLECELL_PROPERTIES::getContextualTextVars(), DIALOG_TEXT_PROPERTIES::getContextualTextVars(), EDA_3D_VIEWER_FRAME::getExportFileName(), PCB_BASE_FRAME::GetLibraryItemsForListDialog(), SCH_BASE_FRAME::GetLibraryItemsForListDialog(), DIALOG_SYMBOL_REMAP::getLibsNotInGlobalSymbolLibTable(), SCH_BASE_FRAME::GetLibSymbol(), DIALOG_PLOT_SCHEMATIC::getOutputPath(), KICAD_MANAGER_FRAME::GetProjectFileName(), FIELDS_GRID_TABLE::initGrid(), CVPCB_MAINFRAME::LoadFootprintFiles(), DIALOG_LIB_FOOTPRINT_FIELDS_TABLE::loadFootprints(), KICAD_MANAGER_FRAME::LoadProject(), SIMULATOR_FRAME::LoadSettings(), SIMULATOR_FRAME::LoadSimulator(), EDA_BASE_FRAME::LoadWindowState(), EDA_3D_VIEWER_FRAME::NewDisplay(), DIALOG_SIM_MODEL< T >::onBrowseButtonClick(), DIALOG_EXPORT_2581::onBrowseClicked(), DIALOG_EXPORT_ODBPP::onBrowseClicked(), DIALOG_EXPORT_STEP::onBrowseClicked(), DIALOG_GENCAD_EXPORT_OPTIONS::onBrowseClicked(), DIALOG_REMOTE_SYMBOL_CONFIG::onBrowseDestination(), DIALOG_IMPORT_NETLIST::onBrowseNetlistFiles(), DIALOG_EDIT_SYMBOLS_LIBID::onClickOrphansButton(), KICAD_MANAGER_FRAME::OnCompareProjectBranches(), DIALOG_FIELDS_TABLE::OnExport(), DIALOG_EXPORT_STEP::onExportButton(), PCB_BASE_FRAME::OnFpChangeDebounceTimer(), DIALOG_GENDRILL::onGenReportFile(), KICAD_MANAGER_FRAME::OnIdle(), DIALOG_CONFIG_EQUFILES::OnOkClick(), KICAD_MANAGER_FRAME::OnOpenFileInTextEditor(), DIALOG_PLOT::onOpenOutputDirectory(), DIALOG_GEN_FOOTPRINT_POSITION::onOutputDirectoryBrowseClicked(), DIALOG_GENDRILL::onOutputDirectoryBrowseClicked(), DIALOG_PLOT::onOutputDirectoryBrowseClicked(), DIALOG_PLOT_SCHEMATIC::onOutputDirectoryBrowseClicked(), DIALOG_FIELDS_TABLE::OnOutputFileBrowseClicked(), DIALOG_DESTINATION::onOutputPathBrowseClicked(), DIALOG_BOARD_SETUP::onPageChanged(), DIALOG_SCHEMATIC_SETUP::onPageChanged(), DIALOG_SYMBOL_REMAP::OnRemapSymbols(), DIALOG_DRC::OnSaveReport(), DIALOG_ERC::OnSaveReport(), PANEL_FOOTPRINT_CHOOSER::PANEL_FOOTPRINT_CHOOSER(), PANEL_PREVIEW_3D_MODEL::PANEL_PREVIEW_3D_MODEL(), EDA_DRAW_FRAME::PrintDrawingSheet(), KICAD_MANAGER_FRAME::PrintPrjInfo(), KICAD_MANAGER_FRAME::ProjectChanged(), CVPCB_MAINFRAME::readNetListAndFpFiles(), EDA_DRAW_FRAME::RefreshGitCommitPane(), EDA_3D_VIEWER_FRAME::ReloadRequest(), SIMULATOR_FRAME::ReloadSimulator(), DIALOG_SYMBOL_REMAP::remapSymbolToLibTable(), DIALOG_LIB_FIELDS_TABLE::resolveTextVar(), DIALOG_LIB_FOOTPRINT_FIELDS_TABLE::resolveTextVar(), KICAD_MANAGER_FRAME::RestoreCommitFromHistory(), KICAD_MANAGER_FRAME::RestoreLocalHistory(), SAVE_AS_DIALOG::SAVE_AS_DIALOG(), KICAD_MANAGER_FRAME::SaveOpenJobSetsToLocalSettings(), DIALOG_BOARD_STATISTICS::saveReportClicked(), EDA_BASE_FRAME::SaveSettings(), SIMULATOR_FRAME::SaveSettings(), DIALOG_EXPORT_2581::saveToProject(), SCH_BASE_FRAME::SelectLibrary(), API_HANDLER_PCB::setDrawingSheetFileName(), PCB_BASE_FRAME::setFPWatcher(), GERBVIEW_FRAME::SetPageSettings(), SCH_BASE_FRAME::setSymWatcher(), BOARD_EDITOR_CONTROL::ShowEeschema(), PL_EDITOR_FRAME::SyncDataItem(), KICAD_MANAGER_FRAME::ToggleLocalHistory(), DIALOG_EDIT_SYMBOLS_LIBID::TransferDataFromWindow(), DIALOG_EXPORT_NETLIST::TransferDataFromWindow(), DIALOG_SIM_MODEL< T >::TransferDataFromWindow(), DIALOG_EXPORT_2581::TransferDataToWindow(), KICAD_MANAGER_FRAME::UnarchiveFiles(), DIALOG_PAGES_SETTINGS::UpdateDrawingSheetExample(), DIALOG_FIELD_PROPERTIES::UpdateField(), SIMULATOR_FRAME::UpdateTitle(), DIALOG_FOOTPRINT_PROPERTIES::~DIALOG_FOOTPRINT_PROPERTIES(), and EDA_3D_VIEWER_FRAME::~EDA_3D_VIEWER_FRAME().
|
privateinherited |
Tell the undo mechanism to snapshot the current value of a control and record it as an undo step when the value changes.
If you call this from an event handler that generates multiple change events, they will be coalesced into a single undo step.
Definition at line 1318 of file dialog_shim.cpp.
References flushPendingControlChanges(), and m_controlsWithPendingChanges.
Referenced by onCommandEvent(), onDataViewListChanged(), onGridCellChanged(), onPropertyGridChanged(), onSpinDoubleEvent(), onSpinEvent(), and onStyledTextChanged().
|
private |
Refreshes the table list and everything built on it after the connection changes.
Definition at line 1018 of file dialog_database_lib_settings.cpp.
References From_UTF8(), loadColumnChoices(), DIALOG_DATABASE_LIB_SETTINGS_BASE::m_cbTable, m_loading, m_tables, name, and table.
Referenced by connect(), onConnectFinished(), and OnTestConnection().
|
privateinherited |
Definition at line 1232 of file dialog_shim.cpp.
References getControlValue(), grid, isCompoundDateTimePicker(), m_currentValues, m_noControlUndoRedo, onCommandEvent(), onDataViewListChanged(), onGridCellChanged(), onPropertyGridChanged(), onSpinDoubleEvent(), onSpinEvent(), onStyledTextChanged(), and registerUndoRedoHandlers().
Referenced by OnPaint(), registerUndoRedoHandlers(), and resetUndoRedoForNewContent().
|
inherited |
Register a UNIT_BINDER so that it can handle units in control-state save/restore.
| aUnitBinder | |
| aWindow | the control window |
Definition at line 1137 of file dialog_shim.cpp.
References m_unitBinders.
|
inherited |
While we did this in LoadControlState(), we need to re-apply if after setting the dialog size.
Well, sometimes we need to re-apply it.
Definition at line 1046 of file dialog_shim.cpp.
References COMMON_SETTINGS::CsInternals(), generateKey(), PGM_BASE::GetCommonSettings(), getDialogKeyFromTitle(), COMMON_SETTINGS_INTERNALS::m_dialogControlValues, m_hash_key, Pgm(), and PROPERTY_HOLDER::SafeCast().
Referenced by Show().
|
protectedinherited |
Clear the existing dialog size and position.
This will cause the dialog size to be clear so the next time the dialog is shown the sizers will layout the dialog accordingly. This useful when there are dialog windows that size changes due to layout dependency hidden controls.
Definition at line 610 of file dialog_shim.cpp.
References getDialogKeyFromTitle(), m_hash_key, and Pgm().
Referenced by DIALOG_PAD_PROPERTIES::updatePadSizeControls().
|
protectedinherited |
Reset undo/redo tracking after dynamically replacing child panels.
Clears the undo/redo stacks and current value baselines, then registers undo/redo event handlers on the new children.
| aChildren | The child window list of the newly created panel. |
Definition at line 1868 of file dialog_shim.cpp.
References m_controlsWithPendingChanges, m_currentValues, m_redoStack, m_undoStack, and registerUndoRedoHandlers().
Referenced by RULE_EDITOR_DIALOG_BASE::SetContentPanel().
|
inherited |
Save control values and geometry to the current project's local settings.
Definition at line 714 of file dialog_shim.cpp.
References COMMON_SETTINGS::CsInternals(), generateKey(), PGM_BASE::GetCommonSettings(), getDialogKeyFromTitle(), UNIT_BINDER::GetFormula(), UNIT_BINDER::GetValue(), grid, index, isCompoundDateTimePicker(), COMMON_SETTINGS_INTERNALS::m_dialogControlValues, m_hash_key, m_unitBinders, Pgm(), PROPERTY_HOLDER::SafeCast(), and UNIT_BINDER::UnitsInvariant().
Referenced by OnCloseWindow(), and Show().
|
inherited |
Definition at line 1158 of file dialog_shim.cpp.
References ignore_unused(), isCompoundDateTimePicker(), m_beforeEditValues, minSize, onChildSetFocus(), and SelectAllInTextCtrls().
Referenced by OnPaint(), and SelectAllInTextCtrls().
|
private |
Shows a one-line status; the full driver report goes in the tooltip.
Definition at line 1034 of file dialog_database_lib_settings.cpp.
References DIALOG_DATABASE_LIB_SETTINGS_BASE::m_connectionPage, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_stConnectionStatus, and relayoutPage().
Referenced by connect(), onConnectFinished(), OnSourceChanged(), and OnTestConnection().
|
privateinherited |
|
inlineinherited |
Sets the window (usually a wxTextCtrl) that should be focused when the dialog is shown.
Definition at line 94 of file dialog_shim.h.
References m_initialFocusTarget.
Referenced by DIALOG_BOM::DIALOG_BOM(), DIALOG_CONFIGURE_PATHS::DIALOG_CONFIGURE_PATHS(), DIALOG_ENUM_PADS::DIALOG_ENUM_PADS(), DIALOG_FIND::DIALOG_FIND(), DIALOG_FOOTPRINT_FIELDS_TABLE::DIALOG_FOOTPRINT_FIELDS_TABLE(), DIALOG_FOOTPRINT_PROPERTIES::DIALOG_FOOTPRINT_PROPERTIES(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR(), DIALOG_GET_FOOTPRINT_BY_NAME::DIALOG_GET_FOOTPRINT_BY_NAME(), DIALOG_GRID_SETTINGS::DIALOG_GRID_SETTINGS(), DIALOG_GROUP_PROPERTIES::DIALOG_GROUP_PROPERTIES(), DIALOG_IMPORT_GFX::DIALOG_IMPORT_GFX(), DIALOG_IMPORT_GRAPHICS::DIALOG_IMPORT_GRAPHICS(), DIALOG_IMPORT_SYMBOL_SELECT::DIALOG_IMPORT_SYMBOL_SELECT(), DIALOG_JUNCTION_PROPS::DIALOG_JUNCTION_PROPS(), DIALOG_LIB_FIELDS_TABLE::DIALOG_LIB_FIELDS_TABLE(), DIALOG_LIB_FOOTPRINT_FIELDS_TABLE::DIALOG_LIB_FOOTPRINT_FIELDS_TABLE(), DIALOG_LINE_PROPERTIES::DIALOG_LINE_PROPERTIES(), DIALOG_OFFSET_ITEM::DIALOG_OFFSET_ITEM(), DIALOG_PAD_PROPERTIES::DIALOG_PAD_PROPERTIES(), DIALOG_PIN_PROPERTIES::DIALOG_PIN_PROPERTIES(), DIALOG_PLUGIN_OPTIONS::DIALOG_PLUGIN_OPTIONS(), DIALOG_POSITION_RELATIVE::DIALOG_POSITION_RELATIVE(), DIALOG_REMOTE_SYMBOL_CONFIG::DIALOG_REMOTE_SYMBOL_CONFIG(), DIALOG_SCH_FIND::DIALOG_SCH_FIND(), DIALOG_SHAPE_PROPERTIES::DIALOG_SHAPE_PROPERTIES(), DIALOG_SHEET_PIN_PROPERTIES::DIALOG_SHEET_PIN_PROPERTIES(), DIALOG_SYMBOL_CHOOSER::DIALOG_SYMBOL_CHOOSER(), DIALOG_SYMBOL_FIELDS_TABLE::DIALOG_SYMBOL_FIELDS_TABLE(), DIALOG_TABLECELL_PROPERTIES::DIALOG_TABLECELL_PROPERTIES(), DIALOG_TABLECELL_PROPERTIES::DIALOG_TABLECELL_PROPERTIES(), DIALOG_TARGET_PROPERTIES::DIALOG_TARGET_PROPERTIES(), DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES(), DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES(), DIALOG_TEXTBOX_PROPERTIES::DIALOG_TEXTBOX_PROPERTIES(), DIALOG_TUNING_PATTERN_PROPERTIES::DIALOG_TUNING_PATTERN_PROPERTIES(), DIALOG_WIRE_BUS_PROPERTIES::DIALOG_WIRE_BUS_PROPERTIES(), EDA_VIEW_SWITCHER::EDA_VIEW_SWITCHER(), HK_PROMPT_DIALOG::HK_PROMPT_DIALOG(), SCH_EDITOR_CONTROL::IncrementAnnotations(), DIALOG_FIELD_PROPERTIES::init(), DIALOG_EXCHANGE_FOOTPRINTS::OnMatchAllClicked(), DIALOG_EXCHANGE_FOOTPRINTS::OnMatchIDClicked(), DIALOG_EXCHANGE_FOOTPRINTS::OnMatchRefClicked(), DIALOG_EXCHANGE_FOOTPRINTS::OnMatchSelectedClicked(), DIALOG_EXCHANGE_FOOTPRINTS::OnMatchValueClicked(), DIALOG_LABEL_PROPERTIES::onMultiLabelCheck(), SAVE_AS_DIALOG::SAVE_AS_DIALOG(), SAVE_SYMBOL_AS_DIALOG::SAVE_SYMBOL_AS_DIALOG(), DIALOG_NON_COPPER_ZONES_EDITOR::TransferDataToWindow(), DIALOG_RULE_AREA_PROPERTIES::TransferDataToWindow(), DIALOG_TRACK_VIA_PROPERTIES::TransferDataToWindow(), WX_PT_ENTRY_DIALOG::WX_PT_ENTRY_DIALOG(), WX_TEXT_ENTRY_DIALOG::WX_TEXT_ENTRY_DIALOG(), and WX_UNIT_ENTRY_DIALOG::WX_UNIT_ENTRY_DIALOG().
|
inherited |
It is only used for debugging, since "this" is not a wxWindow*.
"this" is a KIWAY_HOLDER mix-in.
| aDest | is the recipient of aKiway pointer. |
| aKiway | is often from a parent window or from KIFACE::CreateKiWindow(). |
Definition at line 39 of file kiway_holder.cpp.
References ignore_unused(), m_kiway, and name.
Referenced by DIALOG_SHIM::DIALOG_SHIM(), InvokePcbLibTableEditor(), and InvokeSchEditSymbolLibTable().
|
inherited |
Force the position of the dialog to a new position.
| aNewPosition | is the new forced position |
Definition at line 448 of file dialog_shim.cpp.
Referenced by PCB_BASE_FRAME::SelectOneLayer().
|
protectedinherited |
Set the dialog to the given dimensions in "dialog units".
These are units equivalent to 4* the average character width and 8* the average character height, allowing a dialog to be sized in a way that scales it with the system font.
Definition at line 421 of file dialog_shim.cpp.
Referenced by HTML_MESSAGE_BOX::HTML_MESSAGE_BOX(), and HTML_MESSAGE_BOX::SetDialogSizeInDU().
|
private |
Every setting as the file would hold it, plus where the password is kept.
Definition at line 681 of file dialog_database_lib_settings.cpp.
References DIALOG_DATABASE_LIB_SETTINGS_BASE::m_cbPasswordInFile, m_settings, storeLibrary(), and storeSource().
Referenced by confirmClose(), and TransferDataToWindow().
|
inherited |
Definition at line 2182 of file dialog_shim.cpp.
References recursiveDescent().
Referenced by DIALOG_TRACK_VIA_PROPERTIES::commonInit(), CONVERT_SETTINGS_DIALOG::CONVERT_SETTINGS_DIALOG(), DIALOG_ANNOTATE::DIALOG_ANNOTATE(), DIALOG_ARCHIVE_JOB_SETTINGS::DIALOG_ARCHIVE_JOB_SETTINGS(), DIALOG_ASSIGN_NETCLASS::DIALOG_ASSIGN_NETCLASS(), DIALOG_BOARD_REANNOTATE::DIALOG_BOARD_REANNOTATE(), DIALOG_BOARD_STACKUP_JOB::DIALOG_BOARD_STACKUP_JOB(), DIALOG_BOARD_STATS_JOB::DIALOG_BOARD_STATS_JOB(), DIALOG_BOM::DIALOG_BOM(), DIALOG_BOOK_REPORTER::DIALOG_BOOK_REPORTER(), DIALOG_CHANGE_SYMBOLS::DIALOG_CHANGE_SYMBOLS(), DIALOG_CLEANUP_GRAPHICS::DIALOG_CLEANUP_GRAPHICS(), DIALOG_COLOR_PICKER::DIALOG_COLOR_PICKER(), DIALOG_CONFIG_EQUFILES::DIALOG_CONFIG_EQUFILES(), DIALOG_CONFIGURE_PATHS::DIALOG_CONFIGURE_PATHS(), DIALOG_CONVERT_IMAGE_TO_OUTLINES::DIALOG_CONVERT_IMAGE_TO_OUTLINES(), DIALOG_COPPER_ZONE::DIALOG_COPPER_ZONE(), DIALOG_COPYFILES_JOB_SETTINGS::DIALOG_COPYFILES_JOB_SETTINGS(), DIALOG_CREATE_ARRAY::DIALOG_CREATE_ARRAY(), DIALOG_CREATE_NET_CHAIN::DIALOG_CREATE_NET_CHAIN(), DIALOG_DESIGN_BLOCK_PROPERTIES::DIALOG_DESIGN_BLOCK_PROPERTIES(), DIALOG_DESTINATION::DIALOG_DESTINATION(), DIALOG_DIELECTRIC_MATERIAL::DIALOG_DIELECTRIC_MATERIAL(), DIALOG_DIFF_PHASE_SKEW_PROPERTIES::DIALOG_DIFF_PHASE_SKEW_PROPERTIES(), DIALOG_DIMENSION_PROPERTIES::DIALOG_DIMENSION_PROPERTIES(), DIALOG_DOWNGRADE_REPORT::DIALOG_DOWNGRADE_REPORT(), DIALOG_DRAW_LAYERS_SETTINGS::DIALOG_DRAW_LAYERS_SETTINGS(), DIALOG_DRC::DIALOG_DRC(), DIALOG_ERC::DIALOG_ERC(), DIALOG_EXCHANGE_FOOTPRINTS::DIALOG_EXCHANGE_FOOTPRINTS(), DIALOG_EXECUTECOMMAND_JOB_SETTINGS::DIALOG_EXECUTECOMMAND_JOB_SETTINGS(), DIALOG_EXPORT_2581::DIALOG_EXPORT_2581(), DIALOG_EXPORT_2581::DIALOG_EXPORT_2581(), DIALOG_EXPORT_NETLIST::DIALOG_EXPORT_NETLIST(), DIALOG_EXPORT_ODBPP::DIALOG_EXPORT_ODBPP(), DIALOG_EXPORT_ODBPP::DIALOG_EXPORT_ODBPP(), DIALOG_EXPORT_OLDER_VERSION::DIALOG_EXPORT_OLDER_VERSION(), DIALOG_EXPORT_STEP::DIALOG_EXPORT_STEP(), DIALOG_EXPORT_VRML::DIALOG_EXPORT_VRML(), DIALOG_FILTER_SELECTION::DIALOG_FILTER_SELECTION(), DIALOG_FOOTPRINT_CHECKER::DIALOG_FOOTPRINT_CHECKER(), DIALOG_FOOTPRINT_FIELDS_TABLE::DIALOG_FOOTPRINT_FIELDS_TABLE(), DIALOG_FOOTPRINT_PROPERTIES::DIALOG_FOOTPRINT_PROPERTIES(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR(), DIALOG_FOOTPRINT_WIZARD_LIST::DIALOG_FOOTPRINT_WIZARD_LIST(), DIALOG_FP_EDIT_PAD_TABLE::DIALOG_FP_EDIT_PAD_TABLE(), DIALOG_GEN_FOOTPRINT_POSITION::DIALOG_GEN_FOOTPRINT_POSITION(), DIALOG_GEN_FOOTPRINT_POSITION::DIALOG_GEN_FOOTPRINT_POSITION(), DIALOG_GENDRILL::DIALOG_GENDRILL(), DIALOG_GENDRILL::DIALOG_GENDRILL(), DIALOG_GENERATED_TABLE_PROPERTIES::DIALOG_GENERATED_TABLE_PROPERTIES(), DIALOG_GET_FOOTPRINT_BY_NAME::DIALOG_GET_FOOTPRINT_BY_NAME(), DIALOG_GIT_CREDENTIALS::DIALOG_GIT_CREDENTIALS(), DIALOG_GIT_IDENTITY::DIALOG_GIT_IDENTITY(), DIALOG_GIT_MR_REVIEW::DIALOG_GIT_MR_REVIEW(), DIALOG_GIT_NEW_TAG::DIALOG_GIT_NEW_TAG(), DIALOG_GIT_REMOTE::DIALOG_GIT_REMOTE(), DIALOG_GIT_REPOSITORY::DIALOG_GIT_REPOSITORY(), DIALOG_GLOBAL_DELETION::DIALOG_GLOBAL_DELETION(), DIALOG_GLOBAL_EDIT_TEARDROPS::DIALOG_GLOBAL_EDIT_TEARDROPS(), DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS(), DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS(), DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS(), DIALOG_GRID_ITEM_PROPERTIES::DIALOG_GRID_ITEM_PROPERTIES(), DIALOG_GRID_SETTINGS::DIALOG_GRID_SETTINGS(), DIALOG_GROUP_PROPERTIES::DIALOG_GROUP_PROPERTIES(), DIALOG_IBIS_PARSER_REPORTER::DIALOG_IBIS_PARSER_REPORTER(), DIALOG_IMAGE_PROPERTIES::DIALOG_IMAGE_PROPERTIES(), DIALOG_IMPORT_CHOOSE_PROJECT::DIALOG_IMPORT_CHOOSE_PROJECT(), DIALOG_IMPORT_GFX::DIALOG_IMPORT_GFX(), DIALOG_IMPORT_GRAPHICS::DIALOG_IMPORT_GRAPHICS(), DIALOG_IMPORT_NETLIST::DIALOG_IMPORT_NETLIST(), DIALOG_IMPORT_SETTINGS::DIALOG_IMPORT_SETTINGS(), DIALOG_IMPORT_SYMBOL_SELECT::DIALOG_IMPORT_SYMBOL_SELECT(), DIALOG_JOBSET_RUN_LOG::DIALOG_JOBSET_RUN_LOG(), DIALOG_JUNCTION_PROPS::DIALOG_JUNCTION_PROPS(), DIALOG_LABEL_PROPERTIES::DIALOG_LABEL_PROPERTIES(), DIALOG_LIB_EDIT_PIN_TABLE::DIALOG_LIB_EDIT_PIN_TABLE(), DIALOG_LIB_FIELDS_TABLE::DIALOG_LIB_FIELDS_TABLE(), DIALOG_LIB_FOOTPRINT_FIELDS_TABLE::DIALOG_LIB_FOOTPRINT_FIELDS_TABLE(), DIALOG_LIB_NEW_SYMBOL::DIALOG_LIB_NEW_SYMBOL(), DIALOG_LINE_PROPERTIES::DIALOG_LINE_PROPERTIES(), DIALOG_MAP_LAYERS::DIALOG_MAP_LAYERS(), DIALOG_MICROVIA_STACK::DIALOG_MICROVIA_STACK(), DIALOG_MIGRATE_3D_MODELS::DIALOG_MIGRATE_3D_MODELS(), DIALOG_MOVE_EXACT::DIALOG_MOVE_EXACT(), DIALOG_MULTICHANNEL_GENERATE_RULE_AREAS::DIALOG_MULTICHANNEL_GENERATE_RULE_AREAS(), DIALOG_MULTICHANNEL_REPEAT_LAYOUT::DIALOG_MULTICHANNEL_REPEAT_LAYOUT(), DIALOG_NON_COPPER_ZONES_EDITOR::DIALOG_NON_COPPER_ZONES_EDITOR(), DIALOG_OFFSET_ITEM::DIALOG_OFFSET_ITEM(), DIALOG_OUTSET_ITEMS::DIALOG_OUTSET_ITEMS(), DIALOG_PAD_PROPERTIES::DIALOG_PAD_PROPERTIES(), DIALOG_PAGES_SETTINGS::DIALOG_PAGES_SETTINGS(), DIALOG_PCM::DIALOG_PCM(), DIALOG_PIN_PROPERTIES::DIALOG_PIN_PROPERTIES(), DIALOG_PLOT::DIALOG_PLOT(), DIALOG_PLOT_SCHEMATIC::DIALOG_PLOT_SCHEMATIC(), DIALOG_PLUGIN_OPTIONS::DIALOG_PLUGIN_OPTIONS(), DIALOG_PNS_DIFF_PAIR_DIMENSIONS::DIALOG_PNS_DIFF_PAIR_DIMENSIONS(), DIALOG_PNS_SETTINGS::DIALOG_PNS_SETTINGS(), DIALOG_POSITION_RELATIVE::DIALOG_POSITION_RELATIVE(), DIALOG_PRINT::DIALOG_PRINT(), DIALOG_PRINT_GENERIC::DIALOG_PRINT_GENERIC(), DIALOG_PUSH_PAD_PROPERTIES::DIALOG_PUSH_PAD_PROPERTIES(), DIALOG_RC_JOB::DIALOG_RC_JOB(), DIALOG_REFERENCE_IMAGE_PROPERTIES::DIALOG_REFERENCE_IMAGE_PROPERTIES(), DIALOG_REGULATOR_FORM::DIALOG_REGULATOR_FORM(), DIALOG_REMOTE_SYMBOL_CONFIG::DIALOG_REMOTE_SYMBOL_CONFIG(), DIALOG_RENDER_JOB::DIALOG_RENDER_JOB(), DIALOG_RESCUE_EACH::DIALOG_RESCUE_EACH(), DIALOG_RESOLVE_FIELD_CASE_CONFLICTS::DIALOG_RESOLVE_FIELD_CASE_CONFLICTS(), DIALOG_RULE_AREA_PROPERTIES::DIALOG_RULE_AREA_PROPERTIES(), DIALOG_SCH_IMPORT_SETTINGS::DIALOG_SCH_IMPORT_SETTINGS(), DIALOG_SHAPE_PROPERTIES::DIALOG_SHAPE_PROPERTIES(), DIALOG_SHAPE_PROPERTIES::DIALOG_SHAPE_PROPERTIES(), DIALOG_SHEET_PIN_PROPERTIES::DIALOG_SHEET_PIN_PROPERTIES(), DIALOG_SHEET_PROPERTIES::DIALOG_SHEET_PROPERTIES(), DIALOG_SIM_COMMAND::DIALOG_SIM_COMMAND(), DIALOG_SWAP_LAYERS::DIALOG_SWAP_LAYERS(), DIALOG_SYMBOL_CHOOSER::DIALOG_SYMBOL_CHOOSER(), DIALOG_SYMBOL_FIELDS_TABLE::DIALOG_SYMBOL_FIELDS_TABLE(), DIALOG_SYMBOL_PROPERTIES::DIALOG_SYMBOL_PROPERTIES(), DIALOG_TABLE_PROPERTIES::DIALOG_TABLE_PROPERTIES(), DIALOG_TABLE_PROPERTIES::DIALOG_TABLE_PROPERTIES(), DIALOG_TABLECELL_PROPERTIES::DIALOG_TABLECELL_PROPERTIES(), DIALOG_TABLECELL_PROPERTIES::DIALOG_TABLECELL_PROPERTIES(), DIALOG_TARGET_PROPERTIES::DIALOG_TARGET_PROPERTIES(), DIALOG_TEXT_DIFF::DIALOG_TEXT_DIFF(), DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES(), DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES(), DIALOG_TEXTBOX_PROPERTIES::DIALOG_TEXTBOX_PROPERTIES(), DIALOG_TRACK_VIA_SIZE::DIALOG_TRACK_VIA_SIZE(), DIALOG_TUNING_PATTERN_PROPERTIES::DIALOG_TUNING_PATTERN_PROPERTIES(), DIALOG_UNUSED_PAD_LAYERS::DIALOG_UNUSED_PAD_LAYERS(), DIALOG_UPDATE_FROM_PCB::DIALOG_UPDATE_FROM_PCB(), DIALOG_UPDATE_PCB::DIALOG_UPDATE_PCB(), DIALOG_UPDATE_SYMBOL_FIELDS::DIALOG_UPDATE_SYMBOL_FIELDS(), DIALOG_USER_DEFINED_SIGNALS::DIALOG_USER_DEFINED_SIGNALS(), DIALOG_VIA_STITCH_PROPERTIES::DIALOG_VIA_STITCH_PROPERTIES(), DIALOG_WIRE_BUS_PROPERTIES::DIALOG_WIRE_BUS_PROPERTIES(), EDA_LIST_DIALOG::EDA_LIST_DIALOG(), EDA_REORDERABLE_LIST_DIALOG::EDA_REORDERABLE_LIST_DIALOG(), GIT_ADVANCED_DIALOG::GIT_ADVANCED_DIALOG(), HTML_MESSAGE_BOX::HTML_MESSAGE_BOX(), DIALOG_FIELD_PROPERTIES::init(), DIALOG_EDIT_LIBRARY_TABLES::InstallPanel(), MATCH_PROPERTIES_DIALOG::MATCH_PROPERTIES_DIALOG(), NETLIST_DIALOG_ADD_GENERATOR::NETLIST_DIALOG_ADD_GENERATOR(), PAGED_DIALOG::PAGED_DIALOG(), SAVE_AS_DIALOG::SAVE_AS_DIALOG(), SAVE_SYMBOL_AS_DIALOG::SAVE_SYMBOL_AS_DIALOG(), DIALOG_EXPORT_IDF3::setupDialog(), DIALOG_CLEANUP_TRACKS_AND_VIAS::setupOKButtonLabel(), WX_MULTI_ENTRY_DIALOG::WX_MULTI_ENTRY_DIALOG(), WX_PT_ENTRY_DIALOG::WX_PT_ENTRY_DIALOG(), WX_TEXT_ENTRY_DIALOG::WX_TEXT_ENTRY_DIALOG(), and WX_UNIT_ENTRY_DIALOG::WX_UNIT_ENTRY_DIALOG().
|
overrideinherited |
Definition at line 494 of file dialog_shim.cpp.
References clampToWorkArea(), KIPLATFORM::UI::EnsureVisible(), focusParentCanvas(), getDialogKeyFromTitle(), m_hash_key, m_initialSize, m_useCalculatedSize, m_userPositioned, m_userResized, Pgm(), ReloadSashPositions(), SaveControlState(), and KIPLATFORM::UI::StabilizeWindowPosition().
Referenced by SCH_INSPECTION_TOOL::CrossProbe(), BOARD_INSPECTION_TOOL::DiffFootprint(), SCH_INSPECTION_TOOL::DiffSymbol(), BOARD_EDITOR_CONTROL::EditFootprintFields(), SCH_EDITOR_CONTROL::EditSymbolFields(), EndQuasiModal(), BOARD_EDITOR_CONTROL::GenerateBOM(), SCH_EDITOR_CONTROL::GenerateBOM(), BOARD_INSPECTION_TOOL::InspectConstraints(), BOARD_INSPECTION_TOOL::InspectDRCError(), SCH_INSPECTION_TOOL::NextMarker(), SCH_EDIT_FRAME::OnAnnotate(), DIALOG_DRC::OnDRCItemDClick(), DIALOG_ERC::OnERCItemDClick(), DIALOG_CLEANUP_GRAPHICS::OnLeftDClickItem(), DIALOG_CLEANUP_TRACKS_AND_VIAS::OnLeftDClickItem(), DIALOG_FOOTPRINT_CHECKER::OnLeftDClickItem(), DIALOG_SCH_FIND::onShowSearchPanel(), SCH_INSPECTION_TOOL::PrevMarker(), CVPCB_MAINFRAME::readNetListAndFpFiles(), BOARD_INSPECTION_TOOL::reportClearance(), DIALOG_FIND::Show(), DIALOG_FIND_BY_PROPERTIES::Show(), DIALOG_PAD_PROPERTIES::Show(), EDA_LIST_DIALOG::Show(), EDA_VIEW_SWITCHER::Show(), HOTKEY_CYCLE_POPUP::Show(), RULE_EDITOR_DIALOG_BASE::Show(), PCB_CONTROL::ShowDrillGroups(), SCH_INSPECTION_TOOL::ShowERCDialog(), GIT_ADVANCED_DIALOG::ShowForFrame(), HTML_MESSAGE_BOX::ShowModeless(), ShowQuasiModal(), DIALOG_POSITION_RELATIVE::UpdatePickedItem(), and DIALOG_POSITION_RELATIVE::UpdatePickedPoint().
|
private |
Replaces the info bar message, which can be dismissed.
Definition at line 1874 of file dialog_database_lib_settings.cpp.
References DIALOG_DATABASE_LIB_SETTINGS_BASE::m_infoBar.
Referenced by chooseSavePath(), and validateLibraries().
|
overrideinherited |
Definition at line 1741 of file dialog_shim.cpp.
References KIPLATFORM::UI::ReparentModal(), and KIPLATFORM::UI::StabilizeWindowPosition().
Referenced by PANEL_SETUP_LAYERS::addUserDefinedLayer(), PCB_CONTROL::ApplyDesignBlockLayout(), MULTICHANNEL_TOOL::AutogenerateRuleAreas(), GRID_CELL_COLOR_SELECTOR::BeginEdit(), SCH_INSPECTION_TOOL::CheckSymbol(), FOOTPRINT_EDITOR_CONTROL::CleanupGraphics(), GLOBAL_EDIT_TOOL::CleanupGraphics(), GLOBAL_EDIT_TOOL::CleanupTracksAndVias(), CONSTRAINT_EDIT_TOOL::commitConstraint(), ZONE_CREATE_HELPER::commitZone(), FOOTPRINT_EDITOR_CONTROL::CompareLibraryWithFile(), COMMON_CONTROL::ConfigurePaths(), DRAWING_TOOL::ConvertImageToOutlines(), SCH_EDIT_TOOL::ConvertImageToOutlines(), DIALOG_PLOT::CreateDrillFile(), CONVERT_TOOL::CreateLines(), SYMBOL_EDIT_FRAME::CreateNewSymbol(), MICROWAVE_TOOL::createPolygonShape(), CONVERT_TOOL::CreatePolys(), ROUTER_TOOL::CustomTrackWidthDialog(), DIALOG_SYMBOL_FIELDS_TABLE::DIALOG_SYMBOL_FIELDS_TABLE(), PANEL_DESIGN_BLOCK_CHOOSER::displayErrors(), DisplayHotkeyList(), LIB_FIELDS_EDITOR_GRID_TRICKS::doFieldsTablePopupSelection(), CURSORS_GRID_TRICKS::doPopupSelection(), MEASUREMENTS_GRID_TRICKS::doPopupSelection(), SIGNALS_GRID_TRICKS::doPopupSelection(), ROUTER_TOOL::DpDimensionsDialog(), DRAWING_TOOL::DrawBarcode(), SIMULATOR_FRAME::EditAnalysis(), EditConstraintValue(), DESIGN_BLOCK_PANE::EditDesignBlockProperties(), KIGIT::EditGitIdentity(), SYMBOL_EDITOR_PIN_TOOL::EditPinProperties(), PANEL_SETUP_VIA_STACKS::editPreset(), SCH_EDIT_TOOL::EditProperties(), SYMBOL_EDITOR_EDIT_TOOL::editShapeProperties(), SCH_EDIT_FRAME::EditSheetProperties(), FOOTPRINT_EDITOR_CONTROL::EditTextAndGraphics(), GLOBAL_EDIT_TOOL::EditTextAndGraphics(), SYMBOL_EDITOR_EDIT_TOOL::editTextBoxProperties(), SYMBOL_EDITOR_EDIT_TOOL::editTextProperties(), EESCHEMA_JOBS_HANDLER::EESCHEMA_JOBS_HANDLER(), VIA_SIZE_MENU::eventHandler(), KICAD_MANAGER_CONTROL::ExportForOlderVersion(), BOARD_EDITOR_CONTROL::ExportGenCAD(), BOARD_EDITOR_CONTROL::ExportIDF(), EDA_3D_CONTROLLER::ExportImage(), BOARD_EDITOR_CONTROL::ExportSTEP(), GERBVIEW_CONTROL::ExportToPcbnew(), BOARD_EDITOR_CONTROL::ExportVRML(), EDIT_TOOL::FilletTracks(), PCB_SELECTION_TOOL::filterSelection(), BOARD_EDITOR_CONTROL::GenerateDrillFiles(), BOARD_EDITOR_CONTROL::GenerateODBPPFiles(), BOARD_EDITOR_CONTROL::GeneratePosFile(), BOARD_EDITOR_CONTROL::GenIPC2581File(), GetChamferParams(), GetDogboneParams(), GetFootprintFromBoardByReference(), COLOR_SWATCH::GetNewSwatchColor(), GetRadiusParams(), GetSequentialPadNumberingParams(), GLOBAL_EDIT_TOOL::GlobalDeletions(), SCH_EDIT_TOOL::GlobalEdit(), COMMON_TOOLS::GridOrigin(), EDIT_TOOL::HealShapes(), SCH_EDIT_FRAME::importFile(), EE_GRAPHIC_TOOL::ImportGraphics(), SYMBOL_EDIT_FRAME::ImportSymbol(), SCH_EDITOR_CONTROL::IncrementAnnotations(), PCB_EDIT_FRAME::InstallNetlistFrame(), POSITION_RELATIVE_TOOL::InteractiveOffset(), InvokeCopperZonesEditor(), InvokeDialogNetList(), InvokeEditDesignBlockLibTable(), InvokeNonCopperZonesEditor(), InvokePcbLibTableEditor(), InvokeRuleAreaEditor(), InvokeSchEditSymbolLibTable(), PROJECT_SCH::LegacySchLibs(), GERBVIEW_FRAME::LoadGerberJobFile(), GERBVIEW_FRAME::LoadListOfGerberAndDrillFiles(), GERBVIEW_FRAME::LoadZipArchiveFile(), CONSTRAINT_EDIT_TOOL::ManageConstraints(), GLOBAL_EDIT_TOOL::Migrate3DModels(), SCH_EDIT_FRAME::ModalAnnotate(), EDIT_TOOL::MoveExact(), PCB_POINT_EDITOR::movePoint(), SIMULATOR_CONTROL::NewAnalysisTab(), PANEL_SYM_LIB_TABLE::newDatabaseLibraryHandler(), KICAD_MANAGER_CONTROL::NewFromRepository(), KICAD_MANAGER_CONTROL::NewProject(), PANEL_JOBSET::OnAddDestinationClick(), PANEL_SETUP_BOARD_STACKUP::onAddDielectricLayer(), PANEL_FOOTPRINT_FILTERS::OnAddFootprintFilter(), DIALOG_EXPORT_NETLIST::OnAddGenerator(), PANEL_GRID_SETTINGS::OnAddGrid(), PCB_NET_INSPECTOR_PANEL::onAddGroup(), PANEL_JOBSET::OnAddJobClick(), PCB_NET_INSPECTOR_PANEL::onAddNet(), PANEL_REGULATOR::OnAddRegulator(), PANEL_GIT_REMOTES::onAddRemote(), DIALOG_BOARD_SETUP::onAuxiliaryAction(), DIALOG_SCHEMATIC_SETUP::onAuxiliaryAction(), PCB_EDIT_FRAME::OnBoardLoaded(), PANEL_FAB_EXPORT_CONTENT::onBomFieldsClick(), DIALOG_FIELDS_TABLE::onBomFmtPresetChanged(), DIALOG_FIELDS_TABLE::onBomPresetChanged(), PANEL_SETUP_BOARD_STACKUP::onColorSelected(), KICAD_MANAGER_FRAME::OnCompareProjectBranches(), PANEL_REMOTE_SYMBOL::onConfigure(), DIALOG_DRC::OnDRCItemRClick(), PANEL_FOOTPRINT_FILTERS::OnEditFootprintFilter(), PANEL_GRID_SETTINGS::onEditGrid(), FOOTPRINT_EDIT_FRAME::OnEditItemRequest(), PCB_EDIT_FRAME::OnEditItemRequest(), PANEL_REGULATOR::OnEditRegulator(), PANEL_GIT_REMOTES::onEditRemote(), DIALOG_LIB_SYMBOL_PROPERTIES::OnEditSpiceModel(), DIALOG_SYMBOL_PROPERTIES::OnEditSpiceModel(), DIALOG_ERC::OnERCItemRClick(), DIALOG_EXPORT_STEP::onExportButton(), PROJECT_TREE_PANE::onGitInitializeProject(), PROJECT_TREE_PANE::onGitRemoteSettings(), PROJECT_TREE_PANE::onGitSwitchBranch(), LIB_TREE::onHeaderContextMenu(), PANEL_DESTINATION::OnLastStatusClick(), APPEARANCE_CONTROLS::onLayerPresetChanged(), APPEARANCE_CONTROLS_3D::onLayerPresetChanged(), PANEL_SCH_DATA_SOURCES::OnManageDataSources(), DIALOG_PCM::OnManageRepositoriesClicked(), PANEL_SETUP_BOARD_STACKUP::onMaterialChange(), PANEL_FP_LIB_TABLE::onMigrateLibraries(), PANEL_GIT_TAGS::onNewTag(), PANEL_DESTINATION::OnProperties(), PANEL_IMAGE_EDITOR::OnRemoveBackground(), PANEL_SETUP_BOARD_STACKUP::onRemoveDielectricLayer(), PCB_NET_INSPECTOR_PANEL::onRenameSelectedNet(), PANEL_PCBNEW_ACTION_PLUGINS::OnShowErrorsButtonClick(), DIALOG_VIA_STITCH_PROPERTIES::OnViaConfigureClicked(), APPEARANCE_CONTROLS::onViewportChanged(), APPEARANCE_CONTROLS_3D::onViewportChanged(), PCBNEW_JOBS_HANDLER::OpenDiffDialog(), PANEL_JOBSET::OpenJobOptionsForListItem(), DESIGN_BLOCK_GRID_TRICKS::optionsEditor(), FP_GRID_TRICKS::optionsEditor(), SYMBOL_GRID_TRICKS::optionsEditor(), CONVERT_TOOL::OutsetItems(), DIALOG_PAD_PROPERTIES::padValuesOK(), BOARD_EDITOR_CONTROL::PageSettings(), PL_EDITOR_CONTROL::PageSetup(), SCH_EDITOR_CONTROL::PageSetup(), PCB_CONTROL::Paste(), SCH_EDITOR_CONTROL::Paste(), PCBNEW_JOBS_HANDLER::PCBNEW_JOBS_HANDLER(), SCH_BASE_FRAME::PickSymbolFromLibrary(), SYMBOL_EDITOR_EDIT_TOOL::PinTable(), DRAWING_TOOL::PlaceImportedGraphics(), PL_DRAWING_TOOLS::PlaceImportedGraphics(), DRAWING_TOOL::PlaceMicroviaStack(), DRAWING_TOOL::PlaceTuningPattern(), SCH_EDITOR_CONTROL::Plot(), GERBVIEW_CONTROL::Print(), PCB_CONTROL::Print(), SCH_EDITOR_CONTROL::Print(), KIGIT::PromptForCredentials(), HK_PROMPT_DIALOG::PromptForKey(), SCH_EDIT_TOOL::Properties(), PAD_TOOL::pushPadSettings(), GERBVIEW_FRAME::Read_EXCELLON_File(), GERBVIEW_FRAME::Read_GERBER_File(), CVPCB_MAINFRAME::readNetListAndFpFiles(), GLOBAL_EDIT_TOOL::RemoveUnusedPads(), DIALOG_IMPORT_CHOOSE_PROJECT::RunModal(), DIALOG_MAP_LAYERS::RunModal(), PCBNEW_JOBS_HANDLER::runPcbMerge(), EESCHEMA_JOBS_HANDLER::runSchMerge(), PCB_EDIT_FRAME::SaveBoardAsDesignBlock(), FOOTPRINT_EDIT_FRAME::SaveFootprintAs(), ROUTER_TOOL::saveRouterDebugLog(), PCB_EDIT_FRAME::SaveSelectionAsDesignBlock(), SCH_EDIT_FRAME::SaveSelectionAsDesignBlock(), SCH_EDIT_FRAME::SaveSheetAsDesignBlock(), SYMBOL_EDIT_FRAME::saveSymbolCopyAs(), ROUTER_TOOL::SelectCopperLayerPair(), FOOTPRINT_EDIT_FRAME::SelectFootprintFromBoard(), FOOTPRINT_WIZARD_FRAME::SelectFootprintWizard(), PCB_BASE_EDIT_FRAME::SelectLibrary(), SCH_BASE_FRAME::SelectLibrary(), PCB_BASE_FRAME::SelectOneLayer(), GERBVIEW_FRAME::SelectPCBLayer(), GERBVIEW_FRAME::SetLayerDrawPrms(), ROUTER_TOOL::SettingsDialog(), PCB_BASE_EDIT_FRAME::ShowBarcodePropertiesDialog(), BOARD_INSPECTION_TOOL::ShowBoardStatistics(), SCH_EDITOR_CONTROL::ShowCreateNetChain(), PL_EDITOR_FRAME::ShowDesignInspector(), DIFF_PHASE_SKEW_TOOL::ShowDiffPhaseSkew(), CVPCB_CONTROL::ShowEquFileTable(), BOARD_INSPECTION_TOOL::ShowFootprintLinks(), FOOTPRINT_EDITOR_CONTROL::ShowFootprintUsers(), PCB_BASE_EDIT_FRAME::ShowGridItemPropertiesDialog(), FOOTPRINT_EDITOR_CONTROL::ShowLibraryFieldsTable(), SYMBOL_EDITOR_CONTROL::ShowLibraryTable(), SIMULATOR_CONTROL::ShowNetlist(), KICAD_MANAGER_CONTROL::ShowPluginManager(), EDA_BASE_FRAME::ShowPreferences(), PCB_TUNING_PATTERN::ShowPropertiesDialog(), PCB_VIA_STACK::ShowPropertiesDialog(), PCB_VIA_STITCH::ShowPropertiesDialog(), BOARD_REANNOTATE_TOOL::ShowReannotateDialog(), PCB_BASE_EDIT_FRAME::ShowReferenceImagePropertiesDialog(), LOCAL_HISTORY::ShowRestoreDialog(), SCH_INSPECTION_TOOL::showSchematicComparison(), SCH_EDIT_FRAME::ShowSchematicSetupDialog(), MATCH_PROPERTIES_TOOL::showSettingsDialog(), PCB_EDIT_FRAME::ShowTargetOptionsDialog(), EDIT_TOOL::SimplifyPolygons(), SCH_DRAWING_TOOLS::SingleClickPlace(), GLOBAL_EDIT_TOOL::SwapLayers(), DIALOG_IMPORT_GFX::TransferDataFromWindow(), DIALOG_IMPORT_GRAPHICS::TransferDataFromWindow(), PANEL_SETUP_LAYERS::TransferDataFromWindow(), EDA_3D_VIEWER_FRAME::TryBefore(), PCB_BASE_EDIT_FRAME::TryBefore(), SYMBOL_EDITOR_DRAWING_TOOLS::TwoClickPlace(), SCH_EDIT_FRAME::UpdateDesignBlockFromSheet(), SCH_EDITOR_CONTROL::UpdateFromPCB(), BOARD_EDITOR_CONTROL::UpdatePCBFromSchematic(), SYMBOL_EDITOR_EDIT_TOOL::UpdateSymbolFields(), DIALOG_SHAPE_PROPERTIES::Validate(), and PANEL_PREVIEW_3D_MODEL::View3DSettings().
|
inherited |
Definition at line 1781 of file dialog_shim.cpp.
References focusParentCanvas(), m_qmodal_loop, m_qmodal_parent_disabler, m_qmodal_showing, KIPLATFORM::UI::ReparentModal(), and Show().
Referenced by PANEL_FP_PROPERTIES_3D_MODEL::Cfg3DPath(), SCH_EDIT_TOOL::ChangeSymbols(), MICROWAVE_TOOL::createFootprint(), MICROWAVE_TOOL::createMicrowaveInductor(), SCH_DRAWING_TOOLS::createNewLabel(), SCH_DRAWING_TOOLS::createNewText(), EE_GRAPHIC_TOOL::DrawShape(), DRAWING_TOOL::DrawTable(), SCH_DRAWING_TOOLS::DrawTable(), SYMBOL_EDITOR_EDIT_TOOL::editFieldProperties(), SCH_EDIT_TOOL::editFieldText(), FOOTPRINT_EDIT_FRAME::editFootprintProperties(), FOOTPRINT_EDITOR_CONTROL::editFootprintPropertiesFromLibrary(), SCH_EDIT_TOOL::EditProperties(), SYMBOL_EDITOR_EDIT_TOOL::EditSymbolPinMaps(), SYMBOL_EDITOR_EDIT_TOOL::editSymbolProperties(), SYMBOL_EDITOR_EDIT_TOOL::editSymbolPropertiesFromLibrary(), PCB_EDIT_TABLE_TOOL::EditTable(), SCH_EDIT_TABLE_TOOL::EditTable(), GLOBAL_EDIT_TOOL::EditTeardrops(), GLOBAL_EDIT_TOOL::EditTracksAndVias(), SIMULATOR_CONTROL::EditUserDefinedSignals(), GLOBAL_EDIT_TOOL::ExchangeFootprints(), DRC_TOOL::FixDRCError(), SCH_EDIT_TOOL::FixERCError(), BOARD_EDITOR_CONTROL::GenerateGerbers(), InvokeDialogCreateBOM(), InvokeDialogEditSymbolsLibId(), InvokeDialogRescueEach(), FOOTPRINT_EDIT_FRAME::OnEditItemRequest(), PCB_EDIT_FRAME::OnEditItemRequest(), SCH_PROPERTIES_PANEL::onEditPinMap(), PANEL_JOBSET::OpenJobOptionsForListItem(), SCH_EDIT_FRAME::OpenProjectFiles(), PAD_TOOL::PadTable(), DRAWING_TOOL::PlaceText(), BOARD_EDITOR_CONTROL::Plot(), EDIT_TOOL::Properties(), SCH_EDIT_TOOL::Properties(), SCH_EDITOR_CONTROL::RemapSymbols(), PCB_EDIT_FRAME::ShowBoardSetupDialog(), PCB_EDIT_FRAME::ShowExchangeFootprintsDialog(), PCB_EDIT_FRAME::ShowFootprintPropertiesDialog(), PCB_BASE_EDIT_FRAME::ShowGraphicItemPropertiesDialog(), PCB_BASE_FRAME::ShowPadPropertiesDialog(), PCB_BASE_EDIT_FRAME::ShowTextBoxPropertiesDialog(), PCB_BASE_EDIT_FRAME::ShowTextPropertiesDialog(), and GLOBAL_EDIT_TOOL::ZonesManager().
|
private |
Definition at line 1208 of file dialog_database_lib_settings.cpp.
References currentLibrary(), DIALOG_DATABASE_LIB_SETTINGS_BASE::m_cbTable, m_roles, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_txtLibName, DATABASE_LIB_TABLE::name, DATABASE_LIB_TABLE::table, and TO_UTF8.
Referenced by moveLibrary(), OnAddLibrary(), OnDuplicateLibrary(), OnLibraryChanged(), OnLibrarySelected(), OnTableChanged(), settingsSnapshot(), and TransferDataFromWindow().
|
private |
Definition at line 900 of file dialog_database_lib_settings.cpp.
References DIALOG_DATABASE_LIB_SETTINGS_BASE::m_cbDSN, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_rbConnectionString, m_settings, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_spinTimeout, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_txtConnectionString, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_txtPassword, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_txtUser, source, and TO_UTF8.
Referenced by OnSourceChanged(), OnTestConnection(), settingsSnapshot(), and TransferDataFromWindow().
|
private |
Definition at line 1596 of file dialog_database_lib_settings.cpp.
References DATABASE_LIB_TABLE::fields, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_fieldsGrid, and markDirty().
Referenced by OnMoveFieldDown(), and OnMoveFieldUp().
|
inlineprotectedvirtualinherited |
Override this method to perform dialog tear down actions not suitable for object dtor.
Definition at line 278 of file dialog_shim.h.
Referenced by EndQuasiModal().
|
override |
Definition at line 488 of file dialog_database_lib_settings.cpp.
References _, chooseSavePath(), cwdDir(), DisplayError(), GetAppSettings(), m_canSave, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_cbPasswordInFile, m_defaultDir, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_fieldsGrid, m_keyringLogin, m_newChoices, m_path, m_settings, m_unnamed, DB_AUTOFILL::RememberChoice(), source, StoreDatabasePassword(), storeLibrary(), storeSource(), and validateLibraries().
Referenced by confirmClose().
|
override |
Definition at line 435 of file dialog_database_lib_settings.cpp.
References connect(), From_UTF8(), GetDatabasePassword(), DATABASE_CONNECTION::ListDrivers(), loadDataSources(), loadLibrary(), loadLibraryList(), DIALOG_DATABASE_LIB_SETTINGS_BASE::m_cbDSN, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_cbGloballyUniqueKeys, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_cbPasswordInFile, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_choiceDriver, m_cleanSnapshot, m_currentLibrary, m_keyringLogin, m_loading, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_rbConnectionString, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_rbDSN, m_settings, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_spinCacheAge, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_spinCacheSize, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_spinTimeout, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_txtConnectionString, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_txtDescription, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_txtName, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_txtPassword, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_txtUser, settingsSnapshot(), source, and updateSourceControls().
|
inherited |
Remove a UNIT_BINDER from the control-state save/restore map.
Called from ~UNIT_BINDER so that a destroyed binder never leaves a dangling pointer behind for SaveControlState()/LoadControlState() to dereference when a later control reuses the freed window's address.
| aUnitBinder | the binder being destroyed |
Definition at line 1143 of file dialog_shim.cpp.
References m_unitBinders.
|
protectedinherited |
Remove UNIT_BINDER registrations for a window and all its descendants.
Call before destroying a panel whose children have registered unit binders.
| aWindow | The root window whose subtree should be unregistered. |
Definition at line 1878 of file dialog_shim.cpp.
References m_unitBinders, and unregisterUnitBinders().
Referenced by RULE_EDITOR_DIALOG_BASE::SetContentPanel(), and unregisterUnitBinders().
|
private |
Italicizes the role combos that still hold an autofilled value.
Definition at line 1184 of file dialog_database_lib_settings.cpp.
References isAutofilled(), m_autoRoles, m_roles, and TO_UTF8.
Referenced by loadColumnChoices(), and OnLibraryChanged().
|
private |
Marks each column field for a missing key, a column the table does not have, keys that repeat in the sample or the problems the preview found in it.
Definition at line 1977 of file dialog_database_lib_settings.cpp.
References _, columnsFor(), DIALOG_DATABASE_LIB_SETTINGS::COLUMN_ROLE::combo, alg::contains(), currentLibrary(), From_UTF8(), DATABASE_LIB_TABLE::key_col, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_cbKeyCol, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_cbPinsCol, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_cbSymbolsCol, m_flagMissing, m_roleIcons, m_roles, m_sampleRepeats, m_sampleRows, m_sampleTable, m_tables, message, previewIssues(), DATABASE_LIB_TABLE::table, and DIALOG_DATABASE_LIB_SETTINGS::COLUMN_ROLE::value.
Referenced by loadColumnChoices(), OnLibraryChanged(), OnTableChanged(), and updatePreview().
|
private |
Refreshes only the Data page column labels, which follow mapping edits.
Definition at line 1743 of file dialog_database_lib_settings.cpp.
References _, currentLibrary(), displayName(), fieldForColumn(), From_UTF8(), m_conn, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_dataGrid, m_roles, m_sampleColumns, m_sampleRows, m_sampleTable, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_stDataStatus, PREVIEW_ROW_LIMIT, DATABASE_LIB_TABLE::table, and updateSymbolExample().
Referenced by autofillColumns(), loadDataGrid(), OnAddUnmappedColumns(), OnDataLabelRightClick(), OnFieldCellChanged(), OnLibraryChanged(), and OnRemoveField().
|
private |
Shows which driver the chosen data source uses.
Definition at line 787 of file dialog_database_lib_settings.cpp.
References _, From_UTF8(), DIALOG_DATABASE_LIB_SETTINGS_BASE::m_cbDSN, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_connectionPage, m_dataSources, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_stDsnDriver, name, relayoutPage(), source, text, and TO_UTF8.
Referenced by loadDataSources(), and OnSourceChanged().
|
private |
Shows the empty state of the library list only while it is empty.
Definition at line 1090 of file dialog_database_lib_settings.cpp.
References empty(), DIALOG_DATABASE_LIB_SETTINGS_BASE::m_btnAddFirstLibrary, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_librariesPage, m_settings, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_stNoLibraries, and relayoutPage().
Referenced by loadLibraryList().
|
private |
Definition at line 2068 of file dialog_database_lib_settings.cpp.
References _, SCH_IO_DATABASE::BuildPreviewSymbols(), clear(), alg::contains(), currentLibrary(), displayName(), ensureSample(), From_UTF8(), DATABASE_LIB_TABLE::key_col, m_conn, m_connectJob, m_libs, m_preview, m_previewIssues, m_sampleColumns, m_sampleRows, m_settings, m_tableError, PREVIEW_ROW_LIMIT, DATABASE_LIB_TABLE::table, updateColumnWarnings(), and updateTableWarning().
Referenced by DIALOG_DATABASE_LIB_SETTINGS().
|
private |
Definition at line 821 of file dialog_database_lib_settings.cpp.
References DIALOG_DATABASE_LIB_SETTINGS_BASE::m_btnManageDsn, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_cbDSN, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_cbPasswordInFile, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_choiceDriver, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_connectionPage, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_rbDSN, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_stCwdHelp, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_txtConnectionString, and relayoutPage().
Referenced by OnSourceTypeChanged(), and TransferDataToWindow().
|
private |
Shows how the current library's symbols will be named.
Definition at line 1710 of file dialog_database_lib_settings.cpp.
References _, currentLibrary(), From_UTF8(), DIALOG_DATABASE_LIB_SETTINGS_BASE::m_librariesPage, m_sampleRows, m_sampleTable, m_settings, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_stSymbolExample, DATABASE_LIB_TABLE::name, relayoutPage(), SCH_IO_DATABASE::SymbolNameForRow(), DATABASE_LIB_TABLE::table, and text.
Referenced by OnSettingChanged(), and updateDataLabels().
|
private |
Marks the table field when it is required and missing or could not be read.
Definition at line 1962 of file dialog_database_lib_settings.cpp.
References _, currentLibrary(), m_flagMissing, m_tableError, m_tableIcon, and DATABASE_LIB_TABLE::table.
Referenced by loadColumnChoices(), OnLibraryChanged(), OnTableChanged(), and updatePreview().
|
private |
Shows the first problem that stops the settings from being saved.
Definition at line 567 of file dialog_database_lib_settings.cpp.
References _, From_UTF8(), loadColumnChoices(), loadDataGrid(), loadLibrary(), loadLibraryList(), DIALOG_DATABASE_LIB_SETTINGS_BASE::m_cbKeyCol, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_cbTable, m_currentLibrary, m_flagMissing, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_notebook, m_settings, DIALOG_DATABASE_LIB_SETTINGS_BASE::m_txtLibName, name, showInfo(), and table.
Referenced by TransferDataFromWindow().
|
protectedinherited |
Convert an integer number of dialog units to pixels, vertically.
See SetSizeInDU or wxDialog documentation for more information.
Definition at line 435 of file dialog_shim.cpp.
|
private |
Definition at line 269 of file dialog_database_lib_settings.h.
Referenced by autofillColumns(), loadLibrary(), and OnFieldCellChanged().
|
private |
Definition at line 268 of file dialog_database_lib_settings.h.
Referenced by autofillColumns(), loadLibrary(), markUserRole(), and updateAutofillStyle().
|
private |
Autofilled values for the current library, which a later autofill may replace.
Definition at line 267 of file dialog_database_lib_settings.h.
Referenced by autofillTable(), loadLibrary(), and OnTableChanged().
|
protectedinherited |
Definition at line 401 of file dialog_shim.h.
Referenced by OnCharHook(), onChildSetFocus(), and SelectAllInTextCtrls().
|
protectedinherited |
Definition at line 104 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), DIALOG_DATABASE_LIB_SETTINGS::loadLibrary(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 82 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), DIALOG_DATABASE_LIB_SETTINGS::updateLibraryListHints(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 84 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 108 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), DIALOG_DATABASE_LIB_SETTINGS::loadLibrary(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 85 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), DIALOG_DATABASE_LIB_SETTINGS::loadLibrary(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 66 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), DIALOG_DATABASE_LIB_SETTINGS::updateSourceControls(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 106 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), DIALOG_DATABASE_LIB_SETTINGS::loadLibrary(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 105 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), DIALOG_DATABASE_LIB_SETTINGS::loadLibrary(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 87 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), DIALOG_DATABASE_LIB_SETTINGS::loadLibrary(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 86 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), DIALOG_DATABASE_LIB_SETTINGS::loadLibrary(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 107 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), DIALOG_DATABASE_LIB_SETTINGS::loadLibrary(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 88 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), DIALOG_DATABASE_LIB_SETTINGS::loadLibrary(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
|
private |
False when the file is unreadable or from a newer KiCad, since saving would lose its contents.
Definition at line 249 of file dialog_database_lib_settings.h.
Referenced by confirmClose(), DIALOG_DATABASE_LIB_SETTINGS(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 97 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 64 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), DIALOG_DATABASE_LIB_SETTINGS::loadDataSources(), DIALOG_DATABASE_LIB_SETTINGS::storeSource(), DIALOG_DATABASE_LIB_SETTINGS::TransferDataToWindow(), DIALOG_DATABASE_LIB_SETTINGS::updateDsnDriver(), DIALOG_DATABASE_LIB_SETTINGS::updateSourceControls(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 102 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 101 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 100 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 94 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 99 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 79 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), DIALOG_DATABASE_LIB_SETTINGS::OnSettingChanged(), DIALOG_DATABASE_LIB_SETTINGS::TransferDataToWindow(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 92 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS::autofillColumns(), DIALOG_DATABASE_LIB_SETTINGS_BASE(), DIALOG_DATABASE_LIB_SETTINGS::updateColumnWarnings(), DIALOG_DATABASE_LIB_SETTINGS::validateLibraries(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 98 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 69 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), DIALOG_DATABASE_LIB_SETTINGS::settingsSnapshot(), DIALOG_DATABASE_LIB_SETTINGS::TransferDataFromWindow(), DIALOG_DATABASE_LIB_SETTINGS::TransferDataToWindow(), and DIALOG_DATABASE_LIB_SETTINGS::updateSourceControls().
|
protectedinherited |
Definition at line 95 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), DIALOG_DATABASE_LIB_SETTINGS::updateColumnWarnings(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 93 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), DIALOG_DATABASE_LIB_SETTINGS::updateColumnWarnings(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 91 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS::autofillTable(), DIALOG_DATABASE_LIB_SETTINGS_BASE(), DIALOG_DATABASE_LIB_SETTINGS::loadLibrary(), DIALOG_DATABASE_LIB_SETTINGS::refreshTables(), DIALOG_DATABASE_LIB_SETTINGS::storeLibrary(), DIALOG_DATABASE_LIB_SETTINGS::validateLibraries(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 417 of file dialog_shim.h.
Referenced by DIALOG_SHIM(), and OnMove().
|
protectedinherited |
Definition at line 72 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), DIALOG_DATABASE_LIB_SETTINGS::OnInsertDriver(), DIALOG_DATABASE_LIB_SETTINGS::TransferDataToWindow(), DIALOG_DATABASE_LIB_SETTINGS::updateSourceControls(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
private |
settingsSnapshot() when the dialog opened, to tell whether closing loses anything
Definition at line 288 of file dialog_database_lib_settings.h.
Referenced by confirmClose(), and TransferDataToWindow().
|
private |
Definition at line 279 of file dialog_database_lib_settings.h.
Referenced by columnsFor(), and connect().
|
private |
Definition at line 231 of file dialog_database_lib_settings.h.
Referenced by columnsFor(), connect(), ensureSample(), onConnectFinished(), updateDataLabels(), and updatePreview().
|
protectedinherited |
Definition at line 60 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), DIALOG_DATABASE_LIB_SETTINGS::onSplitterIdle(), DIALOG_DATABASE_LIB_SETTINGS::setConnectionStatus(), DIALOG_DATABASE_LIB_SETTINGS::updateDsnDriver(), and DIALOG_DATABASE_LIB_SETTINGS::updateSourceControls().
|
private |
Definition at line 232 of file dialog_database_lib_settings.h.
Referenced by cancelConnect(), connect(), onConnectFinished(), OnTestConnection(), and updatePreview().
|
protectedinherited |
Definition at line 414 of file dialog_shim.h.
Referenced by flushPendingControlChanges(), recordControlChange(), and resetUndoRedoForNewContent().
|
private |
Index into m_settings->m_Tables of the library shown on the Libraries page, or -1.
Definition at line 237 of file dialog_database_lib_settings.h.
Referenced by currentLibrary(), DIALOG_DATABASE_LIB_SETTINGS(), loadLibraryList(), moveLibrary(), OnAddLibrary(), OnDuplicateLibrary(), OnLibraryChanged(), OnLibrarySelected(), OnRemoveLibrary(), TransferDataToWindow(), and validateLibraries().
|
protectedinherited |
Definition at line 413 of file dialog_shim.h.
Referenced by doRedo(), doUndo(), flushPendingControlChanges(), registerUndoRedoHandlers(), and resetUndoRedoForNewContent().
|
protectedinherited |
Definition at line 110 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), DIALOG_DATABASE_LIB_SETTINGS::loadDataGrid(), DIALOG_DATABASE_LIB_SETTINGS::updateDataLabels(), DIALOG_DATABASE_LIB_SETTINGS::~DIALOG_DATABASE_LIB_SETTINGS(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 109 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
private |
Definition at line 277 of file dialog_database_lib_settings.h.
Referenced by loadDataSources(), and updateDsnDriver().
|
private |
Definition at line 228 of file dialog_database_lib_settings.h.
Referenced by chooseSavePath(), cwdDir(), DIALOG_DATABASE_LIB_SETTINGS(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 58 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), and DIALOG_DATABASE_LIB_SETTINGS::onSplitterIdle().
|
protectedinherited |
Definition at line 103 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS::confirmClose(), DIALOG_DATABASE_LIB_SETTINGS_BASE(), DIALOG_DATABASE_LIB_SETTINGS::loadColumnChoices(), DIALOG_DATABASE_LIB_SETTINGS::loadFields(), DIALOG_DATABASE_LIB_SETTINGS::loadLibrary(), DIALOG_DATABASE_LIB_SETTINGS::OnAddField(), DIALOG_DATABASE_LIB_SETTINGS::OnAddUnmappedColumns(), DIALOG_DATABASE_LIB_SETTINGS::OnDataLabelRightClick(), DIALOG_DATABASE_LIB_SETTINGS::OnFieldCellChanged(), DIALOG_DATABASE_LIB_SETTINGS::OnLibrarySelected(), DIALOG_DATABASE_LIB_SETTINGS::OnMoveFieldDown(), DIALOG_DATABASE_LIB_SETTINGS::OnMoveFieldUp(), DIALOG_DATABASE_LIB_SETTINGS::OnRemoveField(), DIALOG_DATABASE_LIB_SETTINGS::swapFields(), DIALOG_DATABASE_LIB_SETTINGS::TransferDataFromWindow(), DIALOG_DATABASE_LIB_SETTINGS::~DIALOG_DATABASE_LIB_SETTINGS(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 382 of file dialog_shim.h.
Referenced by DIALOG_SHIM(), OnActivate(), and OnPaint().
|
private |
Set once OK found a missing table or key, which is then flagged inline.
Definition at line 246 of file dialog_database_lib_settings.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS(), OnAddLibrary(), updateColumnWarnings(), updateTableWarning(), and validateLibraries().
|
protectedinherited |
Definition at line 416 of file dialog_shim.h.
Referenced by DIALOG_SHIM(), doRedo(), doUndo(), onCommandEvent(), onDataViewListChanged(), onGridCellChanged(), onPropertyGridChanged(), onSpinDoubleEvent(), onSpinEvent(), and onStyledTextChanged().
|
protectedinherited |
Definition at line 373 of file dialog_shim.h.
Referenced by CONVERT_SETTINGS_DIALOG::CONVERT_SETTINGS_DIALOG(), DIALOG_CHANGE_SYMBOLS::DIALOG_CHANGE_SYMBOLS(), DIALOG_CONVERT_IMAGE_TO_OUTLINES::DIALOG_CONVERT_IMAGE_TO_OUTLINES(), DIALOG_EXCHANGE_FOOTPRINTS::DIALOG_EXCHANGE_FOOTPRINTS(), DIALOG_EXPORT_2581::DIALOG_EXPORT_2581(), DIALOG_EXPORT_2581::DIALOG_EXPORT_2581(), DIALOG_EXPORT_NETLIST::DIALOG_EXPORT_NETLIST(), DIALOG_EXPORT_ODBPP::DIALOG_EXPORT_ODBPP(), DIALOG_EXPORT_ODBPP::DIALOG_EXPORT_ODBPP(), DIALOG_EXPORT_STEP::DIALOG_EXPORT_STEP(), DIALOG_FOOTPRINT_FIELDS_TABLE::DIALOG_FOOTPRINT_FIELDS_TABLE(), DIALOG_GEN_FOOTPRINT_POSITION::DIALOG_GEN_FOOTPRINT_POSITION(), DIALOG_GEN_FOOTPRINT_POSITION::DIALOG_GEN_FOOTPRINT_POSITION(), DIALOG_GENCAD_EXPORT_OPTIONS::DIALOG_GENCAD_EXPORT_OPTIONS(), DIALOG_GENDRILL::DIALOG_GENDRILL(), DIALOG_GENDRILL::DIALOG_GENDRILL(), DIALOG_GRID_ITEM_PROPERTIES::DIALOG_GRID_ITEM_PROPERTIES(), DIALOG_IMPORT_GFX::DIALOG_IMPORT_GFX(), DIALOG_IMPORT_GRAPHICS::DIALOG_IMPORT_GRAPHICS(), DIALOG_LABEL_PROPERTIES::DIALOG_LABEL_PROPERTIES(), DIALOG_MOVE_EXACT::DIALOG_MOVE_EXACT(), DIALOG_PLOT::DIALOG_PLOT(), DIALOG_PLOT_SCHEMATIC::DIALOG_PLOT_SCHEMATIC(), DIALOG_SHAPE_PROPERTIES::DIALOG_SHAPE_PROPERTIES(), DIALOG_SHAPE_PROPERTIES::DIALOG_SHAPE_PROPERTIES(), DIALOG_SYMBOL_FIELDS_TABLE::DIALOG_SYMBOL_FIELDS_TABLE(), DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES(), DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES(), EDA_LIST_DIALOG::EDA_LIST_DIALOG(), EDA_REORDERABLE_LIST_DIALOG::EDA_REORDERABLE_LIST_DIALOG(), GIT_ADVANCED_DIALOG::GIT_ADVANCED_DIALOG(), LoadControlState(), OptOut(), PAGED_DIALOG::PAGED_DIALOG(), ReloadSashPositions(), resetSize(), SaveControlState(), DIALOG_EXPORT_IDF3::setupDialog(), Show(), WX_MULTI_ENTRY_DIALOG::WX_MULTI_ENTRY_DIALOG(), WX_PT_ENTRY_DIALOG::WX_PT_ENTRY_DIALOG(), WX_TEXT_ENTRY_DIALOG::WX_TEXT_ENTRY_DIALOG(), and WX_UNIT_ENTRY_DIALOG::WX_UNIT_ENTRY_DIALOG().
|
protectedinherited |
Definition at line 56 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), and DIALOG_DATABASE_LIB_SETTINGS::showInfo().
|
protectedinherited |
Definition at line 383 of file dialog_shim.h.
Referenced by DIALOG_SHIM(), forceInitialFocus(), NETLIST_DIALOG_ADD_GENERATOR::NETLIST_DIALOG_ADD_GENERATOR(), and SetInitialFocus().
|
protectedinherited |
Definition at line 396 of file dialog_shim.h.
Referenced by DIALOG_SHIM(), RULE_EDITOR_DIALOG_BASE::finishInitialization(), Show(), and DIALOG_DRC_RULE_EDITOR::TransferDataToWindow().
|
protectedinherited |
Definition at line 384 of file dialog_shim.h.
Referenced by DIALOG_SHIM(), onChildSetFocus(), and ~DIALOG_SHIM().
|
private |
DSN login and keyring password at load, so an untouched login never rewrites the keyring.
Definition at line 264 of file dialog_database_lib_settings.h.
Referenced by TransferDataFromWindow(), and TransferDataToWindow().
|
privateinherited |
Definition at line 85 of file kiway_holder.h.
Referenced by HasKiway(), Kiway(), KIWAY_HOLDER(), and SetKiway().
|
protectedinherited |
Definition at line 83 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), DIALOG_DATABASE_LIB_SETTINGS::loadLibraryList(), DIALOG_DATABASE_LIB_SETTINGS::OnLibraryChanged(), DIALOG_DATABASE_LIB_SETTINGS::OnLibrarySelected(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 80 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), DIALOG_DATABASE_LIB_SETTINGS::loadLibrary(), DIALOG_DATABASE_LIB_SETTINGS::onSplitterIdle(), DIALOG_DATABASE_LIB_SETTINGS::updateLibraryListHints(), and DIALOG_DATABASE_LIB_SETTINGS::updateSymbolExample().
|
private |
Definition at line 229 of file dialog_database_lib_settings.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS(), and updatePreview().
|
private |
Set while controls are filled from the settings, so their change events are ignored.
Definition at line 240 of file dialog_database_lib_settings.h.
Referenced by autofillTable(), DIALOG_DATABASE_LIB_SETTINGS(), loadColumnChoices(), loadDataGrid(), loadDataSources(), loadLibrary(), OnDataCellSelected(), OnLibraryChanged(), OnSettingChanged(), OnSourceChanged(), OnTableChanged(), refreshTables(), and TransferDataToWindow().
|
private |
Columns the user chose this session, keyed like EESCHEMA_SETTINGS::m_DatabaseColumnChoices.
Definition at line 275 of file dialog_database_lib_settings.h.
Referenced by markUserRole(), OnFieldCellChanged(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 415 of file dialog_shim.h.
Referenced by ExcludeFromControlUndoRedo(), and registerUndoRedoHandlers().
|
protectedinherited |
Definition at line 59 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), and DIALOG_DATABASE_LIB_SETTINGS::validateLibraries().
|
protectedinherited |
Definition at line 391 of file dialog_shim.h.
Referenced by DIALOG_MAP_LAYERS::DIALOG_MAP_LAYERS(), DIALOG_SHIM(), focusParentCanvas(), DIALOG_FIELDS_TABLE::onBomSettingsChanged(), OnCharHook(), DIALOG_LIB_SYMBOL_PROPERTIES::OnEditSpiceModel(), DIALOG_SYMBOL_PROPERTIES::OnEditSpiceModel(), DIALOG_FIELDS_TABLE::OnExport(), DIALOG_FIELDS_TABLE::OnOutputFileBrowseClicked(), DIALOG_PAGES_SETTINGS::OnWksFileSelection(), DIALOG_PAD_PROPERTIES::padValuesOK(), DIALOG_MAP_LAYERS::RunModal(), DIALOG_LABEL_PROPERTIES::TransferDataFromWindow(), DIALOG_ANNOTATE::TransferDataToWindow(), DIALOG_POSITION_RELATIVE::updateAnchorInfo(), and DIALOG_ANNOTATE::~DIALOG_ANNOTATE().
|
private |
Definition at line 227 of file dialog_database_lib_settings.h.
Referenced by chooseSavePath(), confirmClose(), cwdDir(), GetSettingsPath(), and TransferDataFromWindow().
|
private |
Definition at line 233 of file dialog_database_lib_settings.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS(), OnDataCellSelected(), and updatePreview().
|
private |
Coalesces edits into one preview refresh.
Definition at line 252 of file dialog_database_lib_settings.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS(), markDirty(), and ~DIALOG_DATABASE_LIB_SETTINGS().
|
private |
Problems found while building the preview symbols, shown on the icons of the fields they came from.
Definition at line 258 of file dialog_database_lib_settings.h.
Referenced by previewIssues(), and updatePreview().
|
protectedinherited |
Definition at line 112 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 113 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 386 of file dialog_shim.h.
Referenced by DIALOG_SHIM(), EndQuasiModal(), and ShowQuasiModal().
|
protectedinherited |
Definition at line 389 of file dialog_shim.h.
Referenced by CleanupAfterModalSubDialog(), DIALOG_SHIM(), EndQuasiModal(), PrepareForModalSubDialog(), ShowQuasiModal(), and ~DIALOG_SHIM().
|
protectedinherited |
Definition at line 388 of file dialog_shim.h.
Referenced by DIALOG_SHIM(), IsQuasiModal(), and ShowQuasiModal().
|
protectedinherited |
Definition at line 70 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), DIALOG_DATABASE_LIB_SETTINGS::storeSource(), DIALOG_DATABASE_LIB_SETTINGS::TransferDataToWindow(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 63 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), DIALOG_DATABASE_LIB_SETTINGS::TransferDataToWindow(), DIALOG_DATABASE_LIB_SETTINGS::updateSourceControls(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 412 of file dialog_shim.h.
Referenced by doRedo(), doUndo(), flushPendingControlChanges(), and resetUndoRedoForNewContent().
|
private |
One per entry of m_roles.
Definition at line 261 of file dialog_database_lib_settings.h.
Referenced by updateColumnWarnings().
|
private |
Definition at line 234 of file dialog_database_lib_settings.h.
Referenced by autofillColumns(), loadColumnChoices(), loadLibrary(), OnAddUnmappedColumns(), OnDataLabelRightClick(), OnLibraryChanged(), storeLibrary(), updateAutofillStyle(), updateColumnWarnings(), and updateDataLabels().
|
private |
Definition at line 283 of file dialog_database_lib_settings.h.
Referenced by connect(), ensureSample(), loadDataGrid(), OnDataLabelRightClick(), updateDataLabels(), and updatePreview().
|
private |
Definition at line 285 of file dialog_database_lib_settings.h.
Referenced by autofillColumns(), connect(), ensureSample(), and updateColumnWarnings().
|
private |
Definition at line 284 of file dialog_database_lib_settings.h.
Referenced by connect(), ensureSample(), loadDataGrid(), OnDataCellSelected(), updateColumnWarnings(), updateDataLabels(), updatePreview(), and updateSymbolExample().
|
private |
Rows of m_sampleTable shared by the Data page and the preview.
Definition at line 282 of file dialog_database_lib_settings.h.
Referenced by autofillColumns(), connect(), ensureSample(), loadDataGrid(), OnDataLabelRightClick(), updateColumnWarnings(), updateDataLabels(), and updateSymbolExample().
|
protectedinherited |
Definition at line 114 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 116 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 115 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
private |
Definition at line 230 of file dialog_database_lib_settings.h.
Referenced by chooseSavePath(), connect(), currentLibrary(), loadLibraryList(), moveLibrary(), OnAddLibrary(), onConnectFinished(), OnDataCellSelected(), OnDuplicateLibrary(), OnRemoveLibrary(), OnSettingChanged(), settingsSnapshot(), storeSource(), TransferDataFromWindow(), TransferDataToWindow(), updateLibraryListHints(), updatePreview(), updateSymbolExample(), and validateLibraries().
|
protectedinherited |
Definition at line 78 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), DIALOG_DATABASE_LIB_SETTINGS::OnSettingChanged(), DIALOG_DATABASE_LIB_SETTINGS::TransferDataToWindow(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 77 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), DIALOG_DATABASE_LIB_SETTINGS::OnSettingChanged(), DIALOG_DATABASE_LIB_SETTINGS::TransferDataToWindow(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 74 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), DIALOG_DATABASE_LIB_SETTINGS::storeSource(), DIALOG_DATABASE_LIB_SETTINGS::TransferDataToWindow(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 57 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), m_splitterOnIdle(), and DIALOG_DATABASE_LIB_SETTINGS::onSplitterIdle().
|
protectedinherited |
Definition at line 76 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), and DIALOG_DATABASE_LIB_SETTINGS::setConnectionStatus().
|
protectedinherited |
Definition at line 73 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS::chooseSavePath(), DIALOG_DATABASE_LIB_SETTINGS_BASE(), and DIALOG_DATABASE_LIB_SETTINGS::updateSourceControls().
|
protectedinherited |
Definition at line 111 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), and DIALOG_DATABASE_LIB_SETTINGS::updateDataLabels().
|
protectedinherited |
Definition at line 65 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), and DIALOG_DATABASE_LIB_SETTINGS::updateDsnDriver().
|
protectedinherited |
Definition at line 81 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), and DIALOG_DATABASE_LIB_SETTINGS::updateLibraryListHints().
|
protectedinherited |
Definition at line 96 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 90 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), and DIALOG_DATABASE_LIB_SETTINGS::updateSymbolExample().
|
private |
Why the table could not be read, shown on the table warning icon.
Definition at line 255 of file dialog_database_lib_settings.h.
Referenced by updatePreview(), and updateTableWarning().
|
private |
Definition at line 260 of file dialog_database_lib_settings.h.
Referenced by updateTableWarning().
|
private |
Definition at line 278 of file dialog_database_lib_settings.h.
Referenced by autofillColumns(), autofillTable(), connect(), onConnectFinished(), OnTableChanged(), refreshTables(), and updateColumnWarnings().
|
protectedinherited |
Definition at line 393 of file dialog_shim.h.
Referenced by DIALOG_FOOTPRINT_PROPERTIES::DIALOG_FOOTPRINT_PROPERTIES(), DIALOG_MOVE_EXACT::DIALOG_MOVE_EXACT(), DIALOG_PIN_PROPERTIES::DIALOG_PIN_PROPERTIES(), DIALOG_POSITION_RELATIVE::DIALOG_POSITION_RELATIVE(), DIALOG_SCH_FIND::DIALOG_SCH_FIND(), DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES(), and OnCharHook().
|
protectedinherited |
Definition at line 71 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), DIALOG_DATABASE_LIB_SETTINGS::OnInsertDriver(), DIALOG_DATABASE_LIB_SETTINGS::storeSource(), DIALOG_DATABASE_LIB_SETTINGS::TransferDataToWindow(), DIALOG_DATABASE_LIB_SETTINGS::updateSourceControls(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 62 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), DIALOG_DATABASE_LIB_SETTINGS::OnSettingChanged(), DIALOG_DATABASE_LIB_SETTINGS::TransferDataToWindow(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 89 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), DIALOG_DATABASE_LIB_SETTINGS::loadLibrary(), DIALOG_DATABASE_LIB_SETTINGS::OnAddLibrary(), DIALOG_DATABASE_LIB_SETTINGS::OnLibraryChanged(), DIALOG_DATABASE_LIB_SETTINGS::storeLibrary(), DIALOG_DATABASE_LIB_SETTINGS::validateLibraries(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 61 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), DIALOG_DATABASE_LIB_SETTINGS::OnSettingChanged(), DIALOG_DATABASE_LIB_SETTINGS::TransferDataToWindow(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 68 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), DIALOG_DATABASE_LIB_SETTINGS::storeSource(), DIALOG_DATABASE_LIB_SETTINGS::TransferDataToWindow(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
protectedinherited |
Definition at line 67 of file dialog_database_lib_settings_base.h.
Referenced by DIALOG_DATABASE_LIB_SETTINGS_BASE(), DIALOG_DATABASE_LIB_SETTINGS::storeSource(), DIALOG_DATABASE_LIB_SETTINGS::TransferDataToWindow(), and ~DIALOG_DATABASE_LIB_SETTINGS_BASE().
|
privateinherited |
Definition at line 86 of file kiway_holder.h.
Referenced by GetType(), and KIWAY_HOLDER().
|
protectedinherited |
Definition at line 411 of file dialog_shim.h.
Referenced by doRedo(), doUndo(), flushPendingControlChanges(), and resetUndoRedoForNewContent().
|
protectedinherited |
Definition at line 402 of file dialog_shim.h.
Referenced by LoadControlState(), RegisterUnitBinder(), SaveControlState(), UnregisterUnitBinder(), unregisterUnitBinders(), and ~DIALOG_SHIM().
|
protectedinherited |
Definition at line 372 of file dialog_shim.h.
Referenced by DIALOG_GEN_FOOTPRINT_POSITION::DIALOG_GEN_FOOTPRINT_POSITION(), DIALOG_SHIM(), GetUserUnits(), DIALOG_GEN_FOOTPRINT_POSITION::onGenerate(), and DIALOG_GENERATORS::onUnitsChanged().
|
private |
True until a new library has been given a file.
Definition at line 243 of file dialog_database_lib_settings.h.
Referenced by confirmClose(), DIALOG_DATABASE_LIB_SETTINGS(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 377 of file dialog_shim.h.
Referenced by DIALOG_TRACK_VIA_PROPERTIES::commonInit(), DIALOG_SHIM(), PCB_ONE_LAYER_SELECTOR::PCB_ONE_LAYER_SELECTOR(), and Show().
|
protectedinherited |
Definition at line 397 of file dialog_shim.h.
Referenced by DIALOG_SHIM(), OnMove(), and Show().
|
protectedinherited |
Definition at line 398 of file dialog_shim.h.
Referenced by DIALOG_SHIM(), OnSize(), and Show().
|
private |
Role combos the user set for the current library, which autofill leaves alone.
Definition at line 272 of file dialog_database_lib_settings.h.
Referenced by autofillColumns(), loadLibrary(), and markUserRole().