以下成員源於類 QPicture 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。
(obsolete)
QStringList
|
inputFormatList () |
(obsolete)
QList<QByteArray>
|
inputFormats () |
(obsolete)
QStringList
|
outputFormatList () |
(obsolete)
QList<QByteArray>
|
outputFormats () |
(obsolete)
const char *
|
pictureFormat (const QString & fileName ) |
[static]
QStringList
QPicture::
inputFormatList
()
此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。
Returns a list of picture formats that are supported for picture input.
Note that if you want to iterate over the list, you should iterate over a copy, e.g.
const QStringList list = QPicture::inputFormatList();
for (const QString &string : list)
myProcessing(string);
另請參閱 outputFormatList (), inputFormats (),和 QPictureIO .
[static]
QList
<
QByteArray
> QPicture::
inputFormats
()
此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。
Returns a list of picture formats that are supported for picture input.
另請參閱 outputFormats (), inputFormatList (),和 QPictureIO .
[static]
QStringList
QPicture::
outputFormatList
()
此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。
Returns a list of picture formats that are supported for picture output.
Note that if you want to iterate over the list, you should iterate over a copy, e.g.
const QStringList list = QPicture::outputFormatList();
for (const QString &string : list)
myProcessing(string);
另請參閱 inputFormatList (), outputFormats (),和 QPictureIO .
[static]
QList
<
QByteArray
> QPicture::
outputFormats
()
此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。
Returns a list of picture formats that are supported for picture output.
另請參閱 inputFormats (), outputFormatList (),和 QPictureIO .
[static]
const
char
*QPicture::
pictureFormat
(const
QString
&
fileName
)
此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。
Returns a string that specifies the picture format of the file
fileName
,或
nullptr
if the file cannot be read or if the format is not recognized.