These might be helpful for getting things rolling:

login dialog example
QFileDialog documentation
Dialog Examples from the Qt documentation