View Full Version : viewing files or some folders
as001622
2nd June 2008, 08:24
Hello!
I need to write SLOT for opening some files or directories using Qt. How I can manage it?
See QFileDialog. Notice especially those convenient static methods.
as001622
2nd June 2008, 09:09
Actually I don't need to use this files or folders in my program. It should open after button ButtonPressed event separatly out of my program.
QUrl::fromLocalFile()
QDesktopServices::openUrl()
lyuts
2nd June 2008, 12:12
Hello!
I need to write SLOT for opening some files or directories using Qt. How I can manage it?
Implement your function and declare it in slots section.Then connect some signal to your slot.
class QQQ {
...
private slots:
void MySlot();
...
}
void QQQ::MySlot()
{
...
}
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.