I don’t know how to make regexp that it gives me all files with extensions *.jpg *.png *.jpeg etc.
Tried to find on the net, but after roughly 1.5 hours of googling, I found only examples with one extension, or using QFileDialog, which I do not want.
For example, the following code sets three name filters on a QDir to ensure that only files with extensions typically used for C++ source files are listed:
I am having difficulties rasing an exception. Does Qt4 has some common error message dialog?
For example, user must fill directory, if directory not exists, I need to raise an exception where error message will be shown on screen and function will end.
I cant’t find how to “throw” a visual exception. Not even on google, and I don’t understand how to use QErrorMessage class.
help!