Menu

#680 [wxSmith] Various suggestions for improvements

Undefined
open
nobody
wxSmith (61)
Feature_Request
2022-05-14
2018-05-02
bluehazzard
No

This will probably be a meta bug, but i wanted to fix this list somewhere, because in the forum it will get lost...

http://forums.codeblocks.org/index.php/topic,22402.msg153387.html#msg153387


1) wxStyledTextCtrl missing, patch in [#617]
2) wxGridBagSizer include is not correct
3) start a clean framebased wxSmith project, without menu and status bars
4) set ScrollRate values for wxScrolledWindow in wxSmith Fixed in [r12072]
5) wizard helping including xpms in Image editor
6) generic version of common dialogs: http://docs.wxwidgets.org/trunk/overview_cmndlg.html for example wxGenericColourDialog
7) Editor dialog for editing columns in list control
8) Clone dialogs and panels
9) wxSimplebook

Related

Commit: [r12072]
Tickets: #617

Discussion

  • bluehazzard

    bluehazzard - 2020-03-06
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -5,7 +5,7 @@
     -----
    
     1) wxStyledTextCtrl missing fixed in https://sourceforge.net/p/codeblocks/tickets/617/
    -2) wxGridBagSizer include is not correct
    +<s>2) wxGridBagSizer include is not correct</s>
     3) start a clean framebased wxSmith project, without menu and status bars
     4) set ScrollRate values for wxScrolledWindow in wxSmith
     5) wizard helping including xpms in Image editor
    
     
  • bluehazzard

    bluehazzard - 2020-03-06

    Related tickets: [#926] [#927]

     

    Related

    Tickets: #926
    Tickets: #927


    Last edit: Miguel Gimenez 2021-12-19
  • Miguel Gimenez

    Miguel Gimenez - 2021-12-19
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -7,7 +7,7 @@
     1) wxStyledTextCtrl missing fixed in https://sourceforge.net/p/codeblocks/tickets/617/
     <s>2) wxGridBagSizer include is not correct</s>
     3) start a clean framebased wxSmith project, without menu and status bars
    -4) set ScrollRate values for wxScrolledWindow in wxSmith
    +<s>4) set ScrollRate values for wxScrolledWindow in wxSmith</s> Fixed in [r12072]
     5) wizard helping including xpms in Image editor
     6) generic version of common dialogs:  http://docs.wxwidgets.org/trunk/overview_cmndlg.html for example wxGenericColourDialog
     7) Editor dialog for editing columns in list control
    
     

    Related

    Commit: [r12072]

  • Miguel Gimenez

    Miguel Gimenez - 2021-12-19
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -4,7 +4,7 @@
    
     -----
    
    -1) wxStyledTextCtrl missing fixed in https://sourceforge.net/p/codeblocks/tickets/617/
    +1) wxStyledTextCtrl missing, patch in [#617]
     <s>2) wxGridBagSizer include is not correct</s>
     3) start a clean framebased wxSmith project, without menu and status bars
     <s>4) set ScrollRate values for wxScrolledWindow in wxSmith</s> Fixed in [r12072]
    
     

    Related

    Commit: [r12072]
    Tickets: #617

  • Tiger Beard

    Tiger Beard - 2022-05-14

    I think is a good idea to collect wxSmith feature ideas to a single ticket.

    8) Clone dialogs and panels
    I think that is a great feature, but with some complexity. When refactoring code I am missing that one very often. I think involved in cloning would be those five items: .cbp file, .wxs file, .cpp and .h file and Classname. Maybe its hard
    to make it foolproof, e.g. when working with existing code files as one cpp/h may contain several classes. But maybe thats not really needed if its clear what its doing. I would see 4 core functions

    • Change the class name. Changes wxSmith comments, adapts cbp file and .wxs file.
    • Move the *.wxs file to a new location. Adapts the cbp file.
    • Copie the *.wxs file to a new name/location. Adapts the cbp file. In combination with "assign a class"
    • Assign a class. Creates/updates the wxSmith comments in the class, adapts the cbp file.

    With those basic functions many use cases may be covered

    • Make a full copy of graphics and class in new files, giving a new classname
    • Refactor the names of dialog and class
    • Re-Create the wxSmith comments for a given class.
    • Assign an existing dialog graphics and to a new class in a new file
    • Assign a dialog graphics and to a new class in a given file
    • Copy an existing *.wxs file to another (existing) dialog class. Useful when converting XRC dialogs to wxSmith dialogs

    What would you think of those added features to your list?

    10) Tree context menu with Cut, Copy, Paste Before, Paste After, Paste Inside
    Tody this only work with Edit/Copy,Cut,Paste manues which is a lot of mouse travel. Or if you assign short cuts (not active by default). Both are not as quick as the context menu, due to the quick paste options. The current settings are very far away with the mouse.

    11) Wrap in sizer function: the selected item is wrapped in sizer selected.
    Example use case: Add a Panel and add a static sizer with many sub-items. Verify that the dialog does not re-size properly. As sizer around a static sizer is required to make a dialog grow properly mark the top sizer and use this function to add a new box sizer around it. Verify the dialog re-sizes properly now.
    This is difficult today, because a panel only may have a single sibling and its not easy to add one above without deleting the existing content.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.