Superkkt Blog

Qt Native File Dialog

2009/12/28 00:51

Qt에서 Native File Dialog를 사용하는 방법은 QFileDialog 클래스의 static function을 호출하는 것이다.

The easiest way to create a QFileDialog is to use the static functions. On Windows, Mac OS X, KDE and GNOME, these static functions will call the native file dialog when possible.

 fileName = QFileDialog::getOpenFileName(this,
     tr("Open Image"), "/home/jana", tr("Image Files (*.png *.jpg *.bmp)"));



2009/12/28 00:51 2009/12/28 00:51

trackbacks

trackbacks rss

http://superkkt.com/trackback/445

Leave a Comment