Quark  0.1
ImageUtils.h++
Go to the documentation of this file.
1 #ifndef __libquark_util_ImageUtils_hxx
2 #define __libquark_util_ImageUtils_hxx
3 
4 #include <QByteArray>
5 #include <QList>
6 #include <QString>
7 
8 #include <quark/Quark.h++>
9 
10 namespace quark {
11 namespace util {
12 
18 class ImageUtils {
19 
20  public:
21 
26  static QString readableImageFormatsFilter();
27 
32  static QString writableImageFormatsFilter();
33 
34  private:
35 
36  ImageUtils();
37 
38  static QString toImageFileFilter(const QList<QByteArray> &formats);
39 
40  Q_DISABLE_COPY(ImageUtils);
41 };
42 
43 } // namespace util
44 } // namespace quark
45 
46 #endif // __libquark_util_ImageUtils_hxx
static QString writableImageFormatsFilter()
Returns a filename filter that matches all of the image file formats that are writable by the Qt fram...
Definition: BarChartView.h++:6
A collection of image-related utility functions.
Definition: ImageUtils.h++:18
static QString readableImageFormatsFilter()
Returns a filename filter that matches all of the image file formats that are readable by the Qt fram...