Difference between revisions of "Dialog"
Jump to navigation
Jump to search
Romain2Boss (talk | contribs) (Created page with "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 [http://...") |
(No difference)
|
Revision as of 11:24, 25 August 2013
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: The About Inkscape dialog
- Align and Distribute Dialog: The 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
- Class Inkscape::UI::Dialog::DebugDialog
- Class Inkscape::UI::Dialog::DesktopTracker
- Class Inkscape::UI::Dialog::Dialog
- Class Inkscape::UI::Dialog::DialogManager
- Class Inkscape::UI::Dialog::DocumentMetadata: The Document metadatas dialog
- Class Inkscape::UI::Dialog::DocumentProperties: The 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
- Class Inkscape::UI::Dialog::InkscapePreferences: The Inkscape preferences dialog
- Class Inkscape::UI::Dialog::InputDialog
- Layer Dialog
- Class Inkscape::UI::Dialog::LayerPropertiesDialog: The 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: The 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
- Class Inkscape::UI::Dialog::TraceDialog
- Class Inkscape::UI::Dialog::Transformation
- Class Inkscape::UI::Dialog::UndoHistory: The 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.