Dialog
Jump to navigation
Jump to search
By extension, a dialog in Inkscape vocabulary is any type of window, i.e. a set of widgets with an OS decoration, a title...
Location
All dialogs are in src/ui/dialog (except for old dialogs).
Listing
- About Dialog
- Align and Distribute Dialog
- Class Inkscape::UI::Dialog::Behavior::Behavior
- Class Inkscape::UI::Dialog::Behavior::DockBehavior
- Class Inkscape::UI::Dialog::Behavior::FloatingBehavior
- Class Inkscape::UI::Dialog::CaligraphicProfileRename
- Close Dialog
- Class Inkscape::UI::Dialog::ColorItem
- Debug Dialog
- Class Inkscape::UI::Dialog::DesktopTracker
- Class Inkscape::UI::Dialog::Dialog
- Class Inkscape::UI::Dialog::DialogManager
- Document Metadatas Dialog
- Document Properties Dialog
- Class Inkscape::UI::Dialog::ExtensionEditor
- Class Inkscape::UI::Dialog::ExtensionPanel
- Export Bitmap Dialog
- Class Inkscape::UI::Dialog::FileDialogBaseGtk
- Class Inkscape::UI::Dialog::FileDialogBaseWin32
- Class Inkscape::UI::Dialog::FileDialogOCALBase
- Class Inkscape::UI::Dialog::FileImportFromOCALDialog
- Class Inkscape::UI::Dialog::FileListViewText
- Class Inkscape::UI::Dialog::FileOpenDialog
- Class Inkscape::UI::Dialog::FileOpenDialogImplGtk
- Class Inkscape::UI::Dialog::FileSaveDialog
- Class Inkscape::UI::Dialog::FileSaveDialogImplGtk
- Class Inkscape::UI::Dialog::FileOpenDialogImplWin32
- Class Inkscape::UI::Dialog::FileSaveDialogImplWin32
- Class Inkscape::UI::Dialog::FileExportDialog
- Class Inkscape::UI::Dialog::FileExportDialogImpl
- Stroke Dialog
- Class Inkscape::UI::Dialog::FilterEffectsDialog
- Find Dialog
- Class Inkscape::UI::Dialog::GlyphsPanel
- Class Inkscape::UI::Dialog::GuidelinePropertiesDialog
- Class Inkscape::UI::Dialog::IconPreviewPanel
- Image Properties Dialog
- Inkscape Preferences Dialog
- Class Inkscape::UI::Dialog::InputDialog
- Layer Dialog
- Layer Properties Dialog
- Class Inkscape::UI::Dialog::LayersPanel
- Class Inkscape::UI::Dialog::LivePathEffectEditor
- New Document Dialog
- Memory Dialog
- Messages Dialog
- OCAL Dialog
- Class Inkscape::UI::Dialog::PanelDialogBase
- Print Dialog
- Class Inkscape::UI::Dialog::PrintColorsPreviewDialog
- Script Dialog
- Class Inkscape::UI::Dialog::SvgFontsDialog
- Class Inkscape::UI::Dialog::SVGPreview
- Class Inkscape::UI::Dialog::SwatchesPanel
- Symbols Dialog
- Tablet Dialog
- Text Dialog
- Tile Dialog
- Trace Bitmap Dialog:
- Class Inkscape::UI::Dialog::Transformation
- Undo History Dialog
Dialogs that have not yet been rewritted can be found in src/dialogs.
Re-designs
- Andrews Big Dialog Re-Design
- Andrews Big Dialog Re-Design/Embed or Link
- FindReplaceDialog
- DialogsReorganization
Create a new dialog
Creating a new dialog requires the following steps:
- Create a new dialog in src/ui/dialogs (you can find inspiration from the existing dialogs).
- Register your dialog in src/dialogs/dialog-manager.cpp.
- In src/verbs.cpp, create a new verb (new DialogVerb) and associate it (DialogVerb::perform) with the dialog's registered name to perform the appropriate action. Also include your dialog's header in the verbs.cpp file.
- If needed, map the new verb to the preferences (SPDesktop::show_dialogs() in src/desktop.cpp).
- Call the dialog from the appropriate location with dt->_dlg_mgr->showDialog("mydialog"), dt being the current SPDesktop.