开发者

Tool Palette like in MS Paint

开发者 https://www.devze.com 2023-02-20 10:33 出处:网络
I am trying to make a Tool Palette(?) in Qt Designer, like the one like in MS Paint or Adobe Photoshop (on the left 开发者_JS百科side, with various mouse click and selectable tools)

I am trying to make a Tool Palette(?) in Qt Designer, like the one like in MS Paint or Adobe Photoshop (on the left 开发者_JS百科side, with various mouse click and selectable tools)

How do i do this? is it using Toolbar? I need it to be movable within the window

Thanks


  • If you want you Tool Palette floatable then use QDockWidget.
  • You may not use toolbar, just use simple Tool-Buttons that added to a grid-layout Frame (or Widget) Read more about Qt Layout Management
  • And check out Qt examples(included in Qt SDK installation) that give you many useful clue on Qt programming
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号