开发者

Tool Palette like in MS Paint

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜