Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Easily allows the creation of simple to complex BML commands through GUI buttons and sliders.

Developers

Creating a Dialog

  1. Run https://svn.ict.usc.edu/svn_vh/trunk/lib/qt/bin/designer.exe
  2. Create a new dialog and save it in smartbody/sbm-debugger/gui/designer
  3. Open sbm-debugger\gui\SbmDebuggerGui.sln. Create a new class that publicly derives from QDialog and have the header include "ui_YourDialogName.h". If you compile, you will have compiler errors
  4. Open a command prompt to smartbody/sbm-debugger/gui
  5. Enter the following commands**
    1. qmake -project
    2. qmake
    3. nmake
  6. Edit smartbody/sbm-debugger/gui/moc.bat by adding the following line
    1. %MOC% YourClassNameThatYouJustCreated.h -o moc_YourDialogName.cpp
  7. Run smartbody/sbm-debugger/gui/moc.bat
  8. Copy moc_YourDialogName.cpp from the Debug folder into smartbody/sbm-debugger/gui
  9. Add moc_YourDialogName.cpp and ui_YourDialogName.cpp to the vcproj under the Generated folder

**You need to set the following environment variable for this to work

For using visual studios 2008

  • QMAKESPEC            win32-msvc2008

For 2010

  • QMAKESPEC            win32-msvc2010

Known Issues

When using the Utils tab to query a large list of animations from Smartbody, sometimes buttons on the tab will disappear.

...