05.08.2013 Views

Qt-Interface For Volume Visualization - pille

Qt-Interface For Volume Visualization - pille

Qt-Interface For Volume Visualization - pille

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Qt</strong>-Designer<br />

embedding UI file<br />

1. Compile ui file created by <strong>Qt</strong> Designer with UIC<br />

(Compiler for ui-classes/files)<br />

2. Usage (example)<br />

– In your Ui-Folder:<br />

uic – o TargetFileName.h UiFileName.ui<br />

– Include compiled header file in your cpp or header<br />

file<br />

#include <br />

– Create reference to objects of namespace Ui<br />

private:<br />

Ui::TargetFileName ui;<br />

– In cpp you have to setup the generated form like<br />

this<br />

ui.setupUI(this);

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!