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://...") |
Romain2Boss (talk | contribs) m (→Listing) |
||
Line 7: | Line 7: | ||
== Listing == | == Listing == | ||
* [[About Dialog]] | * [[About Dialog]] | ||
* [[Align and Distribute Dialog]] | * [[Align and Distribute Dialog]] | ||
* [[Class Inkscape::UI::Dialog::Behavior::Behavior]] | * [[Class Inkscape::UI::Dialog::Behavior::Behavior]] | ||
* [[Class Inkscape::UI::Dialog::Behavior::DockBehavior]] | * [[Class Inkscape::UI::Dialog::Behavior::DockBehavior]] | ||
Line 15: | Line 15: | ||
* [[Close Dialog]] | * [[Close Dialog]] | ||
* [[Class Inkscape::UI::Dialog::ColorItem]] | * [[Class Inkscape::UI::Dialog::ColorItem]] | ||
* [[ | * [[Debug Dialog]] | ||
* [[Class Inkscape::UI::Dialog::DesktopTracker]] | * [[Class Inkscape::UI::Dialog::DesktopTracker]] | ||
* [[Class Inkscape::UI::Dialog::Dialog]] | * [[Class Inkscape::UI::Dialog::Dialog]] | ||
* [[Class Inkscape::UI::Dialog::DialogManager]] | * [[Class Inkscape::UI::Dialog::DialogManager]] | ||
* [[ | * [[Document Metadatas Dialog]] | ||
** [[Andrews Big Dialog Re-Design/Document Metadata]] | ** [[Andrews Big Dialog Re-Design/Document Metadata]] | ||
* [[ | * [[Document Properties Dialog]] | ||
* [[Class Inkscape::UI::Dialog::ExtensionEditor]] | * [[Class Inkscape::UI::Dialog::ExtensionEditor]] | ||
* [[Class Inkscape::UI::Dialog::ExtensionPanel]] | * [[Class Inkscape::UI::Dialog::ExtensionPanel]] | ||
Line 49: | Line 49: | ||
* [[Image Properties Dialog]] | * [[Image Properties Dialog]] | ||
** [[Image properties dialog enhancements]] | ** [[Image properties dialog enhancements]] | ||
* [[ | * [[Inkscape Preferences Dialog]] | ||
* [[Class Inkscape::UI::Dialog::InputDialog]] | * [[Class Inkscape::UI::Dialog::InputDialog]] | ||
* [[Layer Dialog]] | * [[Layer Dialog]] | ||
* [[ | * [[Layer Properties Dialog]] | ||
* [[Class Inkscape::UI::Dialog::LayersPanel]] | * [[Class Inkscape::UI::Dialog::LayersPanel]] | ||
* [[Class Inkscape::UI::Dialog::LivePathEffectEditor]] | * [[Class Inkscape::UI::Dialog::LivePathEffectEditor]] | ||
Line 62: | Line 62: | ||
** [[Andrews Big Dialog Re-Design/OCAL]] | ** [[Andrews Big Dialog Re-Design/OCAL]] | ||
* [[Class Inkscape::UI::Dialog::PanelDialogBase]] | * [[Class Inkscape::UI::Dialog::PanelDialogBase]] | ||
* [[Print Dialog]] | * [[Print Dialog]] | ||
* [[Class Inkscape::UI::Dialog::PrintColorsPreviewDialog]] | * [[Class Inkscape::UI::Dialog::PrintColorsPreviewDialog]] | ||
* [[Script Dialog]] | * [[Script Dialog]] | ||
Line 72: | Line 72: | ||
* [[Text Dialog]] | * [[Text Dialog]] | ||
* [[Tile Dialog]] | * [[Tile Dialog]] | ||
* [[ | * [[Trace Bitmap Dialog]]: | ||
** [[Trace Bitmap Dialog Re-Design]] | ** [[Trace Bitmap Dialog Re-Design]] | ||
* [[Class Inkscape::UI::Dialog::Transformation]] | * [[Class Inkscape::UI::Dialog::Transformation]] | ||
* [[ | * [[Undo History Dialog]] | ||
Dialogs that have not yet been rewritted can be found in [http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/files/head%3A/src/dialogs src/dialogs]. | Dialogs that have not yet been rewritted can be found in [http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/files/head%3A/src/dialogs src/dialogs]. |
Latest revision as of 11:43, 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
- 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.