├── .gitignore
├── CMakeLists.txt
├── README.md
├── designer.qrc
├── designer.rc
├── forms
├── action_editor_new.ui
├── designer_deviceprofile.ui
├── designer_form_settings.ui
├── designer_gridpanel.ui
├── designer_options.ui
├── designer_preferences.ui
├── designer_toolbar.ui
├── edit_dynamicproperty.ui
├── edit_itemlist.ui
├── edit_pageorder.ui
├── edit_palette.ui
├── edit_stringlist.ui
├── edit_stylesheet.ui
├── edit_tablewidget.ui
├── edit_treewidget.ui
├── formlayout_addrow.ui
├── gradient_dialog.ui
├── gradient_editor.ui
├── gradient_select.ui
├── gradient_view.ui
├── new_form_widget.ui
├── plugin_dialog.ui
├── preview_configuration.ui
├── preview_widget.ui
├── resource_editor.ui
├── richtext_addlink.ui
├── signal_connect_dialog.ui
├── signal_select_dialog.ui
├── signal_slot_dialog.ui
├── template_options.ui
└── template_saveform_as.ui
├── resources
├── Info.plist
├── defaultbrushes.xml
├── defaultgradients.xml
├── designer.icns
├── designer.ico
├── designer.png
├── designer_de.qm
├── designer_de.ts
├── designer_en.qm
├── designer_en.ts
├── designer_es.qm
├── designer_es.ts
├── designer_fr.qm
├── designer_fr.ts
├── designer_nl.qm
├── designer_nl.ts
├── designer_pl.qm
├── designer_pl.ts
├── designer_ru.qm
├── designer_ru.ts
├── findwidget
│ └── images
│ │ ├── mac
│ │ ├── closetab.png
│ │ ├── next.png
│ │ ├── previous.png
│ │ └── searchfind.png
│ │ ├── win
│ │ ├── closetab.png
│ │ ├── next.png
│ │ ├── previous.png
│ │ └── searchfind.png
│ │ └── wrap.png
├── form_editor
│ └── images
│ │ ├── cleartext.png
│ │ ├── color.png
│ │ ├── configure.png
│ │ ├── cslogo-32.png
│ │ ├── cslogo-64.png
│ │ ├── cursors
│ │ ├── arrow.png
│ │ ├── busy.png
│ │ ├── closedhand.png
│ │ ├── cross.png
│ │ ├── hand.png
│ │ ├── hsplit.png
│ │ ├── ibeam.png
│ │ ├── no.png
│ │ ├── openhand.png
│ │ ├── sizeall.png
│ │ ├── sizeb.png
│ │ ├── sizef.png
│ │ ├── sizeh.png
│ │ ├── sizev.png
│ │ ├── uparrow.png
│ │ ├── vsplit.png
│ │ ├── wait.png
│ │ └── whatsthis.png
│ │ ├── downplus.png
│ │ ├── dropdownbutton.png
│ │ ├── edit.png
│ │ ├── editdelete-16.png
│ │ ├── emptyicon.png
│ │ ├── filenew-16.png
│ │ ├── fileopen-16.png
│ │ ├── leveldown.png
│ │ ├── levelup.png
│ │ ├── mac
│ │ ├── adjustsize.png
│ │ ├── back.png
│ │ ├── buddytool.png
│ │ ├── down.png
│ │ ├── editbreaklayout.png
│ │ ├── editcopy.png
│ │ ├── editcut.png
│ │ ├── editdelete.png
│ │ ├── editform.png
│ │ ├── editgrid.png
│ │ ├── edithlayout.png
│ │ ├── edithlayoutsplit.png
│ │ ├── editlower.png
│ │ ├── editpaste.png
│ │ ├── editraise.png
│ │ ├── editvlayout.png
│ │ ├── editvlayoutsplit.png
│ │ ├── filenew.png
│ │ ├── fileopen.png
│ │ ├── filesave.png
│ │ ├── forward.png
│ │ ├── insertimage.png
│ │ ├── minus.png
│ │ ├── plus.png
│ │ ├── redo.png
│ │ ├── resetproperty.png
│ │ ├── resourceeditortool.png
│ │ ├── signalslottool.png
│ │ ├── simplifyrichtext.png
│ │ ├── tabordertool.png
│ │ ├── textanchor.png
│ │ ├── textbold.png
│ │ ├── textcenter.png
│ │ ├── textitalic.png
│ │ ├── textjustify.png
│ │ ├── textleft.png
│ │ ├── textright.png
│ │ ├── textsubscript.png
│ │ ├── textsuperscript.png
│ │ ├── textunder.png
│ │ ├── undo.png
│ │ ├── up.png
│ │ └── widgettool.png
│ │ ├── minus-16.png
│ │ ├── plus-16.png
│ │ ├── prefix-add.png
│ │ ├── reload.png
│ │ ├── resetproperty.png
│ │ ├── righttoleft.png
│ │ ├── scratchpad-32.png
│ │ ├── scratchpad-64.png
│ │ ├── sort.png
│ │ ├── submenu.png
│ │ ├── widgets
│ │ ├── calendarwidget.png
│ │ ├── checkbox.png
│ │ ├── columnview.png
│ │ ├── combobox.png
│ │ ├── commandlinkbutton.png
│ │ ├── dateedit.png
│ │ ├── datetimeedit.png
│ │ ├── dial.png
│ │ ├── dialogbuttonbox.png
│ │ ├── dockwidget.png
│ │ ├── doublespinbox.png
│ │ ├── fontcombobox.png
│ │ ├── frame.png
│ │ ├── graphicsview.png
│ │ ├── groupbox.png
│ │ ├── groupboxcollapsible.png
│ │ ├── hscrollbar.png
│ │ ├── hslider.png
│ │ ├── hsplit.png
│ │ ├── label.png
│ │ ├── lcdnumber.png
│ │ ├── line.png
│ │ ├── lineedit.png
│ │ ├── listbox.png
│ │ ├── listview.png
│ │ ├── mdiarea.png
│ │ ├── plaintextedit.png
│ │ ├── progress.png
│ │ ├── pushbutton.png
│ │ ├── radiobutton.png
│ │ ├── scrollarea.png
│ │ ├── spacer.png
│ │ ├── spinbox.png
│ │ ├── tabbar.png
│ │ ├── table.png
│ │ ├── tabwidget.png
│ │ ├── textedit.png
│ │ ├── timeedit.png
│ │ ├── toolbox.png
│ │ ├── toolbutton.png
│ │ ├── vline.png
│ │ ├── vscrollbar.png
│ │ ├── vslider.png
│ │ ├── vspacer.png
│ │ ├── widget.png
│ │ ├── widgetstack.png
│ │ └── wizard.png
│ │ └── win
│ │ ├── adjustsize.png
│ │ ├── back.png
│ │ ├── buddytool.png
│ │ ├── down.png
│ │ ├── editbreaklayout.png
│ │ ├── editcopy.png
│ │ ├── editcut.png
│ │ ├── editdelete.png
│ │ ├── editform.png
│ │ ├── editgrid.png
│ │ ├── edithlayout.png
│ │ ├── edithlayoutsplit.png
│ │ ├── editlower.png
│ │ ├── editpaste.png
│ │ ├── editraise.png
│ │ ├── editvlayout.png
│ │ ├── editvlayoutsplit.png
│ │ ├── filenew.png
│ │ ├── fileopen.png
│ │ ├── filesave.png
│ │ ├── forward.png
│ │ ├── insertimage.png
│ │ ├── minus.png
│ │ ├── plus.png
│ │ ├── redo.png
│ │ ├── resourceeditortool.png
│ │ ├── signalslottool.png
│ │ ├── simplifyrichtext.png
│ │ ├── tabordertool.png
│ │ ├── textanchor.png
│ │ ├── textbold.png
│ │ ├── textcenter.png
│ │ ├── textitalic.png
│ │ ├── textjustify.png
│ │ ├── textleft.png
│ │ ├── textright.png
│ │ ├── textsubscript.png
│ │ ├── textsuperscript.png
│ │ ├── textunder.png
│ │ ├── undo.png
│ │ ├── up.png
│ │ └── widgettool.png
├── gradient_editor
│ └── images
│ │ ├── down.png
│ │ ├── edit.png
│ │ ├── editdelete.png
│ │ ├── minus.png
│ │ ├── plus.png
│ │ ├── spreadpad.png
│ │ ├── spreadreflect.png
│ │ ├── spreadrepeat.png
│ │ ├── typeconical.png
│ │ ├── typelinear.png
│ │ ├── typeradial.png
│ │ ├── up.png
│ │ ├── zoomin.png
│ │ └── zoomout.png
├── property_browser
│ └── images
│ │ ├── cursor-arrow.png
│ │ ├── cursor-busy.png
│ │ ├── cursor-closedhand.png
│ │ ├── cursor-cross.png
│ │ ├── cursor-forbidden.png
│ │ ├── cursor-hand.png
│ │ ├── cursor-hsplit.png
│ │ ├── cursor-ibeam.png
│ │ ├── cursor-openhand.png
│ │ ├── cursor-sizeall.png
│ │ ├── cursor-sizeb.png
│ │ ├── cursor-sizef.png
│ │ ├── cursor-sizeh.png
│ │ ├── cursor-sizev.png
│ │ ├── cursor-uparrow.png
│ │ ├── cursor-vsplit.png
│ │ ├── cursor-wait.png
│ │ └── cursor-whatsthis.png
├── templates
│ ├── Dialog_with_Buttons_Bottom.ui
│ ├── Dialog_with_Buttons_Right.ui
│ ├── Dialog_without_Buttons.ui
│ ├── Main_Window.ui
│ └── Widget.ui
├── toolbar_dialog
│ └── images
│ │ ├── back.png
│ │ ├── down.png
│ │ ├── forward.png
│ │ ├── minus.png
│ │ ├── plus.png
│ │ └── up.png
└── widgetbox.xml
└── src
├── CMakeLists.txt
├── abstract
├── abstract.cmake
├── abstract_actioneditor.cpp
├── abstract_actioneditor.h
├── abstract_dialoggui.cpp
├── abstract_dialoggui.h
├── abstract_dnditem.h
├── abstract_formeditor.cpp
├── abstract_formeditor.h
├── abstract_formeditorplugin.cpp
├── abstract_formeditorplugin.h
├── abstract_formwindow.cpp
├── abstract_formwindow.h
├── abstract_formwindowcursor.cpp
├── abstract_formwindowcursor.h
├── abstract_formwindowmanager.cpp
├── abstract_formwindowmanager.h
├── abstract_formwindowtool.cpp
├── abstract_formwindowtool.h
├── abstract_integration.cpp
├── abstract_integration.h
├── abstract_introspection.cpp
├── abstract_introspection.h
├── abstract_language.h
├── abstract_metadatabase.cpp
├── abstract_metadatabase.h
├── abstract_newformwidget.cpp
├── abstract_newformwidget.h
├── abstract_objectinspector.cpp
├── abstract_objectinspector.h
├── abstract_optionspage.h
├── abstract_promotioninterface.cpp
├── abstract_promotioninterface.h
├── abstract_propertyeditor.cpp
├── abstract_propertyeditor.h
├── abstract_resourcebrowser.cpp
├── abstract_resourcebrowser.h
├── abstract_settings.h
├── abstract_widgetbox.cpp
├── abstract_widgetbox.h
├── abstract_widgetdatabase.cpp
├── abstract_widgetdatabase.h
├── abstract_widgetfactory.cpp
└── abstract_widgetfactory.h
├── designer
├── designer.cmake
├── designer.cpp
├── designer.h
├── designer_actions.cpp
├── designer_actions.h
├── designer_appearanceoptions.cpp
├── designer_appearanceoptions.h
├── designer_command.cpp
├── designer_command.h
├── designer_components.cpp
├── designer_components.h
├── designer_dnditem.cpp
├── designer_dnditem.h
├── designer_dockwidget.cpp
├── designer_dockwidget.h
├── designer_enums.h
├── designer_formbuilder.cpp
├── designer_formbuilder.h
├── designer_formeditor_command.cpp
├── designer_formeditor_command.h
├── designer_formwindow.cpp
├── designer_formwindow.h
├── designer_formwindow_command.cpp
├── designer_formwindow_command.h
├── designer_formwindow_manager.cpp
├── designer_formwindow_manager.h
├── designer_introspection.cpp
├── designer_introspection.h
├── designer_membersheet.cpp
├── designer_membersheet.h
├── designer_menu.cpp
├── designer_menu.h
├── designer_menubar.cpp
├── designer_menubar.h
├── designer_object_inspector.cpp
├── designer_object_inspector.h
├── designer_promotion.cpp
├── designer_promotion.h
├── designer_promotion_dialog.cpp
├── designer_promotion_dialog.h
├── designer_property_command.cpp
├── designer_property_command.h
├── designer_property_editor.cpp
├── designer_property_editor.h
├── designer_propertysheet.cpp
├── designer_propertysheet.h
├── designer_qsettings.cpp
├── designer_qsettings.h
├── designer_resource.cpp
├── designer_resource.h
├── designer_server.cpp
├── designer_server.h
├── designer_settings.cpp
├── designer_settings.h
├── designer_stackedbox.cpp
├── designer_stackedbox.h
├── designer_tabwidget.cpp
├── designer_tabwidget.h
├── designer_taskmenu.cpp
├── designer_taskmenu.h
├── designer_toolbar.cpp
├── designer_toolbar.h
├── designer_toolbox.cpp
├── designer_toolbox.h
├── designer_toolwindow.cpp
├── designer_toolwindow.h
├── designer_utils.cpp
├── designer_utils.h
├── designer_widget.cpp
├── designer_widget.h
├── designer_widgetbox.cpp
├── designer_widgetbox.h
├── designer_widgetitem.cpp
├── designer_widgetitem.h
├── designer_workbench.cpp
└── designer_workbench.h
├── designer_build_info.h.in
├── dialogs
├── appfont_dialog.cpp
├── appfont_dialog.h
├── code_dialog.cpp
├── code_dialog.h
├── dialogs.cmake
├── newaction_dialog.cpp
├── newaction_dialog.h
├── newform.cpp
├── newform.h
├── newform_widget.cpp
├── newform_widget.h
├── order_dialog.cpp
├── order_dialog.h
├── preferences_dialog.cpp
├── preferences_dialog.h
├── saveform_as_template.cpp
├── saveform_as_template.h
├── signalslot_dialog.cpp
├── signalslot_dialog.h
├── toolbar_dialog.cpp
└── toolbar_dialog.h
├── editor
├── action_editor
│ ├── action_editor.cpp
│ ├── action_editor.h
│ ├── action_provider.h
│ ├── action_repository.cpp
│ └── action_repository.h
├── buddy_editor
│ ├── buddyeditor.cpp
│ ├── buddyeditor.h
│ ├── buddyeditor_plugin.cpp
│ ├── buddyeditor_plugin.h
│ ├── buddyeditor_tool.cpp
│ └── buddyeditor_tool.h
├── editor.cmake
├── form_editor
│ ├── default_actionprovider.cpp
│ ├── default_actionprovider.h
│ ├── default_container.cpp
│ ├── default_container.h
│ ├── default_layoutdecoration.cpp
│ ├── default_layoutdecoration.h
│ ├── deviceprofiledialog.cpp
│ ├── deviceprofiledialog.h
│ ├── dpi_chooser.cpp
│ ├── dpi_chooser.h
│ ├── embedded_options_page.cpp
│ ├── embedded_options_page.h
│ ├── formeditor.cpp
│ ├── formeditor.h
│ ├── formeditor_optionspage.cpp
│ ├── formeditor_optionspage.h
│ ├── formwindow.cpp
│ ├── formwindow.h
│ ├── formwindow_dnditem.cpp
│ ├── formwindow_dnditem.h
│ ├── formwindow_widgetstack.cpp
│ ├── formwindow_widgetstack.h
│ ├── formwindowcursor.cpp
│ ├── formwindowcursor.h
│ ├── formwindowmanager.cpp
│ ├── formwindowmanager.h
│ ├── formwindowsettings.cpp
│ ├── formwindowsettings.h
│ ├── itemview_propertysheet.cpp
│ ├── itemview_propertysheet.h
│ ├── layout_propertysheet.cpp
│ ├── layout_propertysheet.h
│ ├── layoutwidget_propertysheet.cpp
│ ├── layoutwidget_propertysheet.h
│ ├── line_propertysheet.cpp
│ ├── line_propertysheet.h
│ ├── mainwindow_container.cpp
│ ├── mainwindow_container.h
│ ├── mdi_area_container.cpp
│ ├── mdi_area_container.h
│ ├── previewactiongroup.cpp
│ ├── previewactiongroup.h
│ ├── spacer_propertysheet.cpp
│ ├── spacer_propertysheet.h
│ ├── templateoptionspage.cpp
│ ├── templateoptionspage.h
│ ├── tool_widgeteditor.cpp
│ ├── tool_widgeteditor.h
│ ├── undostack.cpp
│ ├── undostack.h
│ ├── widgetselection.cpp
│ ├── widgetselection.h
│ ├── wizard_container.cpp
│ └── wizard_container.h
├── gradient_editor
│ ├── color_button.cpp
│ ├── color_button.h
│ ├── color_line.cpp
│ ├── color_line.h
│ ├── gradient_dialog.cpp
│ ├── gradient_dialog.h
│ ├── gradient_editor.cpp
│ ├── gradient_editor.h
│ ├── gradient_manager.cpp
│ ├── gradient_manager.h
│ ├── gradient_select.cpp
│ ├── gradient_select.h
│ ├── gradient_utils.cpp
│ ├── gradient_utils.h
│ ├── gradient_view.cpp
│ ├── gradient_view.h
│ ├── gradient_widget.cpp
│ ├── gradient_widget.h
│ ├── gradientstops_controller.cpp
│ ├── gradientstops_controller.h
│ ├── gradientstops_model.cpp
│ ├── gradientstops_model.h
│ ├── gradientstops_widget.cpp
│ └── gradientstops_widget.h
├── popup_editor
│ ├── brush_property.cpp
│ ├── brush_property.h
│ ├── designer_property.cpp
│ ├── designer_property.h
│ ├── font_property.cpp
│ ├── font_property.h
│ ├── inplace_editor.cpp
│ ├── inplace_editor.h
│ ├── inplace_widget_helper.cpp
│ ├── inplace_widget_helper.h
│ ├── itemlist_editor.cpp
│ ├── itemlist_editor.h
│ ├── listwidget_editor.cpp
│ ├── listwidget_editor.h
│ ├── newdynamic_property.cpp
│ ├── newdynamic_property.h
│ ├── palette_editor.cpp
│ ├── palette_editor.h
│ ├── palette_editor_toolbutton.cpp
│ ├── palette_editor_toolbutton.h
│ ├── property_editor.cpp
│ ├── property_editor.h
│ ├── stringlist_editor.cpp
│ ├── stringlist_editor.h
│ ├── stringlist_editor_toolbutton.cpp
│ ├── stringlist_editor_toolbutton.h
│ ├── stylesheet_editor.cpp
│ ├── stylesheet_editor.h
│ ├── stylesheet_widget.h
│ ├── tablewidget_editor.cpp
│ ├── tablewidget_editor.h
│ ├── treewidget_editor.cpp
│ └── treewidget_editor.h
├── property_editor
│ ├── edit_property.cpp
│ ├── edit_property.h
│ ├── edit_property_manager.cpp
│ ├── edit_property_manager.h
│ ├── edit_variant_property.cpp
│ ├── edit_variant_property.h
│ ├── property_view.cpp
│ ├── property_view.h
│ ├── property_view_button.cpp
│ ├── property_view_button.h
│ ├── property_view_groupbox.cpp
│ ├── property_view_groupbox.h
│ ├── property_view_tree.cpp
│ ├── property_view_tree.h
│ ├── property_view_utils.cpp
│ └── property_view_utils.h
├── signalslot_editor
│ ├── connectdialog.cpp
│ ├── connectdialog_p.h
│ ├── signalslot_utils.cpp
│ ├── signalslot_utils_p.h
│ ├── signalsloteditor.cpp
│ ├── signalsloteditor.h
│ ├── signalsloteditor_p.h
│ ├── signalsloteditor_plugin.cpp
│ ├── signalsloteditor_plugin.h
│ ├── signalsloteditor_tool.cpp
│ ├── signalsloteditor_tool.h
│ ├── signalsloteditorwindow.cpp
│ └── signalsloteditorwindow.h
├── taborder_editor
│ ├── tabordereditor.cpp
│ ├── tabordereditor.h
│ ├── tabordereditor_global.h
│ ├── tabordereditor_plugin.cpp
│ ├── tabordereditor_plugin.h
│ ├── tabordereditor_tool.cpp
│ └── tabordereditor_tool.h
└── text_editor
│ ├── plaintext_editor.cpp
│ ├── plaintext_editor.h
│ ├── richtext_editor.cpp
│ ├── richtext_editor.h
│ ├── textproperty_editor.cpp
│ └── textproperty_editor.h
├── formbuilder
├── abstract_formbuilder.cpp
├── abstract_formbuilder.h
├── formbuilder.cmake
├── formbuilder.cpp
├── formbuilder.h
├── formbuilderextra.cpp
├── formbuilderextra.h
├── properties.cpp
├── properties.h
├── resourcebuilder.cpp
├── resourcebuilder.h
├── textbuilder.cpp
├── textbuilder.h
├── ui4.cpp
└── ui4.h
├── lib
├── extension
│ ├── container.h
│ ├── default_extensionfactory.cpp
│ ├── default_extensionfactory.h
│ ├── dynamicpropertysheet.h
│ ├── extension.cpp
│ ├── extension.h
│ ├── extension_manager.cpp
│ ├── extension_manager.h
│ ├── extrainfo.cpp
│ ├── extrainfo.h
│ ├── layoutdecoration.h
│ ├── membersheet.h
│ └── propertysheet.h
├── extra
│ ├── connection_edit.cpp
│ ├── connection_edit.h
│ ├── csshighlighter.cpp
│ ├── csshighlighter_p.h
│ ├── deviceprofile.cpp
│ ├── deviceprofile_p.h
│ ├── dialoggui.cpp
│ ├── dialoggui_p.h
│ ├── extensionfactory_p.h
│ ├── formlayoutmenu.cpp
│ ├── formlayoutmenu_p.h
│ ├── formwindowbase.cpp
│ ├── formwindowbase_p.h
│ ├── grid.cpp
│ ├── grid_p.h
│ ├── gridpanel.cpp
│ ├── gridpanel_p.h
│ ├── htmlhighlighter.cpp
│ ├── htmlhighlighter_p.h
│ ├── iconloader.cpp
│ ├── iconloader_p.h
│ ├── iconselector.cpp
│ ├── iconselector_p.h
│ ├── invisible_widget.cpp
│ ├── invisible_widget_p.h
│ ├── layout.cpp
│ ├── layout.h
│ ├── layout_info.cpp
│ ├── layout_info.h
│ ├── layout_widget.cpp
│ ├── layout_widget.h
│ ├── metadatabase.cpp
│ ├── metadatabase_p.h
│ ├── morphmenu.cpp
│ ├── morphmenu_p.h
│ ├── promotion_model.cpp
│ ├── promotion_model.h
│ ├── promotion_taskmenu.cpp
│ ├── promotion_taskmenu.h
│ ├── propertylineedit.cpp
│ ├── propertylineedit_p.h
│ ├── rcc_support.cpp
│ ├── rcc_support.h
│ ├── shared_enums_p.h
│ ├── shared_settings.cpp
│ ├── shared_settings_p.h
│ ├── sheet_delegate.cpp
│ ├── sheet_delegate_p.h
│ ├── spacer_widget.cpp
│ ├── spacer_widget_p.h
│ ├── widgetdatabase.cpp
│ ├── widgetdatabase_p.h
│ ├── widgetfactory.cpp
│ ├── widgetfactory.h
│ ├── zoomwidget.cpp
│ └── zoomwidget_p.h
├── find_widget
│ ├── abstract_findwidget.cpp
│ ├── abstract_findwidget.h
│ ├── itemview_findwidget.cpp
│ ├── itemview_findwidget.h
│ ├── textedit_findwidget.cpp
│ └── textedit_findwidget.h
├── font_panel
│ ├── fontpanel.cpp
│ └── fontpanel.h
├── lib.cmake
├── object_inspector
│ ├── object_inspector.cpp
│ ├── object_inspector.h
│ ├── object_inspector_model.cpp
│ └── object_inspector_model.h
├── plugin
│ ├── customwidget.h
│ ├── plugin_dialog.cpp
│ ├── plugin_dialog.h
│ ├── plugin_manager.cpp
│ └── plugin_manager.h
├── resource
│ ├── resource_editor.cpp
│ ├── resource_editor.h
│ ├── resource_model.cpp
│ ├── resource_model.h
│ ├── resource_view.cpp
│ ├── resource_view.h
│ ├── simple_resource.cpp
│ └── simple_resource.h
├── ui_loader
│ ├── ui_loader.cpp
│ ├── ui_loader.h
│ └── ui_loader_p.h
├── util
│ ├── table_classes.h
│ ├── utils.cpp
│ ├── utils.h
│ ├── validator_longlong.cpp
│ ├── validator_longlong.h
│ └── widgets.table
└── widget_box
│ ├── widgetbox.cpp
│ ├── widgetbox.h
│ ├── widgetbox_categorylistview.cpp
│ ├── widgetbox_categorylistview.h
│ ├── widgetbox_dnditem.cpp
│ ├── widgetbox_dnditem.h
│ ├── widgetbox_treewidget.cpp
│ └── widgetbox_treewidget.h
├── main
├── main.cmake
├── main.cpp
├── mainwindow.cpp
└── mainwindow.h
├── menus
├── button_taskmenu.cpp
├── button_taskmenu.h
├── combobox_taskmenu.cpp
├── combobox_taskmenu.h
├── containerwidget_taskmenu.cpp
├── containerwidget_taskmenu.h
├── groupbox_taskmenu.cpp
├── groupbox_taskmenu.h
├── label_taskmenu.cpp
├── label_taskmenu.h
├── layout_taskmenu.cpp
├── layout_taskmenu.h
├── lineedit_taskmenu.cpp
├── lineedit_taskmenu.h
├── listwidget_taskmenu.cpp
├── listwidget_taskmenu.h
├── menu_taskmenu.cpp
├── menu_taskmenu.h
├── menus.cmake
├── tablewidget_taskmenu.cpp
├── tablewidget_taskmenu.h
├── taskmenu.h
├── taskmenu_component.cpp
├── taskmenu_component.h
├── textedit_taskmenu.cpp
├── textedit_taskmenu.h
├── toolbar_taskmenu.cpp
├── toolbar_taskmenu.h
├── treewidget_taskmenu.cpp
└── treewidget_taskmenu.h
└── preview
├── preview.cmake
├── preview_config_widget.cpp
├── preview_config_widget.h
├── preview_frame.cpp
├── preview_frame.h
├── preview_manager.cpp
├── preview_manager.h
├── preview_widget.cpp
└── preview_widget.h
/.gitignore:
--------------------------------------------------------------------------------
1 | designer*.tar.bz2
2 | designer*.zip
3 |
4 | /do-*
5 | /build/
6 | /error*
7 | /deploy/
8 |
--------------------------------------------------------------------------------
/designer.rc:
--------------------------------------------------------------------------------
1 | #include "winver.h"
2 |
3 | IDI_ICON1 ICON DISCARDABLE "resources/designer.ico"
4 |
5 | VS_VERSION_INFO VERSIONINFO
6 | FILEVERSION 1,0,0,0
7 | PRODUCTVERSION 1,0,0,0
8 | FILEFLAGS 0x0L
9 | FILEFLAGSMASK 0x3fL
10 | FILEOS 0x00040004L
11 | FILETYPE 0x1L
12 | FILESUBTYPE 0x0L
13 | BEGIN
14 | BLOCK "StringFileInfo"
15 | BEGIN
16 | BLOCK "000004b0"
17 | BEGIN
18 | VALUE "CompanyName", "CopperSpice"
19 | VALUE "FileDescription", "CS Designer"
20 | VALUE "FileVersion", "1.0.0.0"
21 | VALUE "OriginalFilename", "Designer.exe"
22 | VALUE "ProductName", "CS Designer"
23 | VALUE "ProductVersion", "1.0.0.0"
24 | END
25 | END
26 | BLOCK "VarFileInfo"
27 | BEGIN
28 | VALUE "Translation", 0x0, 1200
29 | END
30 | END
31 |
--------------------------------------------------------------------------------
/forms/designer_options.ui:
--------------------------------------------------------------------------------
1 |
2 |
3 | AppearanceOptionsWidget
4 |
5 |
6 | Form
7 |
8 |
9 |
10 | 0
11 | 0
12 | 325
13 | 360
14 |
15 |
16 |
17 | -
18 |
19 |
20 | User Interface Mode
21 |
22 |
23 |
-
24 |
25 |
26 |
27 |
28 |
29 | -
30 |
31 |
32 | -
33 |
34 |
35 |
36 | 0
37 | 0
38 |
39 |
40 |
41 | Qt::Vertical
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 | FontPanel
50 | QGroupBox
51 |
52 | 1
53 |
54 |
55 |
56 |
57 |
58 |
--------------------------------------------------------------------------------
/resources/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | CFBundleExecutable
7 | designer
8 |
9 | CFBundleIdentifier
10 | com.copperspice.designer
11 |
12 | CFBundleIconFile
13 | Resources/designer.icns
14 |
15 | CFBundleGetInfoString
16 | Created by CopperSpice
17 |
18 | NSPrincipalClass
19 | NSApplication
20 |
21 | CFBundlePackageType
22 | APPL
23 |
24 | CFBundleSignature
25 | ttxt
26 |
27 | CFBundleDocumentTypes
28 |
29 |
30 | CFBundleTypeExtensions
31 |
32 | ui
33 |
34 |
35 | CFBundleTypeIconFile
36 | Resources/designer.icns
37 |
38 | CFBundleTypeRole
39 | Editor
40 |
41 | LSIsAppleDefaultForType
42 |
43 |
44 |
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/resources/designer.icns:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/designer.icns
--------------------------------------------------------------------------------
/resources/designer.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/designer.ico
--------------------------------------------------------------------------------
/resources/designer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/designer.png
--------------------------------------------------------------------------------
/resources/designer_de.qm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/designer_de.qm
--------------------------------------------------------------------------------
/resources/designer_en.qm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/designer_en.qm
--------------------------------------------------------------------------------
/resources/designer_es.qm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/designer_es.qm
--------------------------------------------------------------------------------
/resources/designer_fr.qm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/designer_fr.qm
--------------------------------------------------------------------------------
/resources/designer_nl.qm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/designer_nl.qm
--------------------------------------------------------------------------------
/resources/designer_pl.qm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/designer_pl.qm
--------------------------------------------------------------------------------
/resources/designer_ru.qm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/designer_ru.qm
--------------------------------------------------------------------------------
/resources/findwidget/images/mac/closetab.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/findwidget/images/mac/closetab.png
--------------------------------------------------------------------------------
/resources/findwidget/images/mac/next.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/findwidget/images/mac/next.png
--------------------------------------------------------------------------------
/resources/findwidget/images/mac/previous.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/findwidget/images/mac/previous.png
--------------------------------------------------------------------------------
/resources/findwidget/images/mac/searchfind.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/findwidget/images/mac/searchfind.png
--------------------------------------------------------------------------------
/resources/findwidget/images/win/closetab.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/findwidget/images/win/closetab.png
--------------------------------------------------------------------------------
/resources/findwidget/images/win/next.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/findwidget/images/win/next.png
--------------------------------------------------------------------------------
/resources/findwidget/images/win/previous.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/findwidget/images/win/previous.png
--------------------------------------------------------------------------------
/resources/findwidget/images/win/searchfind.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/findwidget/images/win/searchfind.png
--------------------------------------------------------------------------------
/resources/findwidget/images/wrap.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/findwidget/images/wrap.png
--------------------------------------------------------------------------------
/resources/form_editor/images/cleartext.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/cleartext.png
--------------------------------------------------------------------------------
/resources/form_editor/images/color.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/color.png
--------------------------------------------------------------------------------
/resources/form_editor/images/configure.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/configure.png
--------------------------------------------------------------------------------
/resources/form_editor/images/cslogo-32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/cslogo-32.png
--------------------------------------------------------------------------------
/resources/form_editor/images/cslogo-64.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/cslogo-64.png
--------------------------------------------------------------------------------
/resources/form_editor/images/cursors/arrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/cursors/arrow.png
--------------------------------------------------------------------------------
/resources/form_editor/images/cursors/busy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/cursors/busy.png
--------------------------------------------------------------------------------
/resources/form_editor/images/cursors/closedhand.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/cursors/closedhand.png
--------------------------------------------------------------------------------
/resources/form_editor/images/cursors/cross.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/cursors/cross.png
--------------------------------------------------------------------------------
/resources/form_editor/images/cursors/hand.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/cursors/hand.png
--------------------------------------------------------------------------------
/resources/form_editor/images/cursors/hsplit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/cursors/hsplit.png
--------------------------------------------------------------------------------
/resources/form_editor/images/cursors/ibeam.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/cursors/ibeam.png
--------------------------------------------------------------------------------
/resources/form_editor/images/cursors/no.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/cursors/no.png
--------------------------------------------------------------------------------
/resources/form_editor/images/cursors/openhand.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/cursors/openhand.png
--------------------------------------------------------------------------------
/resources/form_editor/images/cursors/sizeall.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/cursors/sizeall.png
--------------------------------------------------------------------------------
/resources/form_editor/images/cursors/sizeb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/cursors/sizeb.png
--------------------------------------------------------------------------------
/resources/form_editor/images/cursors/sizef.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/cursors/sizef.png
--------------------------------------------------------------------------------
/resources/form_editor/images/cursors/sizeh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/cursors/sizeh.png
--------------------------------------------------------------------------------
/resources/form_editor/images/cursors/sizev.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/cursors/sizev.png
--------------------------------------------------------------------------------
/resources/form_editor/images/cursors/uparrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/cursors/uparrow.png
--------------------------------------------------------------------------------
/resources/form_editor/images/cursors/vsplit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/cursors/vsplit.png
--------------------------------------------------------------------------------
/resources/form_editor/images/cursors/wait.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/cursors/wait.png
--------------------------------------------------------------------------------
/resources/form_editor/images/cursors/whatsthis.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/cursors/whatsthis.png
--------------------------------------------------------------------------------
/resources/form_editor/images/downplus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/downplus.png
--------------------------------------------------------------------------------
/resources/form_editor/images/dropdownbutton.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/dropdownbutton.png
--------------------------------------------------------------------------------
/resources/form_editor/images/edit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/edit.png
--------------------------------------------------------------------------------
/resources/form_editor/images/editdelete-16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/editdelete-16.png
--------------------------------------------------------------------------------
/resources/form_editor/images/emptyicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/emptyicon.png
--------------------------------------------------------------------------------
/resources/form_editor/images/filenew-16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/filenew-16.png
--------------------------------------------------------------------------------
/resources/form_editor/images/fileopen-16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/fileopen-16.png
--------------------------------------------------------------------------------
/resources/form_editor/images/leveldown.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/leveldown.png
--------------------------------------------------------------------------------
/resources/form_editor/images/levelup.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/levelup.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/adjustsize.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/adjustsize.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/back.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/buddytool.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/buddytool.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/down.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/down.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/editbreaklayout.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/editbreaklayout.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/editcopy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/editcopy.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/editcut.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/editcut.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/editdelete.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/editdelete.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/editform.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/editform.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/editgrid.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/editgrid.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/edithlayout.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/edithlayout.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/edithlayoutsplit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/edithlayoutsplit.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/editlower.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/editlower.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/editpaste.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/editpaste.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/editraise.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/editraise.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/editvlayout.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/editvlayout.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/editvlayoutsplit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/editvlayoutsplit.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/filenew.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/filenew.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/fileopen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/fileopen.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/filesave.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/filesave.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/forward.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/forward.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/insertimage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/insertimage.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/minus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/minus.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/plus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/plus.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/redo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/redo.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/resetproperty.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/resetproperty.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/resourceeditortool.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/resourceeditortool.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/signalslottool.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/signalslottool.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/simplifyrichtext.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/simplifyrichtext.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/tabordertool.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/tabordertool.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/textanchor.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/textanchor.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/textbold.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/textbold.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/textcenter.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/textcenter.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/textitalic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/textitalic.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/textjustify.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/textjustify.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/textleft.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/textleft.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/textright.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/textright.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/textsubscript.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/textsubscript.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/textsuperscript.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/textsuperscript.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/textunder.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/textunder.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/undo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/undo.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/up.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/up.png
--------------------------------------------------------------------------------
/resources/form_editor/images/mac/widgettool.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/mac/widgettool.png
--------------------------------------------------------------------------------
/resources/form_editor/images/minus-16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/minus-16.png
--------------------------------------------------------------------------------
/resources/form_editor/images/plus-16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/plus-16.png
--------------------------------------------------------------------------------
/resources/form_editor/images/prefix-add.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/prefix-add.png
--------------------------------------------------------------------------------
/resources/form_editor/images/reload.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/reload.png
--------------------------------------------------------------------------------
/resources/form_editor/images/resetproperty.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/resetproperty.png
--------------------------------------------------------------------------------
/resources/form_editor/images/righttoleft.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/righttoleft.png
--------------------------------------------------------------------------------
/resources/form_editor/images/scratchpad-32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/scratchpad-32.png
--------------------------------------------------------------------------------
/resources/form_editor/images/scratchpad-64.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/scratchpad-64.png
--------------------------------------------------------------------------------
/resources/form_editor/images/sort.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/sort.png
--------------------------------------------------------------------------------
/resources/form_editor/images/submenu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/submenu.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/calendarwidget.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/calendarwidget.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/checkbox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/checkbox.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/columnview.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/columnview.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/combobox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/combobox.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/commandlinkbutton.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/commandlinkbutton.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/dateedit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/dateedit.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/datetimeedit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/datetimeedit.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/dial.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/dial.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/dialogbuttonbox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/dialogbuttonbox.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/dockwidget.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/dockwidget.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/doublespinbox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/doublespinbox.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/fontcombobox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/fontcombobox.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/frame.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/frame.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/graphicsview.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/graphicsview.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/groupbox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/groupbox.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/groupboxcollapsible.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/groupboxcollapsible.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/hscrollbar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/hscrollbar.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/hslider.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/hslider.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/hsplit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/hsplit.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/label.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/label.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/lcdnumber.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/lcdnumber.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/line.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/line.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/lineedit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/lineedit.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/listbox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/listbox.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/listview.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/listview.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/mdiarea.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/mdiarea.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/plaintextedit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/plaintextedit.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/progress.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/progress.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/pushbutton.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/pushbutton.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/radiobutton.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/radiobutton.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/scrollarea.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/scrollarea.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/spacer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/spacer.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/spinbox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/spinbox.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/tabbar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/tabbar.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/table.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/table.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/tabwidget.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/tabwidget.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/textedit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/textedit.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/timeedit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/timeedit.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/toolbox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/toolbox.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/toolbutton.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/toolbutton.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/vline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/vline.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/vscrollbar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/vscrollbar.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/vslider.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/vslider.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/vspacer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/vspacer.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/widget.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/widget.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/widgetstack.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/widgetstack.png
--------------------------------------------------------------------------------
/resources/form_editor/images/widgets/wizard.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/widgets/wizard.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/adjustsize.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/adjustsize.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/back.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/buddytool.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/buddytool.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/down.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/down.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/editbreaklayout.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/editbreaklayout.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/editcopy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/editcopy.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/editcut.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/editcut.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/editdelete.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/editdelete.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/editform.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/editform.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/editgrid.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/editgrid.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/edithlayout.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/edithlayout.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/edithlayoutsplit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/edithlayoutsplit.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/editlower.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/editlower.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/editpaste.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/editpaste.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/editraise.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/editraise.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/editvlayout.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/editvlayout.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/editvlayoutsplit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/editvlayoutsplit.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/filenew.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/filenew.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/fileopen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/fileopen.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/filesave.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/filesave.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/forward.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/forward.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/insertimage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/insertimage.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/minus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/minus.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/plus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/plus.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/redo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/redo.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/resourceeditortool.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/resourceeditortool.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/signalslottool.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/signalslottool.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/simplifyrichtext.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/simplifyrichtext.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/tabordertool.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/tabordertool.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/textanchor.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/textanchor.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/textbold.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/textbold.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/textcenter.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/textcenter.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/textitalic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/textitalic.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/textjustify.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/textjustify.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/textleft.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/textleft.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/textright.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/textright.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/textsubscript.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/textsubscript.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/textsuperscript.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/textsuperscript.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/textunder.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/textunder.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/undo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/undo.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/up.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/up.png
--------------------------------------------------------------------------------
/resources/form_editor/images/win/widgettool.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/form_editor/images/win/widgettool.png
--------------------------------------------------------------------------------
/resources/gradient_editor/images/down.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/gradient_editor/images/down.png
--------------------------------------------------------------------------------
/resources/gradient_editor/images/edit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/gradient_editor/images/edit.png
--------------------------------------------------------------------------------
/resources/gradient_editor/images/editdelete.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/gradient_editor/images/editdelete.png
--------------------------------------------------------------------------------
/resources/gradient_editor/images/minus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/gradient_editor/images/minus.png
--------------------------------------------------------------------------------
/resources/gradient_editor/images/plus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/gradient_editor/images/plus.png
--------------------------------------------------------------------------------
/resources/gradient_editor/images/spreadpad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/gradient_editor/images/spreadpad.png
--------------------------------------------------------------------------------
/resources/gradient_editor/images/spreadreflect.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/gradient_editor/images/spreadreflect.png
--------------------------------------------------------------------------------
/resources/gradient_editor/images/spreadrepeat.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/gradient_editor/images/spreadrepeat.png
--------------------------------------------------------------------------------
/resources/gradient_editor/images/typeconical.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/gradient_editor/images/typeconical.png
--------------------------------------------------------------------------------
/resources/gradient_editor/images/typelinear.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/gradient_editor/images/typelinear.png
--------------------------------------------------------------------------------
/resources/gradient_editor/images/typeradial.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/gradient_editor/images/typeradial.png
--------------------------------------------------------------------------------
/resources/gradient_editor/images/up.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/gradient_editor/images/up.png
--------------------------------------------------------------------------------
/resources/gradient_editor/images/zoomin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/gradient_editor/images/zoomin.png
--------------------------------------------------------------------------------
/resources/gradient_editor/images/zoomout.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/gradient_editor/images/zoomout.png
--------------------------------------------------------------------------------
/resources/property_browser/images/cursor-arrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/property_browser/images/cursor-arrow.png
--------------------------------------------------------------------------------
/resources/property_browser/images/cursor-busy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/property_browser/images/cursor-busy.png
--------------------------------------------------------------------------------
/resources/property_browser/images/cursor-closedhand.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/property_browser/images/cursor-closedhand.png
--------------------------------------------------------------------------------
/resources/property_browser/images/cursor-cross.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/property_browser/images/cursor-cross.png
--------------------------------------------------------------------------------
/resources/property_browser/images/cursor-forbidden.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/property_browser/images/cursor-forbidden.png
--------------------------------------------------------------------------------
/resources/property_browser/images/cursor-hand.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/property_browser/images/cursor-hand.png
--------------------------------------------------------------------------------
/resources/property_browser/images/cursor-hsplit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/property_browser/images/cursor-hsplit.png
--------------------------------------------------------------------------------
/resources/property_browser/images/cursor-ibeam.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/property_browser/images/cursor-ibeam.png
--------------------------------------------------------------------------------
/resources/property_browser/images/cursor-openhand.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/property_browser/images/cursor-openhand.png
--------------------------------------------------------------------------------
/resources/property_browser/images/cursor-sizeall.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/property_browser/images/cursor-sizeall.png
--------------------------------------------------------------------------------
/resources/property_browser/images/cursor-sizeb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/property_browser/images/cursor-sizeb.png
--------------------------------------------------------------------------------
/resources/property_browser/images/cursor-sizef.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/property_browser/images/cursor-sizef.png
--------------------------------------------------------------------------------
/resources/property_browser/images/cursor-sizeh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/property_browser/images/cursor-sizeh.png
--------------------------------------------------------------------------------
/resources/property_browser/images/cursor-sizev.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/property_browser/images/cursor-sizev.png
--------------------------------------------------------------------------------
/resources/property_browser/images/cursor-uparrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/property_browser/images/cursor-uparrow.png
--------------------------------------------------------------------------------
/resources/property_browser/images/cursor-vsplit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/property_browser/images/cursor-vsplit.png
--------------------------------------------------------------------------------
/resources/property_browser/images/cursor-wait.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/property_browser/images/cursor-wait.png
--------------------------------------------------------------------------------
/resources/property_browser/images/cursor-whatsthis.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/property_browser/images/cursor-whatsthis.png
--------------------------------------------------------------------------------
/resources/templates/Dialog_with_Buttons_Bottom.ui:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Dialog
6 |
7 |
8 |
9 | 0
10 | 0
11 | 400
12 | 300
13 |
14 |
15 |
16 | Dialog
17 |
18 |
19 |
20 |
21 | 30
22 | 240
23 | 341
24 | 32
25 |
26 |
27 |
28 | Qt::Horizontal
29 |
30 |
31 | QDialogButtonBox::Cancel|QDialogButtonBox::Ok
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 | buttonBox
40 | accepted()
41 | Dialog
42 | accept()
43 |
44 |
45 | 248
46 | 254
47 |
48 |
49 | 157
50 | 274
51 |
52 |
53 |
54 |
55 | buttonBox
56 | rejected()
57 | Dialog
58 | reject()
59 |
60 |
61 | 316
62 | 260
63 |
64 |
65 | 286
66 | 274
67 |
68 |
69 |
70 |
71 |
72 |
--------------------------------------------------------------------------------
/resources/templates/Dialog_with_Buttons_Right.ui:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Dialog
6 |
7 |
8 |
9 | 0
10 | 0
11 | 400
12 | 300
13 |
14 |
15 |
16 | Dialog
17 |
18 |
19 |
20 |
21 | 290
22 | 20
23 | 81
24 | 241
25 |
26 |
27 |
28 | Qt::Vertical
29 |
30 |
31 | QDialogButtonBox::Cancel|QDialogButtonBox::Ok
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 | buttonBox
40 | accepted()
41 | Dialog
42 | accept()
43 |
44 |
45 | 248
46 | 254
47 |
48 |
49 | 157
50 | 274
51 |
52 |
53 |
54 |
55 | buttonBox
56 | rejected()
57 | Dialog
58 | reject()
59 |
60 |
61 | 316
62 | 260
63 |
64 |
65 | 286
66 | 274
67 |
68 |
69 |
70 |
71 |
72 |
--------------------------------------------------------------------------------
/resources/templates/Dialog_without_Buttons.ui:
--------------------------------------------------------------------------------
1 |
2 | Dialog
3 |
4 |
5 |
6 | 0
7 | 0
8 | 400
9 | 300
10 |
11 |
12 |
13 | Dialog
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/resources/templates/Main_Window.ui:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | MainWindow
6 |
7 |
8 |
9 | 0
10 | 0
11 | 800
12 | 600
13 |
14 |
15 |
16 | MainWindow
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/resources/templates/Widget.ui:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Form
6 |
7 |
8 |
9 | 0
10 | 0
11 | 400
12 | 300
13 |
14 |
15 |
16 | Form
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/resources/toolbar_dialog/images/back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/toolbar_dialog/images/back.png
--------------------------------------------------------------------------------
/resources/toolbar_dialog/images/down.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/toolbar_dialog/images/down.png
--------------------------------------------------------------------------------
/resources/toolbar_dialog/images/forward.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/toolbar_dialog/images/forward.png
--------------------------------------------------------------------------------
/resources/toolbar_dialog/images/minus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/toolbar_dialog/images/minus.png
--------------------------------------------------------------------------------
/resources/toolbar_dialog/images/plus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/toolbar_dialog/images/plus.png
--------------------------------------------------------------------------------
/resources/toolbar_dialog/images/up.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/copperspice/cs_designer/3eb549d11d79ce3244e911080c2a990e5b33efb6/resources/toolbar_dialog/images/up.png
--------------------------------------------------------------------------------
/src/abstract/abstract_actioneditor.cpp:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #include
21 |
22 | QDesignerActionEditorInterface::QDesignerActionEditorInterface(QWidget *parent, Qt::WindowFlags flags)
23 | : QWidget(parent, flags)
24 | {
25 | }
26 |
27 | QDesignerActionEditorInterface::~QDesignerActionEditorInterface()
28 | {
29 | }
30 |
31 | QDesignerFormEditorInterface *QDesignerActionEditorInterface::core() const
32 | {
33 | return nullptr;
34 | }
35 |
--------------------------------------------------------------------------------
/src/abstract/abstract_actioneditor.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef ABSTRACTACTIONEDITOR_H
21 | #define ABSTRACTACTIONEDITOR_H
22 |
23 | #include
24 |
25 | class QDesignerFormEditorInterface;
26 | class QDesignerFormWindowInterface;
27 |
28 | class QDesignerActionEditorInterface : public QWidget
29 | {
30 | CS_OBJECT(QDesignerActionEditorInterface)
31 |
32 | public:
33 | explicit QDesignerActionEditorInterface(QWidget *parent, Qt::WindowFlags flags = Qt::WindowFlags());
34 | virtual ~QDesignerActionEditorInterface();
35 |
36 | virtual QDesignerFormEditorInterface *core() const;
37 |
38 | virtual void manageAction(QAction *action) = 0;
39 | virtual void unmanageAction(QAction *action) = 0;
40 |
41 | CS_SLOT_1(Public, virtual void setFormWindow(QDesignerFormWindowInterface *formWindow) = 0)
42 | CS_SLOT_2(setFormWindow)
43 | };
44 |
45 | #endif // ABSTRACTACTIONEDITOR_H
46 |
--------------------------------------------------------------------------------
/src/abstract/abstract_dialoggui.cpp:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #include
21 |
22 | QDesignerDialogGuiInterface::QDesignerDialogGuiInterface()
23 | {
24 | }
25 |
26 | QDesignerDialogGuiInterface::~QDesignerDialogGuiInterface()
27 | {
28 | }
29 |
30 | QString QDesignerDialogGuiInterface::getOpenImageFileName(QWidget *parent, const QString &caption,
31 | const QString &dir, const QString &filter, QString *selectedFilter, QFileDialog::FileDialogOptions options)
32 | {
33 | return getOpenFileName(parent, caption, dir, filter, selectedFilter, options);
34 | }
35 |
36 | QStringList QDesignerDialogGuiInterface::getOpenImageFileNames(QWidget *parent, const QString &caption,
37 | const QString &dir, const QString &filter, QString *selectedFilter, QFileDialog::FileDialogOptions options)
38 | {
39 | return getOpenFileNames(parent, caption, dir, filter, selectedFilter, options);
40 | }
41 |
42 |
--------------------------------------------------------------------------------
/src/abstract/abstract_dnditem.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef ABSTRACTDNDITEM_H
21 | #define ABSTRACTDNDITEM_H
22 |
23 | class DomUI;
24 |
25 | class QPoint;
26 | class QWidget;
27 |
28 | class QDesignerDnDItemInterface
29 | {
30 | public:
31 | enum DropType { MoveDrop, CopyDrop };
32 |
33 | QDesignerDnDItemInterface() {}
34 | virtual ~QDesignerDnDItemInterface() {}
35 |
36 | virtual DomUI *domUi() const = 0;
37 | virtual QWidget *widget() const = 0;
38 | virtual QWidget *decoration() const = 0;
39 | virtual QPoint hotSpot() const = 0;
40 | virtual DropType type() const = 0;
41 | virtual QWidget *source() const = 0;
42 | };
43 |
44 | #endif // ABSTRACTDNDITEM_H
45 |
--------------------------------------------------------------------------------
/src/abstract/abstract_formeditorplugin.cpp:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #include
--------------------------------------------------------------------------------
/src/abstract/abstract_formeditorplugin.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef ABSTRACTFORMEDITORPLUGIN_H
21 | #define ABSTRACTFORMEDITORPLUGIN_H
22 |
23 | #include
24 |
25 | class QAction;
26 |
27 | class QDesignerFormEditorInterface;
28 |
29 | class QDesignerFormEditorPluginInterface
30 | {
31 | public:
32 | virtual ~QDesignerFormEditorPluginInterface() {}
33 |
34 | virtual bool isInitialized() const = 0;
35 | virtual void initialize(QDesignerFormEditorInterface *core) = 0;
36 | virtual QAction *action() const = 0;
37 |
38 | virtual QDesignerFormEditorInterface *core() const = 0;
39 | };
40 |
41 | CS_DECLARE_INTERFACE(QDesignerFormEditorPluginInterface, "copperspice.com.CS.Designer.QDesignerFormEditorPluginInterface")
42 |
43 | #endif // ABSTRACTFORMEDITORPLUGIN_H
44 |
--------------------------------------------------------------------------------
/src/abstract/abstract_formwindowcursor.cpp:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #include
21 |
22 | bool QDesignerFormWindowCursorInterface::isWidgetSelected(QWidget *widget) const
23 | {
24 | for (int index = 0; index < selectedWidgetCount(); ++index) {
25 | if (selectedWidget(index) == widget) {
26 | return true;
27 | }
28 | }
29 |
30 | return false;
31 | }
32 |
--------------------------------------------------------------------------------
/src/abstract/abstract_formwindowtool.cpp:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #include
21 |
22 | QDesignerFormWindowToolInterface::QDesignerFormWindowToolInterface(QObject *parent)
23 | : QObject(parent)
24 | {
25 | }
26 |
27 | QDesignerFormWindowToolInterface::~QDesignerFormWindowToolInterface()
28 | {
29 | }
30 |
--------------------------------------------------------------------------------
/src/abstract/abstract_introspection.cpp:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #include
21 |
22 | QDesignerMetaEnumInterface::QDesignerMetaEnumInterface()
23 | {
24 | }
25 |
26 | QDesignerMetaEnumInterface::~QDesignerMetaEnumInterface()
27 | {
28 | }
29 |
30 | QDesignerMetaPropertyInterface::QDesignerMetaPropertyInterface()
31 | {
32 | }
33 |
34 | QDesignerMetaPropertyInterface::~QDesignerMetaPropertyInterface()
35 | {
36 | }
37 |
38 | QDesignerMetaMethodInterface::QDesignerMetaMethodInterface()
39 | {
40 | }
41 |
42 | QDesignerMetaMethodInterface::~QDesignerMetaMethodInterface()
43 | {
44 | }
45 |
46 | QDesignerMetaObjectInterface::QDesignerMetaObjectInterface()
47 | {
48 | }
49 |
50 | QDesignerMetaObjectInterface::~QDesignerMetaObjectInterface()
51 | {
52 | }
53 |
54 | QDesignerIntrospectionInterface::QDesignerIntrospectionInterface()
55 | {
56 | }
57 |
58 | QDesignerIntrospectionInterface::~QDesignerIntrospectionInterface()
59 | {
60 | }
61 |
--------------------------------------------------------------------------------
/src/abstract/abstract_metadatabase.cpp:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #include
21 |
22 | QDesignerMetaDataBaseInterface::QDesignerMetaDataBaseInterface(QObject *parent)
23 | : QObject(parent)
24 | {
25 | }
26 |
27 | QDesignerMetaDataBaseInterface::~QDesignerMetaDataBaseInterface()
28 | {
29 | }
30 |
--------------------------------------------------------------------------------
/src/abstract/abstract_newformwidget.cpp:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #include
21 | #include
22 |
23 | QDesignerNewFormWidgetInterface::QDesignerNewFormWidgetInterface(QWidget *parent) :
24 | QWidget(parent)
25 | {
26 | }
27 |
28 | QDesignerNewFormWidgetInterface::~QDesignerNewFormWidgetInterface()
29 | {
30 | }
31 |
32 | QDesignerNewFormWidgetInterface *QDesignerNewFormWidgetInterface::createNewFormWidget(QDesignerFormEditorInterface *core,
33 | QWidget *parent)
34 | {
35 | return new qdesigner_internal::NewFormWidget(core, parent);
36 | }
37 |
38 |
--------------------------------------------------------------------------------
/src/abstract/abstract_newformwidget.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef ABSTRACT_NEWFORMWIDGET_H
21 | #define ABSTRACT_NEWFORMWIDGET_H
22 |
23 | #include
24 |
25 | class QDesignerFormEditorInterface;
26 |
27 | class QDesignerNewFormWidgetInterface : public QWidget
28 | {
29 | CS_OBJECT(QDesignerNewFormWidgetInterface)
30 |
31 | public:
32 | explicit QDesignerNewFormWidgetInterface(QWidget *parent = nullptr);
33 | virtual ~QDesignerNewFormWidgetInterface();
34 |
35 | virtual bool hasCurrentTemplate() const = 0;
36 | virtual QString currentTemplate(QString *errorMessage = nullptr) = 0;
37 |
38 | static QDesignerNewFormWidgetInterface *createNewFormWidget(QDesignerFormEditorInterface *core, QWidget *parent = nullptr);
39 |
40 | CS_SIGNAL_1(Public, void templateActivated())
41 | CS_SIGNAL_2(templateActivated)
42 |
43 | CS_SIGNAL_1(Public, void currentTemplateChanged(bool templateSelected))
44 | CS_SIGNAL_2(currentTemplateChanged, templateSelected)
45 |
46 | private:
47 | Q_DISABLE_COPY(QDesignerNewFormWidgetInterface)
48 | };
49 |
50 |
51 | #endif // ABSTRACTNEWFORMWIDGET_H
52 |
--------------------------------------------------------------------------------
/src/abstract/abstract_objectinspector.cpp:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #include
21 |
22 | QDesignerObjectInspectorInterface::QDesignerObjectInspectorInterface(QWidget *parent, Qt::WindowFlags flags)
23 | : QWidget(parent, flags)
24 | {
25 | }
26 |
27 | QDesignerObjectInspectorInterface::~QDesignerObjectInspectorInterface()
28 | {
29 | }
30 |
31 | QDesignerFormEditorInterface *QDesignerObjectInspectorInterface::core() const
32 | {
33 | return nullptr;
34 | }
35 |
36 |
--------------------------------------------------------------------------------
/src/abstract/abstract_objectinspector.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef ABSTRACTOBJECTINSPECTOR_H
21 | #define ABSTRACTOBJECTINSPECTOR_H
22 |
23 | #include
24 |
25 | class QDesignerFormEditorInterface;
26 | class QDesignerFormWindowInterface;
27 |
28 | class QDesignerObjectInspectorInterface: public QWidget
29 | {
30 | CS_OBJECT(QDesignerObjectInspectorInterface)
31 |
32 | public:
33 | explicit QDesignerObjectInspectorInterface(QWidget *parent, Qt::WindowFlags flags = Qt::WindowFlags());
34 | virtual ~QDesignerObjectInspectorInterface();
35 |
36 | virtual QDesignerFormEditorInterface *core() const;
37 |
38 | CS_SLOT_1(Public, virtual void setFormWindow(QDesignerFormWindowInterface *formWindow) = 0)
39 | CS_SLOT_2(setFormWindow)
40 | };
41 |
42 | #endif // ABSTRACTOBJECTINSPECTOR_H
43 |
--------------------------------------------------------------------------------
/src/abstract/abstract_optionspage.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef ABSTRACTOPTIONSPAGE_P_H
21 | #define ABSTRACTOPTIONSPAGE_P_H
22 |
23 | #include
24 |
25 | class QWidget;
26 |
27 | class QDesignerOptionsPageInterface
28 | {
29 | public:
30 | virtual ~QDesignerOptionsPageInterface() {}
31 | virtual QString name() const = 0;
32 | virtual QWidget *createPage(QWidget *parent) = 0;
33 | virtual void apply() = 0;
34 | virtual void finish() = 0;
35 | };
36 |
37 | #endif
38 |
--------------------------------------------------------------------------------
/src/abstract/abstract_promotioninterface.cpp:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #include
21 |
22 | QDesignerPromotionInterface::~QDesignerPromotionInterface()
23 | {
24 | }
25 |
--------------------------------------------------------------------------------
/src/abstract/abstract_propertyeditor.cpp:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #include
21 |
22 | QDesignerPropertyEditorInterface::QDesignerPropertyEditorInterface(QWidget *parent, Qt::WindowFlags flags)
23 | : QWidget(parent, flags)
24 | {
25 | }
26 |
27 | QDesignerPropertyEditorInterface::~QDesignerPropertyEditorInterface()
28 | {
29 | }
30 |
31 | QDesignerFormEditorInterface *QDesignerPropertyEditorInterface::core() const
32 | {
33 | return nullptr;
34 | }
35 |
--------------------------------------------------------------------------------
/src/abstract/abstract_resourcebrowser.cpp:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #include
21 |
22 | QDesignerResourceBrowserInterface::QDesignerResourceBrowserInterface(QWidget *parent)
23 | : QWidget(parent)
24 | {
25 | }
26 |
27 | QDesignerResourceBrowserInterface::~QDesignerResourceBrowserInterface()
28 | {
29 | }
30 |
--------------------------------------------------------------------------------
/src/abstract/abstract_resourcebrowser.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef ABSTRACTRESOURCEBROWSER_H
21 | #define ABSTRACTRESOURCEBROWSER_H
22 |
23 | #include
24 |
25 | class QDesignerResourceBrowserInterface: public QWidget
26 | {
27 | CS_OBJECT(QDesignerResourceBrowserInterface)
28 |
29 | public:
30 | explicit QDesignerResourceBrowserInterface(QWidget *parent = nullptr);
31 | virtual ~QDesignerResourceBrowserInterface();
32 |
33 | virtual void setCurrentPath(const QString &filePath) = 0;
34 | virtual QString currentPath() const = 0;
35 |
36 | CS_SIGNAL_1(Public, void currentPathChanged(const QString &filePath))
37 | CS_SIGNAL_2(currentPathChanged, filePath)
38 | CS_SIGNAL_1(Public, void pathActivated(const QString &filePath))
39 | CS_SIGNAL_2(pathActivated, filePath)
40 | };
41 |
42 | #endif
43 |
44 |
--------------------------------------------------------------------------------
/src/abstract/abstract_settings.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef ABSTRACTSETTINGS_P_H
21 | #define ABSTRACTSETTINGS_P_H
22 |
23 | #include
24 | #include
25 |
26 | class QDesignerSettingsInterface
27 | {
28 | public:
29 | virtual ~QDesignerSettingsInterface() {}
30 |
31 | virtual void beginGroup(const QString &prefix) = 0;
32 | virtual void endGroup() = 0;
33 |
34 | virtual bool contains(const QString &key) const = 0;
35 | virtual void setValue(const QString &key, const QVariant &value) = 0;
36 | virtual QVariant value(const QString &key, const QVariant &defaultValue = QVariant()) const = 0;
37 | virtual void remove(const QString &key) = 0;
38 | };
39 |
40 | #endif
41 |
--------------------------------------------------------------------------------
/src/abstract/abstract_widgetbox.cpp:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #include
21 |
22 | QDesignerWidgetBoxInterface::QDesignerWidgetBoxInterface(QWidget *parent, Qt::WindowFlags flags)
23 | : QWidget(parent, flags)
24 | {
25 | }
26 |
27 | QDesignerWidgetBoxInterface::~QDesignerWidgetBoxInterface()
28 | {
29 | }
30 |
31 | int QDesignerWidgetBoxInterface::findOrInsertCategory(const QString &categoryName)
32 | {
33 | int count = categoryCount();
34 | for (int index = 0; index < count; ++index) {
35 | Category c = category(index);
36 | if (c.name() == categoryName) {
37 | return index;
38 | }
39 | }
40 |
41 | addCategory(Category(categoryName));
42 | return count;
43 | }
44 |
--------------------------------------------------------------------------------
/src/abstract/abstract_widgetfactory.cpp:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #include
21 | #include
22 | #include
23 |
24 | QDesignerWidgetFactoryInterface::QDesignerWidgetFactoryInterface(QObject *parent)
25 | : QObject(parent)
26 | {
27 | }
28 |
29 | QDesignerWidgetFactoryInterface::~QDesignerWidgetFactoryInterface()
30 | {
31 | }
32 |
--------------------------------------------------------------------------------
/src/abstract/abstract_widgetfactory.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef ABSTRACTWIDGETFACTORY_H
21 | #define ABSTRACTWIDGETFACTORY_H
22 |
23 | #include
24 |
25 | class QDesignerFormEditorInterface;
26 |
27 | class QWidget;
28 | class QLayout;
29 |
30 | class QDesignerWidgetFactoryInterface : public QObject
31 | {
32 | CS_OBJECT(QDesignerWidgetFactoryInterface)
33 |
34 | public:
35 | explicit QDesignerWidgetFactoryInterface(QObject *parent = nullptr);
36 | virtual ~QDesignerWidgetFactoryInterface();
37 |
38 | virtual QDesignerFormEditorInterface *core() const = 0;
39 |
40 | virtual QWidget *containerOfWidget(QWidget *w) const = 0;
41 | virtual QWidget *widgetOfContainer(QWidget *w) const = 0;
42 |
43 | virtual QWidget *createWidget(const QString &name, QWidget *parentWidget = nullptr) const = 0;
44 | virtual QLayout *createLayout(QWidget *widget, QLayout *layout, int type) const = 0;
45 |
46 | virtual bool isPassiveInteractor(QWidget *widget) = 0;
47 | virtual void initialize(QObject *object) const = 0;
48 | };
49 |
50 | #endif // ABSTRACTWIDGETFACTORY_H
51 |
--------------------------------------------------------------------------------
/src/designer/designer_enums.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef DESIGNERENUMS_H
21 | #define DESIGNERENUMS_H
22 |
23 | enum UIMode {
24 | NeutralMode,
25 | TopLevelMode,
26 | DockedMode
27 | };
28 |
29 | #endif
30 |
--------------------------------------------------------------------------------
/src/designer/designer_formeditor_command.cpp:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #include
21 | #include
22 |
23 | namespace qdesigner_internal {
24 |
25 | QDesignerFormEditorCommand::QDesignerFormEditorCommand(const QString &description, QDesignerFormEditorInterface *core)
26 | : QUndoCommand(description), m_core(core)
27 | {
28 | }
29 |
30 | QDesignerFormEditorInterface *QDesignerFormEditorCommand::core() const
31 | {
32 | return m_core;
33 | }
34 |
35 | } // end namespace qdesigner_internal
36 |
37 |
38 |
--------------------------------------------------------------------------------
/src/designer/designer_formeditor_command.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef QDESIGNER_FORMEDITORCOMMAND_H
21 | #define QDESIGNER_FORMEDITORCOMMAND_H
22 |
23 | #include
24 | #include
25 |
26 | class QDesignerFormEditorInterface;
27 |
28 | namespace qdesigner_internal {
29 |
30 | class QDesignerFormEditorCommand: public QUndoCommand
31 | {
32 |
33 | public:
34 | QDesignerFormEditorCommand(const QString &description, QDesignerFormEditorInterface *core);
35 |
36 | protected:
37 | QDesignerFormEditorInterface *core() const;
38 |
39 | private:
40 | QPointer m_core;
41 | };
42 |
43 | } // namespace qdesigner_internal
44 |
45 | #endif // QDESIGNER_FORMEDITORCOMMAND_H
46 |
--------------------------------------------------------------------------------
/src/designer/designer_formwindow_manager.cpp:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #include
21 | #include
22 | #include
23 |
24 | using namespace qdesigner_internal;
25 |
26 | QDesignerFormWindowManager::QDesignerFormWindowManager(QObject *parent)
27 | : QDesignerFormWindowManagerInterface(parent), m_unused(nullptr)
28 | {
29 | }
30 |
31 | QDesignerFormWindowManager::~QDesignerFormWindowManager()
32 | {
33 | }
34 |
35 | void QDesignerFormWindowManager::showPluginDialog()
36 | {
37 | PluginDialog dlg(core(), core()->topLevel());
38 | dlg.exec();
39 | }
40 |
--------------------------------------------------------------------------------
/src/designer/designer_formwindow_manager.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef QDESIGNER_FORMWINDOMANAGER_H
21 | #define QDESIGNER_FORMWINDOMANAGER_H
22 |
23 | #include
24 |
25 | #include
26 |
27 | namespace qdesigner_internal {
28 |
29 | class PreviewManager;
30 |
31 | class QDesignerFormWindowManager : public QDesignerFormWindowManagerInterface
32 | {
33 | CS_OBJECT(QDesignerFormWindowManager)
34 |
35 | public:
36 | explicit QDesignerFormWindowManager(QObject *parent = nullptr);
37 | virtual ~QDesignerFormWindowManager();
38 |
39 | virtual PreviewManager *previewManager() const = 0;
40 | void showPluginDialog() override;
41 |
42 | private:
43 | void *m_unused;
44 | };
45 |
46 | } // namespace qdesigner_internal
47 |
48 | #endif
49 |
--------------------------------------------------------------------------------
/src/designer/designer_introspection.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef DESIGNERINTROSPECTION
21 | #define DESIGNERINTROSPECTION
22 |
23 | #include
24 |
25 | #include
26 |
27 | class QWidget;
28 |
29 | struct QMetaObject;
30 |
31 | namespace qdesigner_internal {
32 |
33 | // introspection with helpers to find core and meta object for an object
34 |
35 | class QDesignerIntrospection : public QDesignerIntrospectionInterface
36 | {
37 | public:
38 | QDesignerIntrospection();
39 | virtual ~QDesignerIntrospection();
40 |
41 | const QDesignerMetaObjectInterface *metaObject(const QObject *object) const override;
42 |
43 | const QDesignerMetaObjectInterface *metaObjectForQMetaObject(const QMetaObject *metaObject) const;
44 |
45 | private:
46 | typedef QMap MetaObjectMap;
47 | mutable MetaObjectMap m_metaObjectMap;
48 | };
49 |
50 | }
51 |
52 | #endif
53 |
--------------------------------------------------------------------------------
/src/designer/designer_object_inspector.cpp:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #include
21 |
22 | namespace qdesigner_internal {
23 |
24 | QDesignerObjectInspector::QDesignerObjectInspector(QWidget *parent, Qt::WindowFlags flags)
25 | : QDesignerObjectInspectorInterface(parent, flags)
26 | {
27 | }
28 |
29 | void QDesignerObjectInspector::mainContainerChanged()
30 | {
31 | }
32 |
33 | void Selection::clear()
34 | {
35 | managed.clear();
36 | unmanaged.clear();
37 | objects.clear();
38 | }
39 |
40 | bool Selection::empty() const
41 | {
42 | return managed.empty() && unmanaged.empty() && objects.empty();
43 | }
44 |
45 | QObjectList Selection::selection() const
46 | {
47 | QObjectList rc(objects);
48 |
49 | for (QObject *o : managed) {
50 | rc.push_back(o);
51 | }
52 |
53 | for (QObject *o : unmanaged) {
54 | rc.push_back(o);
55 | }
56 | return rc;
57 | }
58 |
59 | } // end namespace
60 |
61 |
--------------------------------------------------------------------------------
/src/designer/designer_qsettings.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef QDESIGNER_QSETTINGS_H
21 | #define QDESIGNER_QSETTINGS_H
22 |
23 | #include
24 | #include
25 |
26 | #include
27 |
28 | // Implements QDesignerSettingsInterface by calls to QSettings
29 | class QDesignerQSettings : public QDesignerSettingsInterface
30 | {
31 | public:
32 | QDesignerQSettings();
33 |
34 | void beginGroup(const QString &prefix) override;
35 | void endGroup() override;
36 |
37 | bool contains(const QString &key) const override;
38 | void setValue(const QString &key, const QVariant &value) override;
39 | QVariant value(const QString &key, const QVariant &defaultValue = QVariant()) const override;
40 | void remove(const QString &key) override;
41 |
42 | // The application name to be used for settings. Allows for including
43 | // the version to prevent settings of different versions from interfering.
44 | static QString settingsApplicationName();
45 |
46 | private:
47 | QSettings m_settings;
48 | };
49 |
50 | #endif
51 |
--------------------------------------------------------------------------------
/src/designer_build_info.h.in:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef DESIGNER_BUILD_INFO_H_IN
21 | #define DESIGNER_BUILD_INFO_H_IN
22 |
23 | // Designer Version "x.y.z"
24 | constexpr const char *versionString = "@PACKAGE_VERSION@";
25 |
26 | // Designer Build Date "08/17/2017"
27 | constexpr const char *buildDate = "@BUILD_DATE@";
28 |
29 | #endif
30 |
--------------------------------------------------------------------------------
/src/dialogs/dialogs.cmake:
--------------------------------------------------------------------------------
1 | list(APPEND DESIGNER_INCLUDES
2 | ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/appfont_dialog.h
3 | ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/code_dialog.h
4 | ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/designer_enums.h
5 | ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/newaction_dialog.h
6 | ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/newform.h
7 | ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/newform_widget.h
8 | ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/order_dialog.h
9 | ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/preferences_dialog.h
10 | ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/toolbar_dialog.h
11 | ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/saveform_as_template.h
12 | ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/signalslot_dialog.h
13 | )
14 |
15 | list(APPEND DESIGNER_SOURCES
16 | ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/appfont_dialog.cpp
17 | ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/code_dialog.cpp
18 | ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/newaction_dialog.cpp
19 | ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/newform.cpp
20 | ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/newform_widget.cpp
21 | ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/order_dialog.cpp
22 | ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/preferences_dialog.cpp
23 | ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/toolbar_dialog.cpp
24 | ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/saveform_as_template.cpp
25 | ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/signalslot_dialog.cpp
26 | )
27 |
--------------------------------------------------------------------------------
/src/dialogs/saveform_as_template.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef SAVEFORM_AS_TEMPLATE_H
21 | #define SAVEFORM_AS_TEMPLATE_H
22 |
23 | #include
24 |
25 | class QDesignerFormEditorInterface;
26 | class QDesignerFormWindowInterface;
27 |
28 | class SaveFormAsTemplate: public QDialog
29 | {
30 | CS_OBJECT(SaveFormAsTemplate)
31 |
32 | public:
33 | explicit SaveFormAsTemplate(QDesignerFormEditorInterface *m_core,
34 | QDesignerFormWindowInterface *formWindow, QWidget *parent = nullptr);
35 |
36 | virtual ~SaveFormAsTemplate();
37 |
38 | private:
39 | CS_SLOT_1(Private, void accept() override)
40 | CS_SLOT_2(accept)
41 |
42 | CS_SLOT_1(Private, void updateOKButton(const QString &str))
43 | CS_SLOT_2(updateOKButton)
44 |
45 | CS_SLOT_1(Private, void checkToAddPath(int itemIndex))
46 | CS_SLOT_2(checkToAddPath)
47 |
48 | static QString chooseTemplatePath(QWidget *parent);
49 |
50 | Ui::SaveFormAsTemplate ui;
51 | QDesignerFormEditorInterface *m_core;
52 | QDesignerFormWindowInterface *m_formWindow;
53 | int m_addPathIndex;
54 | };
55 |
56 | #endif
57 |
--------------------------------------------------------------------------------
/src/editor/form_editor/default_layoutdecoration.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef DEFAULT_LAYOUTDECORATION_H
21 | #define DEFAULT_LAYOUTDECORATION_H
22 |
23 | #include
24 | #include
25 |
26 | class QDesignerFormWindowInterface;
27 |
28 | namespace qdesigner_internal {
29 |
30 | class QDesignerLayoutDecorationFactory: public QExtensionFactory
31 | {
32 | CS_OBJECT(QDesignerLayoutDecorationFactory)
33 |
34 | CS_INTERFACES(QAbstractExtensionFactory)
35 |
36 | public:
37 | explicit QDesignerLayoutDecorationFactory(QExtensionManager *parent = nullptr);
38 |
39 | protected:
40 | QObject *createExtension(QObject *object, const QString &iid, QObject *parent) const override;
41 | };
42 |
43 | } // end namespace - qdesigner_internal
44 |
45 |
46 | #endif
47 |
--------------------------------------------------------------------------------
/src/editor/form_editor/dpi_chooser.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef DPICHOOSER_H
21 | #define DPICHOOSER_H
22 |
23 | #include
24 |
25 | class QComboBox;
26 | class QSpinBox;
27 |
28 | namespace qdesigner_internal {
29 |
30 | struct DPI_Entry;
31 |
32 | // Let the user choose a DPI settings
33 | class DPI_Chooser : public QWidget
34 | {
35 | CS_OBJECT(DPI_Chooser)
36 |
37 | public:
38 | explicit DPI_Chooser(QWidget *parent = nullptr);
39 | ~DPI_Chooser();
40 |
41 | void getDPI(int *dpiX, int *dpiY) const;
42 | void setDPI(int dpiX, int dpiY);
43 |
44 | private:
45 | Q_DISABLE_COPY(DPI_Chooser)
46 |
47 | CS_SLOT_1(Private, void syncSpinBoxes())
48 | CS_SLOT_2(syncSpinBoxes)
49 |
50 | void setUserDefinedValues(int dpiX, int dpiY);
51 |
52 | struct DPI_Entry *m_systemEntry;
53 | QComboBox *m_predefinedCombo;
54 | QSpinBox *m_dpiXSpinBox;
55 | QSpinBox *m_dpiYSpinBox;
56 | };
57 |
58 | }
59 |
60 | #endif
61 |
--------------------------------------------------------------------------------
/src/editor/form_editor/formeditor.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef FORMEDITOR_H
21 | #define FORMEDITOR_H
22 |
23 | #include
24 |
25 | class QObject;
26 |
27 | namespace qdesigner_internal {
28 |
29 | class FormEditor: public QDesignerFormEditorInterface
30 | {
31 | CS_OBJECT(FormEditor)
32 |
33 | public:
34 | FormEditor(QObject *parent = nullptr);
35 | virtual ~FormEditor();
36 |
37 | CS_SLOT_1(Public, void slotQrcFileChangedExternally(const QString &path))
38 | CS_SLOT_2(slotQrcFileChangedExternally)
39 | };
40 |
41 | } // namespace qdesigner_internal
42 |
43 | #endif
44 |
--------------------------------------------------------------------------------
/src/editor/form_editor/formeditor_optionspage.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef FORMEDITOR_OPTIONSPAGE_H
21 | #define FORMEDITOR_OPTIONSPAGE_H
22 |
23 | #include
24 |
25 | #include
26 |
27 | class QDesignerFormEditorInterface;
28 |
29 | namespace qdesigner_internal {
30 |
31 | class GridPanel;
32 | class PreviewConfigurationWidget;
33 | class ZoomSettingsWidget;
34 |
35 | class FormEditorOptionsPage : public QDesignerOptionsPageInterface
36 | {
37 | public:
38 | explicit FormEditorOptionsPage(QDesignerFormEditorInterface *core);
39 |
40 | QString name() const override;
41 | QWidget *createPage(QWidget *parent) override;
42 | virtual void apply() override;
43 | virtual void finish() override;
44 |
45 | private:
46 | QDesignerFormEditorInterface *m_core;
47 | QPointer m_previewConf;
48 | QPointer m_defaultGridConf;
49 | QPointer m_zoomSettingsWidget;
50 | };
51 |
52 | } // end namespace - qdesigner_internal
53 |
54 | #endif
55 |
--------------------------------------------------------------------------------
/src/editor/form_editor/formwindow_dnditem.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef FORMWINDOW_DNDITEM_H
21 | #define FORMWINDOW_DNDITEM_H
22 |
23 | #include
24 |
25 | namespace qdesigner_internal {
26 |
27 | class FormWindow;
28 |
29 | class FormWindowDnDItem : public QDesignerDnDItem
30 | {
31 | public:
32 | FormWindowDnDItem(QDesignerDnDItemInterface::DropType type, FormWindow *form,
33 | QWidget *widget, const QPoint &global_mouse_pos);
34 |
35 | DomUI *domUi() const override;
36 | };
37 |
38 | } // end namespace - qdesigner_internal
39 |
40 | #endif
41 |
--------------------------------------------------------------------------------
/src/editor/form_editor/layoutwidget_propertysheet.cpp:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #include
21 | #include
22 | #include
23 | #include
24 | #include
25 |
26 | #include
27 |
28 | using namespace qdesigner_internal;
29 |
30 | QLayoutWidgetPropertySheet::QLayoutWidgetPropertySheet(QLayoutWidget *object, QObject *parent)
31 | : QDesignerPropertySheet(object, parent)
32 | {
33 | clearFakeProperties();
34 | }
35 |
36 | QLayoutWidgetPropertySheet::~QLayoutWidgetPropertySheet()
37 | {
38 | }
39 |
40 | bool QLayoutWidgetPropertySheet::isVisible(int index) const
41 | {
42 | static const QString layoutPropertyGroup = "Layout";
43 |
44 | if (propertyGroup(index) == layoutPropertyGroup) {
45 | return QDesignerPropertySheet::isVisible(index);
46 | }
47 |
48 | return false;
49 | }
50 |
51 | void QLayoutWidgetPropertySheet::setProperty(int index, const QVariant &value)
52 | {
53 | QDesignerPropertySheet::setProperty(index, value);
54 | }
55 |
56 | bool QLayoutWidgetPropertySheet::dynamicPropertiesAllowed() const
57 | {
58 | return false;
59 | }
60 |
--------------------------------------------------------------------------------
/src/editor/form_editor/layoutwidget_propertysheet.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef LAYOUTWIDGET_PROPERTYSHEET_H
21 | #define LAYOUTWIDGET_PROPERTYSHEET_H
22 |
23 | #include
24 | #include
25 |
26 | #include
27 |
28 | namespace qdesigner_internal {
29 |
30 | class QLayoutWidgetPropertySheet: public QDesignerPropertySheet
31 | {
32 | CS_OBJECT(QLayoutWidgetPropertySheet)
33 | CS_INTERFACES(QDesignerPropertySheetExtension)
34 |
35 | public:
36 | explicit QLayoutWidgetPropertySheet(QLayoutWidget *object, QObject *parent = nullptr);
37 | virtual ~QLayoutWidgetPropertySheet();
38 |
39 | void setProperty(int index, const QVariant &value) override;
40 | bool isVisible(int index) const override;
41 |
42 | bool dynamicPropertiesAllowed() const override;
43 | };
44 |
45 | typedef QDesignerPropertySheetFactory QLayoutWidgetPropertySheetFactory;
46 |
47 | } // end namespace qdesigner_internal
48 |
49 | #endif
50 |
--------------------------------------------------------------------------------
/src/editor/form_editor/line_propertysheet.cpp:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #include
21 | #include
22 | #include
23 |
24 | #include
25 | #include
26 | #include
27 |
28 | using namespace qdesigner_internal;
29 |
30 | LinePropertySheet::LinePropertySheet(Line *object, QObject *parent)
31 | : QDesignerPropertySheet(object, parent)
32 | {
33 | clearFakeProperties();
34 | }
35 |
36 | LinePropertySheet::~LinePropertySheet()
37 | {
38 | }
39 |
40 | bool LinePropertySheet::isVisible(int index) const
41 | {
42 | const QString name = propertyName(index);
43 |
44 | if (name == "frameShape") {
45 | return false;
46 | }
47 | return QDesignerPropertySheet::isVisible(index);
48 | }
49 |
50 | void LinePropertySheet::setProperty(int index, const QVariant &value)
51 | {
52 | QDesignerPropertySheet::setProperty(index, value);
53 | }
54 |
55 | QString LinePropertySheet::propertyGroup(int index) const
56 | {
57 | return QDesignerPropertySheet::propertyGroup(index);
58 | }
59 |
60 |
--------------------------------------------------------------------------------
/src/editor/form_editor/line_propertysheet.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef LINE_PROPERTYSHEET_H
21 | #define LINE_PROPERTYSHEET_H
22 |
23 | #include
24 | #include
25 |
26 | #include
27 |
28 | namespace qdesigner_internal {
29 |
30 | class LinePropertySheet: public QDesignerPropertySheet
31 | {
32 | CS_OBJECT(LinePropertySheet)
33 | CS_INTERFACES(QDesignerPropertySheetExtension)
34 |
35 | public:
36 | explicit LinePropertySheet(Line *object, QObject *parent = nullptr);
37 | virtual ~LinePropertySheet();
38 |
39 | void setProperty(int index, const QVariant &value) override;
40 | bool isVisible(int index) const override;
41 | QString propertyGroup(int index) const override;
42 | };
43 |
44 | typedef QDesignerPropertySheetFactory LinePropertySheetFactory;
45 |
46 | } // end namespace qdesigner_internal
47 |
48 | #endif
49 |
--------------------------------------------------------------------------------
/src/editor/form_editor/previewactiongroup.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef PREVIEWACTIONGROUP_H
21 | #define PREVIEWACTIONGROUP_H
22 |
23 | #include
24 |
25 | class QDesignerFormEditorInterface;
26 |
27 | namespace qdesigner_internal {
28 |
29 | // used as a submenu for 'Preview in...', offers a menu of styles and device profiles.
30 |
31 | class PreviewActionGroup : public QActionGroup
32 | {
33 | CS_OBJECT(PreviewActionGroup)
34 |
35 | public:
36 | explicit PreviewActionGroup(QDesignerFormEditorInterface *core, QObject *parent = nullptr);
37 |
38 | CS_SIGNAL_1(Public, void preview(const QString &style, int deviceProfileIndex))
39 | CS_SIGNAL_2(preview, style, deviceProfileIndex)
40 |
41 | CS_SLOT_1(Public, void updateDeviceProfiles())
42 | CS_SLOT_2(updateDeviceProfiles)
43 |
44 | private:
45 | PreviewActionGroup(const PreviewActionGroup &) = delete;
46 | PreviewActionGroup &operator=(const PreviewActionGroup &) = delete;
47 |
48 | CS_SLOT_1(Private, void slotTriggered(QAction *un_named_arg1))
49 | CS_SLOT_2(slotTriggered)
50 |
51 | QDesignerFormEditorInterface *m_core;
52 | };
53 | }
54 |
55 | #endif
56 |
--------------------------------------------------------------------------------
/src/editor/form_editor/spacer_propertysheet.cpp:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #include
21 | #include
22 | #include
23 | #include
24 |
25 | #include
26 |
27 | #include
28 |
29 | namespace qdesigner_internal {
30 |
31 | SpacerPropertySheet::SpacerPropertySheet(Spacer *object, QObject *parent)
32 | : QDesignerPropertySheet(object, parent)
33 | {
34 | clearFakeProperties();
35 | }
36 |
37 | SpacerPropertySheet::~SpacerPropertySheet()
38 | {
39 | }
40 |
41 | bool SpacerPropertySheet::isVisible(int index) const
42 | {
43 | static const QString spacerGroup = "Spacer";
44 | return propertyGroup(index) == spacerGroup;
45 | }
46 |
47 | void SpacerPropertySheet::setProperty(int index, const QVariant &value)
48 | {
49 | QDesignerPropertySheet::setProperty(index, value);
50 | }
51 |
52 | bool SpacerPropertySheet::dynamicPropertiesAllowed() const
53 | {
54 | return false;
55 | }
56 |
57 | } // end namespace
58 |
59 |
60 |
--------------------------------------------------------------------------------
/src/editor/form_editor/spacer_propertysheet.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef SPACER_PROPERTYSHEET_H
21 | #define SPACER_PROPERTYSHEET_H
22 |
23 | #include
24 |
25 | #include
26 | #include
27 |
28 | namespace qdesigner_internal {
29 |
30 | class SpacerPropertySheet: public QDesignerPropertySheet
31 | {
32 | CS_OBJECT(SpacerPropertySheet)
33 | CS_INTERFACES(QDesignerPropertySheetExtension)
34 |
35 | public:
36 | explicit SpacerPropertySheet(Spacer *object, QObject *parent = nullptr);
37 | virtual ~SpacerPropertySheet();
38 |
39 | void setProperty(int index, const QVariant &value) override;
40 | bool isVisible(int index) const override;
41 |
42 | bool dynamicPropertiesAllowed() const override;
43 | };
44 |
45 | using SpacerPropertySheetFactory = QDesignerPropertySheetFactory;
46 |
47 | } // end namespace qdesigner_internal
48 |
49 | #endif
50 |
--------------------------------------------------------------------------------
/src/editor/gradient_editor/gradient_select.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef GRADIENTVIEWDIALOG_H
21 | #define GRADIENTVIEWDIALOG_H
22 |
23 | #include
24 |
25 | #include
26 | #include
27 |
28 | class QtGradientManager;
29 |
30 | class QtGradientSelect : public QDialog
31 | {
32 | CS_OBJECT(QtGradientSelect)
33 |
34 | public:
35 | QtGradientSelect(QWidget *parent = nullptr);
36 |
37 | void setGradientManager(QtGradientManager *manager);
38 | QtGradientManager *gradientManager() const;
39 |
40 | static QGradient getGradient(bool *ok, QtGradientManager *manager, QWidget *parent = nullptr,
41 | const QString &caption = tr("Select Gradient", nullptr));
42 |
43 | private:
44 | CS_SLOT_1(Private, void slotGradientSelected(const QString &id))
45 | CS_SLOT_2(slotGradientSelected)
46 |
47 | CS_SLOT_1(Private, void slotGradientActivated(const QString &id))
48 | CS_SLOT_2(slotGradientActivated)
49 |
50 | Ui::QtGradientSelect m_ui;
51 | };
52 |
53 | #endif
54 |
55 |
--------------------------------------------------------------------------------
/src/editor/gradient_editor/gradient_utils.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef GRADIENTUTILS_H
21 | #define GRADIENTUTILS_H
22 |
23 | #include
24 | #include
25 |
26 | class QtGradientManager;
27 |
28 | class QtGradientUtils
29 | {
30 | public:
31 | static QString styleSheetCode(const QGradient &gradient);
32 |
33 | static QString saveState(const QtGradientManager *manager);
34 | static void restoreState(QtGradientManager *manager, const QString &state);
35 |
36 | static QPixmap gradientPixmap(const QGradient &gradient, const QSize &size = QSize(64, 64),
37 | bool checkeredBackground = false);
38 | };
39 |
40 | #endif
41 |
--------------------------------------------------------------------------------
/src/editor/popup_editor/listwidget_editor.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef LISTWIDGETEDITOR_H
21 | #define LISTWIDGETEDITOR_H
22 |
23 | #include
24 | #include
25 |
26 | #include
27 |
28 | class QDesignerFormWindowInterface;
29 |
30 | class QComboBox;
31 | class QListWidget;
32 |
33 | namespace qdesigner_internal {
34 |
35 | class ListWidgetEditor: public QDialog
36 | {
37 | CS_OBJECT(ListWidgetEditor)
38 |
39 | public:
40 | ListWidgetEditor(QDesignerFormWindowInterface *form, QWidget *parent);
41 |
42 | ListData fillContentsFromListWidget(QListWidget *listWidget);
43 | ListData fillContentsFromComboBox(QComboBox *comboBox);
44 | ListData contents() const;
45 |
46 | private:
47 | ItemListEditor *m_itemsEditor;
48 | };
49 |
50 | } // end namespace qdesigner_internal
51 |
52 | #endif
53 |
--------------------------------------------------------------------------------
/src/editor/popup_editor/stringlist_editor_toolbutton.cpp:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #include
21 | #include
22 |
23 | using namespace qdesigner_internal;
24 |
25 | StringListEditorButton::StringListEditorButton(const QStringList &stringList, QWidget *parent)
26 | : QToolButton(parent), m_stringList(stringList)
27 | {
28 | setFocusPolicy(Qt::NoFocus);
29 | setText(tr("Change String List"));
30 | setSizePolicy(QSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed));
31 |
32 | connect(this, &QAbstractButton::clicked, this, &StringListEditorButton::showStringListEditor);
33 | }
34 |
35 | StringListEditorButton::~StringListEditorButton()
36 | {
37 | }
38 |
39 | void StringListEditorButton::setStringList(const QStringList &stringList)
40 | {
41 | m_stringList = stringList;
42 | }
43 |
44 | void StringListEditorButton::showStringListEditor()
45 | {
46 | int result;
47 | QStringList list = StringListEditor::getStringList(nullptr, m_stringList, &result);
48 |
49 | if (result == QDialog::Accepted) {
50 | m_stringList = list;
51 | emit stringListChanged(m_stringList);
52 | }
53 | }
54 |
--------------------------------------------------------------------------------
/src/editor/popup_editor/stringlist_editor_toolbutton.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef STRINGLIST_TOOLBUTTON_H
21 | #define STRINGLIST_TOOLBUTTON_H
22 |
23 | #include
24 | #include
25 |
26 | namespace qdesigner_internal {
27 |
28 | class StringListEditorButton: public QToolButton
29 | {
30 | CS_OBJECT(StringListEditorButton)
31 |
32 | public:
33 | explicit StringListEditorButton(const QStringList &stringList, QWidget *parent = nullptr);
34 | virtual ~StringListEditorButton();
35 |
36 | QStringList stringList() const {
37 | return m_stringList;
38 | }
39 |
40 | CS_SIGNAL_1(Public, void stringListChanged(const QStringList &stringList))
41 | CS_SIGNAL_2(stringListChanged, stringList)
42 |
43 | CS_SLOT_1(Public, void setStringList(const QStringList &stringList))
44 | CS_SLOT_2(setStringList)
45 |
46 | private:
47 | CS_SLOT_1(Private, void showStringListEditor())
48 | CS_SLOT_2(showStringListEditor)
49 |
50 | QStringList m_stringList;
51 | };
52 |
53 | } // end namespace qdesigner_internal
54 |
55 | #endif
56 |
--------------------------------------------------------------------------------
/src/editor/popup_editor/stylesheet_widget.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef STYLESHEET_WIDGET_H
21 | #define STYLESHEET_WIDGET_H
22 |
23 | #include
24 |
25 | class StyleSheet_Widget : public QTextEdit
26 | {
27 | CS_OBJECT(StyleSheet_Widget)
28 |
29 | public:
30 | StyleSheet_Widget(QWidget *parent = nullptr);
31 | };
32 |
33 | #endif
--------------------------------------------------------------------------------
/src/editor/property_editor/property_view_groupbox.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef PROPERTY_VIEW_GROUPBOX_H
21 | #define PROPERTY_VIEW_GROUPBOX_H
22 |
23 | #include
24 |
25 | class QtGroupBoxPropertyBrowserPrivate;
26 |
27 | class QtGroupBoxPropertyBrowser : public QtAbstractPropertyBrowser
28 | {
29 | CS_OBJECT(QtGroupBoxPropertyBrowser)
30 |
31 | public:
32 | QtGroupBoxPropertyBrowser(QWidget *parent = nullptr);
33 | ~QtGroupBoxPropertyBrowser();
34 |
35 | protected:
36 | void itemInserted(QtBrowserItem *item, QtBrowserItem *afterItem) override;
37 | void itemRemoved(QtBrowserItem *item) override;
38 | void itemChanged(QtBrowserItem *item) override;
39 |
40 | private:
41 | QScopedPointer d_ptr;
42 | Q_DECLARE_PRIVATE(QtGroupBoxPropertyBrowser)
43 | Q_DISABLE_COPY(QtGroupBoxPropertyBrowser)
44 |
45 | CS_SLOT_1(Private, void slotUpdate())
46 | CS_SLOT_2(slotUpdate)
47 |
48 | CS_SLOT_1(Private, void slotEditorDestroyed())
49 | CS_SLOT_2(slotEditorDestroyed)
50 | };
51 |
52 | #endif
53 |
--------------------------------------------------------------------------------
/src/editor/taborder_editor/tabordereditor_global.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef TABORDEREDITOR_GLOBAL_H
21 | #define TABORDEREDITOR_GLOBAL_H
22 |
23 | #include
24 |
25 | #ifdef Q_OS_WIN
26 |
27 | #ifdef QT_TABORDEREDITOR_LIBRARY
28 | # define QT_TABORDEREDITOR_EXPORT
29 | #else
30 | # define QT_TABORDEREDITOR_EXPORT
31 | #endif
32 |
33 | #else
34 | #define QT_TABORDEREDITOR_EXPORT
35 |
36 | #endif
37 |
38 | #endif // TABORDEREDITOR_GLOBAL_H
39 |
--------------------------------------------------------------------------------
/src/editor/text_editor/plaintext_editor.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef PLAINTEXT_EDITOR_H
21 | #define PLAINTEXT_EDITOR_H
22 |
23 | #include
24 | #include
25 |
26 | class QDesignerFormEditorInterface;
27 |
28 | namespace qdesigner_internal {
29 |
30 | class PlainTextEditorDialog : public QDialog
31 | {
32 | CS_OBJECT(PlainTextEditorDialog)
33 |
34 | public:
35 | explicit PlainTextEditorDialog(QDesignerFormEditorInterface *core, QWidget *parent = nullptr);
36 | ~PlainTextEditorDialog();
37 |
38 | int showDialog();
39 |
40 | void setDefaultFont(const QFont &font);
41 |
42 | void setText(const QString &text);
43 | QString text() const;
44 |
45 | private:
46 | QPlainTextEdit *m_editor;
47 | QDesignerFormEditorInterface *m_core;
48 | };
49 |
50 | } // end namespace qdesigner_internal
51 |
52 | #endif // RITCHTEXTEDITOR_H
53 |
--------------------------------------------------------------------------------
/src/formbuilder/formbuilder.cmake:
--------------------------------------------------------------------------------
1 | list(APPEND DESIGNER_INCLUDES
2 | ${CMAKE_CURRENT_SOURCE_DIR}/formbuilder/abstract_formbuilder.h
3 | ${CMAKE_CURRENT_SOURCE_DIR}/formbuilder/formbuilder.h
4 | ${CMAKE_CURRENT_SOURCE_DIR}/formbuilder/properties.h
5 | ${CMAKE_CURRENT_SOURCE_DIR}/formbuilder/formbuilderextra.h
6 | ${CMAKE_CURRENT_SOURCE_DIR}/formbuilder/resourcebuilder.h
7 | ${CMAKE_CURRENT_SOURCE_DIR}/formbuilder/textbuilder.h
8 | ${CMAKE_CURRENT_SOURCE_DIR}/formbuilder/ui4.h
9 | )
10 |
11 | list(APPEND DESIGNER_SOURCES
12 | ${CMAKE_CURRENT_SOURCE_DIR}/formbuilder/abstract_formbuilder.cpp
13 | ${CMAKE_CURRENT_SOURCE_DIR}/formbuilder/formbuilder.cpp
14 | ${CMAKE_CURRENT_SOURCE_DIR}/formbuilder/ui4.cpp
15 | ${CMAKE_CURRENT_SOURCE_DIR}/formbuilder/properties.cpp
16 | ${CMAKE_CURRENT_SOURCE_DIR}/formbuilder/formbuilderextra.cpp
17 | ${CMAKE_CURRENT_SOURCE_DIR}/formbuilder/resourcebuilder.cpp
18 | ${CMAKE_CURRENT_SOURCE_DIR}/formbuilder/textbuilder.cpp
19 | )
20 |
--------------------------------------------------------------------------------
/src/formbuilder/resourcebuilder.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef RESOURCEBUILDER_H
21 | #define RESOURCEBUILDER_H
22 |
23 | #include
24 | #include
25 |
26 | class DomProperty;
27 | class DomResourceIcon;
28 |
29 | class QDir;
30 | class QVariant;
31 |
32 | class QResourceBuilder
33 | {
34 | public:
35 | enum IconStateFlags {
36 | NormalOff = 0x1, NormalOn = 0x2, DisabledOff = 0x4, DisabledOn = 0x8,
37 | ActiveOff = 0x10, ActiveOn = 0x20, SelectedOff = 0x40, SelectedOn = 0x80
38 | };
39 |
40 | QResourceBuilder();
41 | virtual ~QResourceBuilder();
42 |
43 | virtual QVariant loadResource(const QDir &workingDirectory, const DomProperty *property) const;
44 |
45 | virtual QVariant toNativeValue(const QVariant &value) const;
46 |
47 | virtual DomProperty *saveResource(const QDir &workingDirectory, const QVariant &value) const;
48 |
49 | virtual bool isResourceProperty(const DomProperty *p) const;
50 |
51 | virtual bool isResourceType(const QVariant &value) const;
52 |
53 | static int iconStateFlags(const DomResourceIcon *resIcon);
54 | };
55 |
56 | #endif
57 |
--------------------------------------------------------------------------------
/src/formbuilder/textbuilder.cpp:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #include
21 | #include
22 |
23 | #include
24 |
25 | QTextBuilder::QTextBuilder()
26 | {
27 | }
28 |
29 | QTextBuilder::~QTextBuilder()
30 | {
31 | }
32 |
33 | QVariant QTextBuilder::loadText(const DomProperty *property) const
34 | {
35 | if (property->kind() == DomProperty::String) {
36 | return property->elementString()->text();
37 | }
38 | return QVariant();
39 | }
40 |
41 | QVariant QTextBuilder::toNativeValue(const QVariant &value) const
42 | {
43 | return value;
44 | }
45 |
46 | DomProperty *QTextBuilder::saveText(const QVariant &value) const
47 | {
48 | (void) value;
49 | return nullptr;
50 | }
--------------------------------------------------------------------------------
/src/formbuilder/textbuilder.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef TEXTBUILDER_H
21 | #define TEXTBUILDER_H
22 |
23 | #include
24 | #include
25 |
26 | class DomProperty;
27 | class DomString;
28 |
29 | class QDir;
30 | class QVariant;
31 |
32 | class QTextBuilder
33 | {
34 | public:
35 | QTextBuilder();
36 | virtual ~QTextBuilder();
37 |
38 | virtual QVariant loadText(const DomProperty *property) const;
39 |
40 | virtual QVariant toNativeValue(const QVariant &value) const;
41 |
42 | virtual DomProperty *saveText(const QVariant &value) const;
43 | };
44 |
45 | #endif
--------------------------------------------------------------------------------
/src/lib/extension/container.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef CONTAINER_H
21 | #define CONTAINER_H
22 |
23 | #include
24 |
25 | #include
26 |
27 | class QWidget;
28 |
29 | class QDesignerContainerExtension
30 | {
31 | public:
32 | virtual ~QDesignerContainerExtension()
33 | { }
34 |
35 | virtual int count() const = 0;
36 | virtual QWidget *widget(int index) const = 0;
37 |
38 | virtual int currentIndex() const = 0;
39 | virtual void setCurrentIndex(int index) = 0;
40 |
41 | virtual void addWidget(QWidget *widget) = 0;
42 | virtual void insertWidget(int index, QWidget *widget) = 0;
43 | virtual void remove(int index) = 0;
44 |
45 | virtual bool canAddWidget() const = 0;
46 | virtual bool canRemove(int index) const = 0;
47 | };
48 |
49 | CS_DECLARE_EXTENSION_INTERFACE(QDesignerContainerExtension, "copperspice.com.CS.Designer.Container")
50 |
51 | #endif
52 |
--------------------------------------------------------------------------------
/src/lib/extension/default_extensionfactory.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef DEFAULT_EXTENSIONFACTORY_H
21 | #define DEFAULT_EXTENSIONFACTORY_H
22 |
23 | #include
24 |
25 | #include
26 | #include
27 | #include
28 |
29 | class QExtensionManager;
30 |
31 | class QExtensionFactory : public QObject, public QAbstractExtensionFactory
32 | {
33 | CS_OBJECT(QExtensionFactory)
34 | CS_INTERFACES(QAbstractExtensionFactory)
35 |
36 | public:
37 | explicit QExtensionFactory(QExtensionManager *parent = nullptr);
38 |
39 | QObject *extension(QObject *object, const QString &iid) const override;
40 | QExtensionManager *extensionManager() const;
41 |
42 | protected:
43 | virtual QObject *createExtension(QObject *object, const QString &iid, QObject *parent) const;
44 |
45 | private:
46 | CS_SLOT_1(Private, void objectDestroyed(QObject *object))
47 | CS_SLOT_2(objectDestroyed)
48 |
49 | mutable QMap< QPair, QObject *> m_extensions;
50 | mutable QHash m_extended;
51 | };
52 |
53 |
54 | #endif // DEFAULT_EXTENSIONFACTORY_H
55 |
--------------------------------------------------------------------------------
/src/lib/extension/dynamicpropertysheet.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef DYNAMICPROPERTYSHEET_H
21 | #define DYNAMICPROPERTYSHEET_H
22 |
23 | #include
24 |
25 | #include
26 |
27 | class QDesignerDynamicPropertySheetExtension
28 | {
29 | public:
30 | virtual ~QDesignerDynamicPropertySheetExtension() {
31 | }
32 |
33 | virtual bool dynamicPropertiesAllowed() const = 0;
34 | virtual int addDynamicProperty(const QString &propertyName, const QVariant &value) = 0;
35 | virtual bool removeDynamicProperty(int index) = 0;
36 | virtual bool isDynamicProperty(int index) const = 0;
37 | virtual bool canAddDynamicProperty(const QString &propertyName) const = 0;
38 | };
39 |
40 | CS_DECLARE_EXTENSION_INTERFACE(QDesignerDynamicPropertySheetExtension, "copperspice.com.CS.Designer.DynamicPropertySheet")
41 |
42 | #endif
43 |
--------------------------------------------------------------------------------
/src/lib/extension/extension.cpp:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #include
21 |
--------------------------------------------------------------------------------
/src/lib/extension/extension_manager.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef QEXTENSIONMANAGER_H
21 | #define QEXTENSIONMANAGER_H
22 |
23 | #include
24 |
25 | #include
26 | #include
27 |
28 | class QExtensionManager : public QObject, public QAbstractExtensionManager
29 | {
30 | CS_OBJECT_MULTIPLE(QExtensionManager, QObject)
31 | CS_INTERFACES(QAbstractExtensionManager)
32 |
33 | public:
34 | explicit QExtensionManager(QObject *parent = nullptr);
35 | ~QExtensionManager();
36 |
37 | void registerExtensions(QAbstractExtensionFactory *factory, const QString &iid = QString()) override;
38 | void unregisterExtensions(QAbstractExtensionFactory *factory, const QString &iid = QString()) override;
39 |
40 | QObject *extension(QObject *object, const QString &iid) const override;
41 |
42 | private:
43 | typedef QList FactoryList;
44 | typedef QHash FactoryMap;
45 | FactoryMap m_extensions;
46 | FactoryList m_globalExtension;
47 | };
48 |
49 | #endif
50 |
--------------------------------------------------------------------------------
/src/lib/extension/extrainfo.cpp:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #include
21 |
22 | QString QDesignerExtraInfoExtension::workingDirectory() const
23 | {
24 | return m_workingDirectory;
25 | }
26 |
27 | void QDesignerExtraInfoExtension::setWorkingDirectory(const QString &workingDirectory)
28 | {
29 | m_workingDirectory = workingDirectory;
30 | }
31 |
--------------------------------------------------------------------------------
/src/lib/extension/extrainfo.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef EXTRAINFO_H
21 | #define EXTRAINFO_H
22 |
23 | #include
24 |
25 | class DomUI;
26 | class DomWidget;
27 | class QDesignerFormEditorInterface;
28 |
29 | class QWidget;
30 |
31 | class QDesignerExtraInfoExtension
32 | {
33 | public:
34 | virtual ~QDesignerExtraInfoExtension() {}
35 |
36 | virtual QDesignerFormEditorInterface *core() const = 0;
37 | virtual QWidget *widget() const = 0;
38 |
39 | virtual bool saveUiExtraInfo(DomUI *ui) = 0;
40 | virtual bool loadUiExtraInfo(DomUI *ui) = 0;
41 |
42 | virtual bool saveWidgetExtraInfo(DomWidget *ui_widget) = 0;
43 | virtual bool loadWidgetExtraInfo(DomWidget *ui_widget) = 0;
44 |
45 | QString workingDirectory() const;
46 | void setWorkingDirectory(const QString &workingDirectory);
47 |
48 | private:
49 | QString m_workingDirectory;
50 | };
51 |
52 | CS_DECLARE_EXTENSION_INTERFACE(QDesignerExtraInfoExtension, "copperspice.com.CS.Designer.ExtraInfo.2")
53 |
54 |
55 | #endif // EXTRAINFO_H
56 |
--------------------------------------------------------------------------------
/src/lib/extra/csshighlighter_p.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef CSSHIGHLIGHTER_H
21 | #define CSSHIGHLIGHTER_H
22 |
23 | #include
24 |
25 | namespace qdesigner_internal {
26 |
27 | class CssHighlighter : public QSyntaxHighlighter
28 | {
29 | CS_OBJECT(CssHighlighter)
30 |
31 | public:
32 | explicit CssHighlighter(QTextDocument *document);
33 |
34 | protected:
35 | void highlightBlock(const QString &) override;
36 | void highlight(const QString &, int, int, int);
37 |
38 | private:
39 | enum State { Selector, Property, Value, Pseudo, Pseudo1, Pseudo2, Quote,
40 | MaybeComment, Comment, MaybeCommentEnd
41 | };
42 | };
43 |
44 | } // namespace qdesigner_internal
45 |
46 | #endif
47 |
--------------------------------------------------------------------------------
/src/lib/extra/gridpanel_p.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef GRIDPANEL_H
21 | #define GRIDPANEL_H
22 |
23 | #include
24 |
25 | namespace qdesigner_internal {
26 |
27 | class Grid;
28 |
29 | namespace Ui {
30 | class GridPanel;
31 | }
32 |
33 | class GridPanel : public QWidget
34 | {
35 | CS_OBJECT(GridPanel)
36 |
37 | public:
38 | GridPanel(QWidget *parent = nullptr);
39 | ~GridPanel();
40 |
41 | void setTitle(const QString &title);
42 |
43 | void setGrid(const Grid &g);
44 | Grid grid() const;
45 |
46 | void setCheckable (bool c);
47 | bool isCheckable () const;
48 |
49 | bool isChecked () const;
50 | void setChecked(bool c);
51 |
52 | void setResetButtonVisible(bool v);
53 |
54 | private:
55 | CS_SLOT_1(Private, void reset())
56 | CS_SLOT_2(reset)
57 |
58 | Ui::GridPanel *m_ui;
59 | };
60 |
61 | } // qdesigner_internal
62 |
63 | #endif // GRIDPANEL_H
64 |
--------------------------------------------------------------------------------
/src/lib/extra/htmlhighlighter_p.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef HTMLHIGHLIGHTER_H
21 | #define HTMLHIGHLIGHTER_H
22 |
23 | #include
24 |
25 | class QTextEdit;
26 |
27 | namespace qdesigner_internal {
28 |
29 | class HtmlHighlighter : public QSyntaxHighlighter
30 | {
31 | CS_OBJECT(HtmlHighlighter)
32 |
33 | public:
34 | enum Construct {
35 | Entity,
36 | Tag,
37 | Comment,
38 | Attribute,
39 | Value,
40 | LastConstruct = Value
41 | };
42 |
43 | HtmlHighlighter(QTextEdit *textEdit);
44 |
45 | void setFormatFor(Construct construct, const QTextCharFormat &format);
46 |
47 | QTextCharFormat formatFor(Construct construct) const {
48 | return m_formats[construct];
49 | }
50 |
51 | protected:
52 | enum State {
53 | NormalState = -1,
54 | InComment,
55 | InTag
56 | };
57 |
58 | void highlightBlock(const QString &text) override;
59 |
60 | private:
61 | QTextCharFormat m_formats[LastConstruct + 1];
62 | };
63 |
64 | } // namespace qdesigner_internal
65 |
66 | #endif
67 |
--------------------------------------------------------------------------------
/src/lib/extra/iconloader_p.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef ICONLOADER_H
21 | #define ICONLOADER_H
22 |
23 | #include
24 |
25 | class QIcon;
26 |
27 | namespace qdesigner_internal {
28 |
29 | QIcon createIconSet(const QString &name);
30 | QIcon emptyIcon();
31 | QIcon csLogoIcon();
32 |
33 | } // end namespace - qdesigner_internal
34 |
35 | #endif
36 |
--------------------------------------------------------------------------------
/src/lib/extra/invisible_widget.cpp:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #include
21 |
22 | namespace qdesigner_internal {
23 |
24 | InvisibleWidget::InvisibleWidget(QWidget *parent)
25 | : QWidget()
26 | {
27 | setAttribute(Qt::WA_NoChildEventsForParent);
28 | setParent(parent);
29 | }
30 |
31 | } // end namespace qdesigner_internal
32 |
--------------------------------------------------------------------------------
/src/lib/extra/invisible_widget_p.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef INVISIBLE_WIDGET_H
21 | #define INVISIBLE_WIDGET_H
22 |
23 | #include
24 |
25 | namespace qdesigner_internal {
26 |
27 | class InvisibleWidget: public QWidget
28 | {
29 | CS_OBJECT(InvisibleWidget)
30 |
31 | public:
32 | InvisibleWidget(QWidget *parent = nullptr);
33 | };
34 |
35 | } // namespace qdesigner_internal
36 |
37 | #endif
38 |
--------------------------------------------------------------------------------
/src/lib/extra/propertylineedit_p.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef PROPERTYLINEEDIT_H
21 | #define PROPERTYLINEEDIT_H
22 |
23 | #include
24 |
25 | namespace qdesigner_internal {
26 |
27 | // A line edit with a special context menu allowing for adding (escaped) new lines
28 | class PropertyLineEdit : public QLineEdit
29 | {
30 | CS_OBJECT(PropertyLineEdit)
31 |
32 | public:
33 | explicit PropertyLineEdit(QWidget *parent);
34 | void setWantNewLine(bool nl) {
35 | m_wantNewLine = nl;
36 | }
37 |
38 | bool wantNewLine() const {
39 | return m_wantNewLine;
40 | }
41 |
42 | bool event(QEvent *e) override;
43 |
44 | protected:
45 | void contextMenuEvent (QContextMenuEvent *event) override;
46 |
47 | private:
48 | CS_SLOT_1(Private, void insertNewLine())
49 | CS_SLOT_2(insertNewLine)
50 |
51 | void insertText(const QString &);
52 | bool m_wantNewLine;
53 | };
54 | }
55 |
56 | #endif
57 |
--------------------------------------------------------------------------------
/src/lib/extra/sheet_delegate_p.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef SHEET_DELEGATE_H
21 | #define SHEET_DELEGATE_H
22 |
23 | #include
24 | #include
25 |
26 | namespace qdesigner_internal {
27 |
28 | class SheetDelegate: public QItemDelegate
29 | {
30 | CS_OBJECT(SheetDelegate)
31 |
32 | public:
33 | SheetDelegate(QTreeView *view, QWidget *parent);
34 |
35 | void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override;
36 | QSize sizeHint(const QStyleOptionViewItem &opt, const QModelIndex &index) const override;
37 |
38 | private:
39 | QTreeView *m_view;
40 | };
41 |
42 | } // end namespace - qdesigner_internal
43 |
44 | #endif
--------------------------------------------------------------------------------
/src/lib/find_widget/itemview_findwidget.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef ITEMVIEW_FINDWIDGET_H
21 | #define ITEMVIEW_FINDWIDGET_H
22 |
23 | #include
24 |
25 | #include
26 |
27 | class QAbstractItemView;
28 |
29 | class ItemViewFindWidget : public AbstractFindWidget
30 | {
31 | CS_OBJECT(ItemViewFindWidget)
32 |
33 | public:
34 | explicit ItemViewFindWidget(FindFlags flags = FindFlags(), QWidget *parent = nullptr);
35 |
36 | QAbstractItemView *itemView() const {
37 | return m_itemView;
38 | }
39 |
40 | void setItemView(QAbstractItemView *itemView);
41 |
42 | protected:
43 | void deactivate() override;
44 | void find(const QString &textToFind, bool skipCurrent, bool backward,
45 | bool *found, bool *wrapped) override;
46 |
47 | private:
48 | QModelIndex findHelper(const QString &textToFind, bool skipCurrent, bool backward,
49 | QModelIndex parent, int row, int column);
50 |
51 | QAbstractItemView *m_itemView;
52 | };
53 |
54 | #endif
55 |
--------------------------------------------------------------------------------
/src/lib/find_widget/textedit_findwidget.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef TEXTEDIT_FINDWIDGET_H
21 | #define TEXTEDIT_FINDWIDGET_H
22 |
23 | #include
24 |
25 | class QTextEdit;
26 |
27 | class TextEditFindWidget : public AbstractFindWidget
28 | {
29 | CS_OBJECT(TextEditFindWidget)
30 |
31 | public:
32 | explicit TextEditFindWidget(FindFlags flags = FindFlags(), QWidget *parent = nullptr);
33 |
34 | QTextEdit *textEdit() const {
35 | return m_textEdit;
36 | }
37 |
38 | void setTextEdit(QTextEdit *textEdit);
39 |
40 | protected:
41 | void deactivate() override;
42 | void find(const QString &textToFind, bool skipCurrent, bool backward, bool *found, bool *wrapped) override;
43 |
44 | private:
45 | QTextEdit *m_textEdit;
46 | };
47 |
48 | #endif // TEXTEDITFINDWIDGET_H
49 |
--------------------------------------------------------------------------------
/src/lib/plugin/plugin_dialog.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef PLUGINDIALOG_H
21 | #define PLUGINDIALOG_H
22 |
23 | #include
24 |
25 | class QDesignerFormEditorInterface;
26 |
27 | namespace qdesigner_internal {
28 |
29 | class PluginDialog : public QDialog
30 | {
31 | CS_OBJECT(PluginDialog)
32 |
33 | public:
34 | explicit PluginDialog(QDesignerFormEditorInterface *core, QWidget *parent = nullptr);
35 |
36 | private:
37 | /* emerald - hold custom plugins
38 | CS_SLOT_1(Private, void updateCustomWidgetPlugins())
39 | CS_SLOT_2(updateCustomWidgetPlugins)
40 | */
41 |
42 | void populateTreeWidget();
43 | QTreeWidgetItem *setTopLevelItem(const QString &itemName);
44 | QTreeWidgetItem *setPluginItem(QTreeWidgetItem *topLevelItem, const QString &itemName, const QFont &font);
45 | void setItem(QTreeWidgetItem *pluginItem, const QString &name, const QString &toolTip,
46 | const QString &whatsThis, const QIcon &icon);
47 |
48 | QDesignerFormEditorInterface *m_core;
49 | Ui::PluginDialog ui;
50 | QIcon interfaceIcon;
51 | QIcon featureIcon;
52 | };
53 |
54 | }
55 |
56 | #endif
57 |
--------------------------------------------------------------------------------
/src/lib/util/utils.cpp:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #include
21 | #include
22 | #include
23 |
24 | bool compareMetaObject(const QMetaObject &a, const QMetaObject &b)
25 | {
26 | bool retval = false;
27 |
28 | if (a.className() == b.className()) {
29 | retval = true;
30 | }
31 |
32 | return retval;
33 | }
34 |
35 | void csMsg(QWidget *parent, const QString &title, const QString &msg)
36 | {
37 | QMessageBox msgB(parent);
38 |
39 | if (parent != nullptr) {
40 | msgB.setWindowModality(Qt::WindowModal);
41 | }
42 |
43 | msgB.setWindowTitle(title);
44 | msgB.setWindowIcon(QIcon(":/resources/designer.png"));
45 |
46 | msgB.setText(msg);
47 | msgB.exec();
48 | }
49 |
50 | void csError(QString title, QString msg)
51 | {
52 | QMessageBox msgB;
53 |
54 | msgB.setWindowTitle(title);
55 | msgB.setWindowIcon(QIcon(":/resources/designer.png"));
56 |
57 | msgB.setIcon(QMessageBox::Warning);
58 | msgB.setText(msg);
59 | msgB.exec();
60 | }
61 |
62 | void csWarning(const QString &msg)
63 | {
64 | qWarning("CS Designer (Warning) : %s", csPrintable(msg));
65 | }
66 |
67 |
--------------------------------------------------------------------------------
/src/lib/util/utils.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef UTILS_H
21 | #define UTILS_H
22 |
23 | bool compareMetaObject(const QMetaObject &a, const QMetaObject &b);
24 |
25 | void csMsg(QWidget *parent, const QString &title, const QString &msg);
26 | void csError(QString title, QString msg);
27 |
28 | void csWarning(const QString &msg);
29 |
30 | #endif
--------------------------------------------------------------------------------
/src/lib/widget_box/widgetbox_dnditem.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef WIDGETBOX_DNDITEM_H
21 | #define WIDGETBOX_DNDITEM_H
22 |
23 | #include
24 |
25 | class QDesignerFormEditorInterface;
26 | class DomUI;
27 |
28 | namespace qdesigner_internal {
29 |
30 | class WidgetBoxDnDItem : public QDesignerDnDItem
31 | {
32 | public:
33 | WidgetBoxDnDItem(QDesignerFormEditorInterface *core,
34 | DomUI *dom_ui,
35 | const QPoint &global_mouse_pos);
36 | };
37 |
38 | } // namespace qdesigner_internal
39 |
40 | #endif // WIDGETBOX_DNDITEM_H
41 |
--------------------------------------------------------------------------------
/src/main/main.cmake:
--------------------------------------------------------------------------------
1 | list(APPEND DESIGNER_INCLUDES
2 | ${CMAKE_CURRENT_SOURCE_DIR}/main/mainwindow.h
3 | )
4 |
5 | list(APPEND DESIGNER_SOURCES
6 | ${CMAKE_CURRENT_SOURCE_DIR}/main/main.cpp
7 | ${CMAKE_CURRENT_SOURCE_DIR}/main/mainwindow.cpp
8 |
9 | qrc_designer.cpp
10 | ${CMAKE_CURRENT_SOURCE_DIR}/../designer.rc
11 | )
12 |
--------------------------------------------------------------------------------
/src/main/main.cpp:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #include
21 |
22 | #include
23 |
24 | int main(int argc, char *argv[])
25 | {
26 | QDesigner app(argc, argv);
27 |
28 | auto reply = app.initSystem();
29 |
30 | switch (reply) {
31 | case QDesigner::ParseArgumentsSuccess:
32 | break;
33 |
34 | case QDesigner::ParseArgumentsError:
35 | return 1;
36 |
37 | case QDesigner::ParseArgumentsHelpRequested:
38 | return 0;
39 | }
40 |
41 | app.setQuitOnLastWindowClosed(false);
42 |
43 | return app.exec();
44 | }
45 |
--------------------------------------------------------------------------------
/src/menus/groupbox_taskmenu.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef GROUPBOX_TASKMENU_H
21 | #define GROUPBOX_TASKMENU_H
22 |
23 | #include
24 |
25 | #include
26 |
27 | #include
28 | #include
29 |
30 | class QDesignerFormWindowInterface;
31 |
32 | namespace qdesigner_internal {
33 | class InPlaceEditor;
34 |
35 | class GroupBoxTaskMenu: public QDesignerTaskMenu
36 | {
37 | CS_OBJECT(GroupBoxTaskMenu)
38 |
39 | public:
40 | explicit GroupBoxTaskMenu(QGroupBox *groupbox, QObject *parent = nullptr);
41 |
42 | QAction *preferredEditAction() const override;
43 | QList taskActions() const override;
44 |
45 | private:
46 | QAction *m_editTitleAction;
47 | QList m_taskActions;
48 | };
49 |
50 | typedef ExtensionFactory GroupBoxTaskMenuFactory;
51 |
52 | } // end namespace qdesigner_internal
53 |
54 | #endif
55 |
--------------------------------------------------------------------------------
/src/menus/label_taskmenu.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef LABEL_TASKMENU_H
21 | #define LABEL_TASKMENU_H
22 |
23 | #include
24 |
25 | #include
26 |
27 | #include
28 | #include
29 |
30 | class QDesignerFormWindowInterface;
31 |
32 | namespace qdesigner_internal {
33 |
34 | class LabelTaskMenu: public QDesignerTaskMenu
35 | {
36 | CS_OBJECT(LabelTaskMenu)
37 |
38 | public:
39 | explicit LabelTaskMenu(QLabel *button, QObject *parent = nullptr);
40 |
41 | QAction *preferredEditAction() const override;
42 | QList taskActions() const override;
43 |
44 | private:
45 | CS_SLOT_1(Private, void editRichText())
46 | CS_SLOT_2(editRichText)
47 |
48 | QLabel *m_label;
49 | QList m_taskActions;
50 | QAction *m_editRichTextAction;
51 | QAction *m_editPlainTextAction;
52 | };
53 |
54 | typedef ExtensionFactory LabelTaskMenuFactory;
55 |
56 | } // end namespace qdesigner_internal
57 |
58 | #endif
--------------------------------------------------------------------------------
/src/menus/lineedit_taskmenu.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef LINEEDIT_TASKMENU_H
21 | #define LINEEDIT_TASKMENU_H
22 |
23 | #include
24 |
25 | #include
26 |
27 | #include
28 | #include
29 |
30 | namespace qdesigner_internal {
31 |
32 | class LineEditTaskMenu: public QDesignerTaskMenu
33 | {
34 | CS_OBJECT(LineEditTaskMenu)
35 |
36 | public:
37 | explicit LineEditTaskMenu(QLineEdit *button, QObject *parent = nullptr);
38 |
39 | QAction *preferredEditAction() const override;
40 | QList taskActions() const override;
41 |
42 | private:
43 | QList m_taskActions;
44 | QAction *m_editTextAction;
45 | };
46 |
47 | typedef ExtensionFactory LineEditTaskMenuFactory;
48 |
49 | } // end namespace qdesigner_internal
50 |
51 | #endif
52 |
--------------------------------------------------------------------------------
/src/menus/menus.cmake:
--------------------------------------------------------------------------------
1 | list(APPEND DESIGNER_INCLUDES
2 | ${CMAKE_CURRENT_SOURCE_DIR}/menus/button_taskmenu.h
3 | ${CMAKE_CURRENT_SOURCE_DIR}/menus/groupbox_taskmenu.h
4 | ${CMAKE_CURRENT_SOURCE_DIR}/menus/label_taskmenu.h
5 | ${CMAKE_CURRENT_SOURCE_DIR}/menus/lineedit_taskmenu.h
6 | ${CMAKE_CURRENT_SOURCE_DIR}/menus/listwidget_taskmenu.h
7 | ${CMAKE_CURRENT_SOURCE_DIR}/menus/treewidget_taskmenu.h
8 | ${CMAKE_CURRENT_SOURCE_DIR}/menus/tablewidget_taskmenu.h
9 | ${CMAKE_CURRENT_SOURCE_DIR}/menus/combobox_taskmenu.h
10 | ${CMAKE_CURRENT_SOURCE_DIR}/menus/textedit_taskmenu.h
11 | ${CMAKE_CURRENT_SOURCE_DIR}/menus/toolbar_taskmenu.h
12 | ${CMAKE_CURRENT_SOURCE_DIR}/menus/containerwidget_taskmenu.h
13 | ${CMAKE_CURRENT_SOURCE_DIR}/menus/taskmenu_component.h
14 | ${CMAKE_CURRENT_SOURCE_DIR}/menus/menu_taskmenu.h
15 | ${CMAKE_CURRENT_SOURCE_DIR}/menus/layout_taskmenu.h
16 | )
17 |
18 | list(APPEND DESIGNER_SOURCES
19 | ${CMAKE_CURRENT_SOURCE_DIR}/menus/button_taskmenu.cpp
20 | ${CMAKE_CURRENT_SOURCE_DIR}/menus/groupbox_taskmenu.cpp
21 | ${CMAKE_CURRENT_SOURCE_DIR}/menus/label_taskmenu.cpp
22 | ${CMAKE_CURRENT_SOURCE_DIR}/menus/lineedit_taskmenu.cpp
23 | ${CMAKE_CURRENT_SOURCE_DIR}/menus/listwidget_taskmenu.cpp
24 | ${CMAKE_CURRENT_SOURCE_DIR}/menus/treewidget_taskmenu.cpp
25 | ${CMAKE_CURRENT_SOURCE_DIR}/menus/tablewidget_taskmenu.cpp
26 | ${CMAKE_CURRENT_SOURCE_DIR}/menus/combobox_taskmenu.cpp
27 | ${CMAKE_CURRENT_SOURCE_DIR}/menus/textedit_taskmenu.cpp
28 | ${CMAKE_CURRENT_SOURCE_DIR}/menus/toolbar_taskmenu.cpp
29 | ${CMAKE_CURRENT_SOURCE_DIR}/menus/containerwidget_taskmenu.cpp
30 | ${CMAKE_CURRENT_SOURCE_DIR}/menus/taskmenu_component.cpp
31 | ${CMAKE_CURRENT_SOURCE_DIR}/menus/menu_taskmenu.cpp
32 | ${CMAKE_CURRENT_SOURCE_DIR}/menus/layout_taskmenu.cpp
33 | )
34 |
--------------------------------------------------------------------------------
/src/menus/taskmenu.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef TASKMENU_H
21 | #define TASKMENU_H
22 |
23 | #include
24 |
25 | class QAction;
26 |
27 | class QDesignerTaskMenuExtension
28 | {
29 | public:
30 | virtual ~QDesignerTaskMenuExtension()
31 | {
32 | }
33 |
34 | virtual QAction *preferredEditAction() const;
35 |
36 | virtual QList taskActions() const = 0;
37 | };
38 |
39 | CS_DECLARE_EXTENSION_INTERFACE(QDesignerTaskMenuExtension, "copperspice.com.CS.Designer.TaskMenu")
40 |
41 | inline QAction *QDesignerTaskMenuExtension::preferredEditAction() const
42 | {
43 | return nullptr;
44 | }
45 |
46 | #endif
47 |
--------------------------------------------------------------------------------
/src/menus/taskmenu_component.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef TASKMENU_COMPONENT_H
21 | #define TASKMENU_COMPONENT_H
22 |
23 | #include
24 |
25 | #include
26 |
27 | class QDesignerFormEditorInterface;
28 |
29 | namespace qdesigner_internal {
30 |
31 | class TaskMenuComponent: public QObject
32 | {
33 | CS_OBJECT(TaskMenuComponent)
34 |
35 | public:
36 | explicit TaskMenuComponent(QDesignerFormEditorInterface *core, QObject *parent = nullptr);
37 | virtual ~TaskMenuComponent();
38 |
39 | QDesignerFormEditorInterface *core() const;
40 |
41 | private:
42 | QDesignerFormEditorInterface *m_core;
43 | };
44 |
45 | } // end namespace qdesigner_internal
46 |
47 | #endif
48 |
--------------------------------------------------------------------------------
/src/preview/preview.cmake:
--------------------------------------------------------------------------------
1 | list(APPEND DESIGNER_INCLUDES
2 | ${CMAKE_CURRENT_SOURCE_DIR}/preview/preview_config_widget.h
3 | ${CMAKE_CURRENT_SOURCE_DIR}/preview/preview_frame.h
4 | ${CMAKE_CURRENT_SOURCE_DIR}/preview/preview_manager.h
5 | ${CMAKE_CURRENT_SOURCE_DIR}/preview/preview_widget.h
6 | )
7 |
8 | list(APPEND DESIGNER_SOURCES
9 | ${CMAKE_CURRENT_SOURCE_DIR}/preview/preview_config_widget.cpp
10 | ${CMAKE_CURRENT_SOURCE_DIR}/preview/preview_frame.cpp
11 | ${CMAKE_CURRENT_SOURCE_DIR}/preview/preview_manager.cpp
12 | ${CMAKE_CURRENT_SOURCE_DIR}/preview/preview_widget.cpp
13 | )
14 |
--------------------------------------------------------------------------------
/src/preview/preview_frame.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef PREVIEW_FRAME_H
21 | #define PREVIEW_FRAME_H
22 |
23 | #include
24 | #include
25 |
26 | class QMdiArea;
27 | class QMdiSubWindow;
28 |
29 | namespace qdesigner_internal {
30 |
31 | class PreviewFrame: public QFrame
32 | {
33 | CS_OBJECT(PreviewFrame)
34 |
35 | public:
36 | explicit PreviewFrame(QWidget *parent);
37 |
38 | void setPreviewPalette(const QPalette &palette);
39 | void setSubWindowActive(bool active);
40 |
41 | private:
42 | // The user can on some platforms close the mdi child by invoking the system menu.
43 | // Ensure a child is present.
44 | QMdiSubWindow *ensureMdiSubWindow();
45 | QMdiArea *m_mdiArea;
46 | QPointer m_mdiSubWindow;
47 | };
48 |
49 | } // end namespace qdesigner_internal
50 |
51 | #endif
52 |
--------------------------------------------------------------------------------
/src/preview/preview_widget.cpp:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #include
21 |
22 | using namespace qdesigner_internal;
23 |
24 | PreviewWidget::PreviewWidget(QWidget *parent)
25 | : QWidget(parent)
26 | {
27 | ui.setupUi(this);
28 | }
29 |
30 | PreviewWidget::~PreviewWidget()
31 | {
32 | }
33 |
--------------------------------------------------------------------------------
/src/preview/preview_widget.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | *
3 | * Copyright (c) 2021-2025 Barbara Geller
4 | * Copyright (c) 2021-2025 Ansel Sermersheim
5 | *
6 | * Copyright (c) 2015 The Qt Company Ltd.
7 | *
8 | * Designer is free software. You can redistribute it and/or
9 | * modify it under the terms of the GNU Lesser General Public License
10 | * version 2.1 as published by the Free Software Foundation.
11 | *
12 | * Designer is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 | *
16 | * https://www.gnu.org/licenses/
17 | *
18 | ***********************************************************************/
19 |
20 | #ifndef PREVIEW_WIDGET_H
21 | #define PREVIEW_WIDGET_H
22 |
23 | #include
24 |
25 | namespace qdesigner_internal {
26 |
27 | class PreviewWidget: public QWidget
28 | {
29 | CS_OBJECT(PreviewWidget)
30 |
31 | public:
32 | explicit PreviewWidget(QWidget *parent);
33 | virtual ~PreviewWidget();
34 |
35 | private:
36 | Ui::PreviewWidget ui;
37 | };
38 |
39 | } // end namespace qdesigner_internal
40 |
41 | #endif
--------------------------------------------------------------------------------