qfiledialog
QFileDialog doesn’t list tty* files in /dev/ on Linux
I’m wor开发者_JAVA技巧king on a Linux desktop application that needs to open a USB serial port, typically /dev/ttyUSB0 or /dev/ttyUSB1. I’m using QFileDialog to let the user select the file:[详细]
2023-04-12 01:26 分类:问答Specify default extension in QFileDialog::getSaveFileName
Is there an equivalent of t开发者_如何学Che lpstrDefExt member of OPENFILENAME struct used in the Win32 function GetSaveFileName?[详细]
2023-03-31 18:57 分类:问答C++/QT - QFileDialog::getOpenFileName filter *.xml disables files with japanese characters in their name
I\'m trying to use a QFileDialog::getOpenFileName with an xml filter defined tr(\"XML Files (*.xml)\") to ask the user to select an XML file.[详细]
2023-03-24 04:36 分类:问答How to know the file's type to save, using QFileDialog
About pyQt4 I prefer to use the static method for the getSaveFilename in the QFileDialog so that the user sees the Windows/Mac native dialog.[详细]
2023-03-11 18:48 分类:问答QFileDialog used as widget
My goal is: user can choose file (only *mp3) and after clicking twice on it it should play (so the QString to file should be send to play() function)[详细]
2023-02-05 08:59 分类:问答QFileDialog problem (native: fast but no input field; non-native: has input field but slow)
This seems a known problem but I have not found a good workaround. I like the style of the non-native QFileDialog, especially the feature that allows the user to input the path directly[详细]
2023-01-31 03:38 分类:问答Call QFileDialog when trying to edit cell in QTableView
I开发者_运维技巧s there a way of doing this without using a QItemDelegate? I\'ve been having a lot of trouble with it. For example, if I use a Delegate:[详细]
2023-01-20 04:23 分类:问答PyQt4 File select widget
I want to make a QT4 (using QT designer) dialog, that contains a part where a file has to be selected.[详细]
2023-01-06 19:23 分类:问答How do I find out which suffix user has chosen when using a QFileDialog?
Well I\'m using the following code to get the filename for a file that needs to be stored .. QString fileName = QFileDialog::getSaveFileName(this, tr(\"Save File\"),\"/home/user/MyDocs/\",tr(\"JPG fi[详细]
2023-01-06 03:50 分类:问答Opening a file from a Qt String
I am making a Qt applica开发者_JS百科tion and I have a button to open a file, which is connected to a custom slot. This is the slot code so far:[详细]
2023-01-05 00:01 分类:问答