[問題] 請問Qt Designer在toolbar加入widget

看板C_and_CPP作者 (TO-FU OYAKO)時間15年前 (2010/06/02 15:27), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
遇到的問題: (題意請描述清楚) 使用Qt Designer設計介面的時候 想要像下面這張圖一樣,把 comboBox 跟 spinBox 加在 toolBar 裡面 http://www.kde.gr.jp/~ichi/qt/qd-chapmainwin-addwidg.png
目前Qt Designer (或creator?) 的 toolBar 似乎只能直接加 action 有找到修改cpp檔程式來達成的方法 但我想繼續找看看能不能直接用Designer做到 這個網頁當中有提到Adding Widgets to the Toolbar http://www.kde.gr.jp/~ichi/qt/designer-manual-3.html 可是文字所寫的 Click Qt Designer's ComboBox toolbar button and click the last (right-most) toolbar button in the application's new toolbar. 唔...designer裡面comboBox似乎只能用拖曳的 只有單單click一次似乎沒啥效果... 總不是很瞭解他想要表達的意思? 在Qt Designer下,有辦法直接在Toolbar當中加入ComboBox、SpinBox這樣的東西嗎 謝謝 開發平台: (例: VC++ or gcc/g++ or Dev-C++, Windows or Linux) Windows -- .*. .* *.* ★ ★ * Love! .’ ‘*.   . ‘ ‧.’ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 219.87.128.204 ※ 編輯: SuperTaco 來自: 219.87.128.204 (06/02 15:27)
文章代碼(AID): #1C1WVFAi (C_and_CPP)