Qtmoko2-qte

Qtmoko2-qte Commit Details

Date:2009-08-04 16:45:46 (15 years 7 months ago)
Author:Matthew Cattell
Commit:31edb4d5a63b9b3c28cce1c4ca6eb99f62a09759
Parents: 6e9d84fcadc07b8f11d9e0eb046c25152eba1235
Message:qregext filter changed to support additional parameter/unicode

changed the QRegExp filter back to the old form plus an additional
piece to allow international characters. the new regular expression now
allows a file type filter to contain a bracketed description prior to the
filter set itself.

259105
Andy Shaw
Changes:
Msrc/gui/dialogs/qfiledialog.cpp (1 diff)

File differences

src/gui/dialogs/qfiledialog.cpp
28382838
28392839
28402840
2841
2841
2842
28422843
28432844
28442845
}
const char *qt_file_dialog_filter_reg_exp =
    "^([^()]*)\\(([a-zA-Z0-9_.*? +;#\\-\\[\\]@\\{\\}/!<>\\$%&=^~:\\|]*)\\)$";
"(\\W|[a-zA-Z0-9 -]*)\\(([a-zA-Z0-9_.*? +;#\\-\\[\\]@\\{\\}/!<>\\$%&=^~:\\|]*)\\)$";
// Makes a list of filters from a normal filter string "Image Files (*.png *.jpg)"
QStringList qt_clean_filter_list(const QString &filter)

Archive Download the corresponding diff file