|
|
|
@ -374,13 +374,13 @@ void QCommonStyle::drawPrimitive(PrimitiveElement pe, const QStyleOption *opt, Q
|
|
|
|
|
case PE_IndicatorTabClose: {
|
|
|
|
|
if (d->tabBarcloseButtonIcon.isNull()) {
|
|
|
|
|
d->tabBarcloseButtonIcon.addPixmap(QPixmap(
|
|
|
|
|
QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-closetab-16.png")),
|
|
|
|
|
QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-closetab-16.png")),
|
|
|
|
|
QIcon::Normal, QIcon::Off);
|
|
|
|
|
d->tabBarcloseButtonIcon.addPixmap(QPixmap(
|
|
|
|
|
QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-closetab-down-16.png")),
|
|
|
|
|
QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-closetab-down-16.png")),
|
|
|
|
|
QIcon::Normal, QIcon::On);
|
|
|
|
|
d->tabBarcloseButtonIcon.addPixmap(QPixmap(
|
|
|
|
|
QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-closetab-hover-16.png")),
|
|
|
|
|
QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-closetab-hover-16.png")),
|
|
|
|
|
QIcon::Active, QIcon::Off);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -5211,99 +5211,99 @@ QPixmap QCommonStyle::standardPixmap(StandardPixmap sp, const QStyleOption *opti
|
|
|
|
|
return proxy()->standardPixmap(SP_ArrowRight, option, widget);
|
|
|
|
|
return proxy()->standardPixmap(SP_ArrowLeft, option, widget);
|
|
|
|
|
case SP_ArrowLeft:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/left-16.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/left-16.png"));
|
|
|
|
|
case SP_ArrowRight:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/right-16.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/right-16.png"));
|
|
|
|
|
case SP_ArrowUp:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/up-16.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/up-16.png"));
|
|
|
|
|
case SP_ArrowDown:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/down-16.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/down-16.png"));
|
|
|
|
|
case SP_FileDialogToParent:
|
|
|
|
|
return proxy()->standardPixmap(SP_ArrowUp, option, widget);
|
|
|
|
|
case SP_FileDialogNewFolder:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/newdirectory-16.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/newdirectory-16.png"));
|
|
|
|
|
case SP_FileDialogDetailedView:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/viewdetailed-16.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/viewdetailed-16.png"));
|
|
|
|
|
case SP_FileDialogInfoView:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/fileinfo-16.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/fileinfo-16.png"));
|
|
|
|
|
case SP_FileDialogContentsView:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/filecontents-16.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/filecontents-16.png"));
|
|
|
|
|
case SP_FileDialogListView:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/viewlist-16.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/viewlist-16.png"));
|
|
|
|
|
case SP_FileDialogBack:
|
|
|
|
|
return proxy()->standardPixmap(SP_ArrowBack, option, widget);
|
|
|
|
|
case SP_DriveHDIcon:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/harddrive-16.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/harddrive-16.png"));
|
|
|
|
|
case SP_TrashIcon:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/trash-16.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/trash-16.png"));
|
|
|
|
|
case SP_DriveFDIcon:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/floppy-16.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/floppy-16.png"));
|
|
|
|
|
case SP_DriveNetIcon:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/networkdrive-16.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/networkdrive-16.png"));
|
|
|
|
|
case SP_DesktopIcon:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/desktop-16.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/desktop-16.png"));
|
|
|
|
|
case SP_ComputerIcon:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/computer-16.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/computer-16.png"));
|
|
|
|
|
case SP_DriveCDIcon:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/cdr-16.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/cdr-16.png"));
|
|
|
|
|
case SP_DriveDVDIcon:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/dvd-16.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/dvd-16.png"));
|
|
|
|
|
case SP_DirHomeIcon:
|
|
|
|
|
case SP_DirOpenIcon:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/diropen-16.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/diropen-16.png"));
|
|
|
|
|
case SP_DirIcon:
|
|
|
|
|
case SP_DirClosedIcon:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/dirclosed-16.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/dirclosed-16.png"));
|
|
|
|
|
case SP_DirLinkIcon:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/dirlink-16.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/dirlink-16.png"));
|
|
|
|
|
case SP_FileIcon:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/file-16.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/file-16.png"));
|
|
|
|
|
case SP_FileLinkIcon:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/filelink-16.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/filelink-16.png"));
|
|
|
|
|
case SP_DialogOkButton:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-ok-16.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-ok-16.png"));
|
|
|
|
|
case SP_DialogCancelButton:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-cancel-16.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-cancel-16.png"));
|
|
|
|
|
case SP_DialogHelpButton:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-help-16.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-help-16.png"));
|
|
|
|
|
case SP_DialogOpenButton:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-open-16.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-open-16.png"));
|
|
|
|
|
case SP_DialogSaveButton:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-save-16.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-save-16.png"));
|
|
|
|
|
case SP_DialogCloseButton:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-close-16.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-close-16.png"));
|
|
|
|
|
case SP_DialogApplyButton:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-apply-16.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-apply-16.png"));
|
|
|
|
|
case SP_DialogResetButton:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-clear-16.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-clear-16.png"));
|
|
|
|
|
case SP_DialogDiscardButton:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-delete-16.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-delete-16.png"));
|
|
|
|
|
case SP_DialogYesButton:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-yes-16.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-yes-16.png"));
|
|
|
|
|
case SP_DialogNoButton:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-no-16.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-no-16.png"));
|
|
|
|
|
case SP_BrowserReload:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/refresh-24.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/refresh-24.png"));
|
|
|
|
|
case SP_BrowserStop:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/stop-24.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/stop-24.png"));
|
|
|
|
|
case SP_MediaPlay:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/media-play-32.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/media-play-32.png"));
|
|
|
|
|
case SP_MediaPause:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/media-pause-32.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/media-pause-32.png"));
|
|
|
|
|
case SP_MediaStop:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/media-stop-32.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/media-stop-32.png"));
|
|
|
|
|
case SP_MediaSeekForward:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/media-seek-forward-32.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/media-seek-forward-32.png"));
|
|
|
|
|
case SP_MediaSeekBackward:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/media-seek-backward-32.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/media-seek-backward-32.png"));
|
|
|
|
|
case SP_MediaSkipForward:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/media-skip-forward-32.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/media-skip-forward-32.png"));
|
|
|
|
|
case SP_MediaSkipBackward:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/media-skip-backward-32.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/media-skip-backward-32.png"));
|
|
|
|
|
case SP_MediaVolume:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/media-volume-16.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/media-volume-16.png"));
|
|
|
|
|
case SP_MediaVolumeMuted:
|
|
|
|
|
return QPixmap(QLatin1String(":/trolltech/styles/commonstyle/images/media-volume-muted-16.png"));
|
|
|
|
|
return QPixmap(QLatin1String(":/qt-project.org/styles/commonstyle/images/media-volume-muted-16.png"));
|
|
|
|
|
#endif // QT_NO_IMAGEFORMAT_PNG
|
|
|
|
|
default:
|
|
|
|
|
break;
|
|
|
|
@ -5561,11 +5561,11 @@ QIcon QCommonStyle::standardIconImplementation(StandardPixmap standardIcon, cons
|
|
|
|
|
case SP_TitleBarCloseButton: {
|
|
|
|
|
QIcon titleBarIcon;
|
|
|
|
|
if (standardIcon == SP_TitleBarCloseButton) {
|
|
|
|
|
titleBarIcon.addFile(QLatin1String(":/trolltech/styles/macstyle/images/closedock-16.png"));
|
|
|
|
|
titleBarIcon.addFile(QLatin1String(":/trolltech/styles/macstyle/images/closedock-down-16.png"), QSize(16, 16), QIcon::Normal, QIcon::On);
|
|
|
|
|
titleBarIcon.addFile(QLatin1String(":/qt-project.org/styles/macstyle/images/closedock-16.png"));
|
|
|
|
|
titleBarIcon.addFile(QLatin1String(":/qt-project.org/styles/macstyle/images/closedock-down-16.png"), QSize(16, 16), QIcon::Normal, QIcon::On);
|
|
|
|
|
} else {
|
|
|
|
|
titleBarIcon.addFile(QLatin1String(":/trolltech/styles/macstyle/images/dockdock-16.png"));
|
|
|
|
|
titleBarIcon.addFile(QLatin1String(":/trolltech/styles/macstyle/images/dockdock-down-16.png"), QSize(16, 16), QIcon::Normal, QIcon::On);
|
|
|
|
|
titleBarIcon.addFile(QLatin1String(":/qt-project.org/styles/macstyle/images/dockdock-16.png"));
|
|
|
|
|
titleBarIcon.addFile(QLatin1String(":/qt-project.org/styles/macstyle/images/dockdock-down-16.png"), QSize(16, 16), QIcon::Normal, QIcon::On);
|
|
|
|
|
}
|
|
|
|
|
return titleBarIcon;
|
|
|
|
|
}
|
|
|
|
@ -5602,88 +5602,88 @@ QIcon QCommonStyle::standardIconImplementation(StandardPixmap standardIcon, cons
|
|
|
|
|
switch (standardIcon) {
|
|
|
|
|
#ifndef QT_NO_IMAGEFORMAT_PNG
|
|
|
|
|
case SP_FileDialogNewFolder:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/newdirectory-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/newdirectory-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/newdirectory-128.png"), QSize(128, 128));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/newdirectory-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/newdirectory-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/newdirectory-128.png"), QSize(128, 128));
|
|
|
|
|
break;
|
|
|
|
|
case SP_FileDialogBack:
|
|
|
|
|
return standardIconImplementation(SP_ArrowBack, option, widget);
|
|
|
|
|
case SP_FileDialogToParent:
|
|
|
|
|
return standardIconImplementation(SP_ArrowUp, option, widget);
|
|
|
|
|
case SP_FileDialogDetailedView:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/viewdetailed-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/viewdetailed-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/viewdetailed-128.png"), QSize(128, 128));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/viewdetailed-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/viewdetailed-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/viewdetailed-128.png"), QSize(128, 128));
|
|
|
|
|
break;
|
|
|
|
|
case SP_FileDialogInfoView:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/fileinfo-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/fileinfo-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/fileinfo-128.png"), QSize(128, 128));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/fileinfo-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/fileinfo-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/fileinfo-128.png"), QSize(128, 128));
|
|
|
|
|
break;
|
|
|
|
|
case SP_FileDialogContentsView:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/filecontents-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/filecontents-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/filecontents-128.png"), QSize(128, 128));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/filecontents-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/filecontents-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/filecontents-128.png"), QSize(128, 128));
|
|
|
|
|
break;
|
|
|
|
|
case SP_FileDialogListView:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/viewlist-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/viewlist-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/viewlist-128.png"), QSize(128, 128));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/viewlist-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/viewlist-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/viewlist-128.png"), QSize(128, 128));
|
|
|
|
|
break;
|
|
|
|
|
case SP_DialogOkButton:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-ok-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-ok-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-ok-128.png"), QSize(128, 128));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-ok-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-ok-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-ok-128.png"), QSize(128, 128));
|
|
|
|
|
break;
|
|
|
|
|
case SP_DialogCancelButton:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-cancel-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-cancel-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-cancel-128.png"), QSize(128, 128));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-cancel-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-cancel-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-cancel-128.png"), QSize(128, 128));
|
|
|
|
|
break;
|
|
|
|
|
case SP_DialogHelpButton:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-help-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-help-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-help-128.png"), QSize(128, 128));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-help-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-help-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-help-128.png"), QSize(128, 128));
|
|
|
|
|
break;
|
|
|
|
|
case SP_DialogOpenButton:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-open-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-open-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-open-128.png"), QSize(128, 128));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-open-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-open-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-open-128.png"), QSize(128, 128));
|
|
|
|
|
break;
|
|
|
|
|
case SP_DialogSaveButton:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-save-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-save-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-save-128.png"), QSize(128, 128));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-save-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-save-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-save-128.png"), QSize(128, 128));
|
|
|
|
|
break;
|
|
|
|
|
case SP_DialogCloseButton:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-close-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-close-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-close-128.png"), QSize(128, 128));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-close-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-close-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-close-128.png"), QSize(128, 128));
|
|
|
|
|
break;
|
|
|
|
|
case SP_DialogApplyButton:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-apply-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-apply-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-apply-128.png"), QSize(128, 128));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-apply-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-apply-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-apply-128.png"), QSize(128, 128));
|
|
|
|
|
break;
|
|
|
|
|
case SP_DialogResetButton:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-clear-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-clear-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-clear-128.png"), QSize(128, 128));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-clear-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-clear-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-clear-128.png"), QSize(128, 128));
|
|
|
|
|
break;
|
|
|
|
|
case SP_DialogDiscardButton:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-delete-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-delete-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-delete-128.png"), QSize(128, 128));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-delete-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-delete-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-delete-128.png"), QSize(128, 128));
|
|
|
|
|
break;
|
|
|
|
|
case SP_DialogYesButton:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-yes-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-yes-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-yes-128.png"), QSize(128, 128));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-yes-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-yes-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-yes-128.png"), QSize(128, 128));
|
|
|
|
|
break;
|
|
|
|
|
case SP_DialogNoButton:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-no-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-no-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/standardbutton-no-128.png"), QSize(128, 128));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-no-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-no-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/standardbutton-no-128.png"), QSize(128, 128));
|
|
|
|
|
break;
|
|
|
|
|
case SP_ArrowForward:
|
|
|
|
|
if (rtl)
|
|
|
|
@ -5694,106 +5694,106 @@ QIcon QCommonStyle::standardIconImplementation(StandardPixmap standardIcon, cons
|
|
|
|
|
return standardIconImplementation(SP_ArrowRight, option, widget);
|
|
|
|
|
return standardIconImplementation(SP_ArrowLeft, option, widget);
|
|
|
|
|
case SP_ArrowLeft:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/left-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/left-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/left-128.png"), QSize(128, 128));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/left-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/left-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/left-128.png"), QSize(128, 128));
|
|
|
|
|
break;
|
|
|
|
|
case SP_ArrowRight:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/right-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/right-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/right-128.png"), QSize(128, 128));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/right-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/right-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/right-128.png"), QSize(128, 128));
|
|
|
|
|
break;
|
|
|
|
|
case SP_ArrowUp:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/up-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/up-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/up-128.png"), QSize(128, 128));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/up-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/up-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/up-128.png"), QSize(128, 128));
|
|
|
|
|
break;
|
|
|
|
|
case SP_ArrowDown:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/down-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/down-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/down-128.png"), QSize(128, 128));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/down-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/down-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/down-128.png"), QSize(128, 128));
|
|
|
|
|
break;
|
|
|
|
|
case SP_DirHomeIcon:
|
|
|
|
|
case SP_DirIcon:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/dirclosed-16.png"),
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/dirclosed-16.png"),
|
|
|
|
|
QSize(), QIcon::Normal, QIcon::Off);
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/diropen-16.png"),
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/diropen-16.png"),
|
|
|
|
|
QSize(), QIcon::Normal, QIcon::On);
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/dirclosed-32.png"),
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/dirclosed-32.png"),
|
|
|
|
|
QSize(32, 32), QIcon::Normal, QIcon::Off);
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/diropen-32.png"),
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/diropen-32.png"),
|
|
|
|
|
QSize(32, 32), QIcon::Normal, QIcon::On);
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/dirclosed-128.png"),
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/dirclosed-128.png"),
|
|
|
|
|
QSize(128, 128), QIcon::Normal, QIcon::Off);
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/diropen-128.png"),
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/diropen-128.png"),
|
|
|
|
|
QSize(128, 128), QIcon::Normal, QIcon::On);
|
|
|
|
|
break;
|
|
|
|
|
case SP_DriveCDIcon:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/cdr-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/cdr-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/cdr-128.png"), QSize(128, 128));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/cdr-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/cdr-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/cdr-128.png"), QSize(128, 128));
|
|
|
|
|
break;
|
|
|
|
|
case SP_DriveDVDIcon:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/dvd-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/dvd-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/dvd-128.png"), QSize(128, 128));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/dvd-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/dvd-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/dvd-128.png"), QSize(128, 128));
|
|
|
|
|
break;
|
|
|
|
|
case SP_FileIcon:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/file-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/file-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/file-128.png"), QSize(128, 128));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/file-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/file-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/file-128.png"), QSize(128, 128));
|
|
|
|
|
break;
|
|
|
|
|
case SP_FileLinkIcon:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/filelink-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/filelink-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/filelink-128.png"), QSize(128, 128));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/filelink-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/filelink-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/filelink-128.png"), QSize(128, 128));
|
|
|
|
|
break;
|
|
|
|
|
case SP_TrashIcon:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/trash-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/trash-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/trash-128.png"), QSize(128, 128));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/trash-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/trash-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/trash-128.png"), QSize(128, 128));
|
|
|
|
|
break;
|
|
|
|
|
case SP_BrowserReload:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/refresh-24.png"), QSize(24, 24));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/refresh-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/refresh-24.png"), QSize(24, 24));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/refresh-32.png"), QSize(32, 32));
|
|
|
|
|
break;
|
|
|
|
|
case SP_BrowserStop:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/stop-24.png"), QSize(24, 24));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/stop-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/stop-24.png"), QSize(24, 24));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/stop-32.png"), QSize(32, 32));
|
|
|
|
|
break;
|
|
|
|
|
case SP_MediaPlay:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/media-play-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/media-play-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/media-play-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/media-play-32.png"), QSize(32, 32));
|
|
|
|
|
break;
|
|
|
|
|
case SP_MediaPause:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/media-pause-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/media-pause-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/media-pause-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/media-pause-32.png"), QSize(32, 32));
|
|
|
|
|
break;
|
|
|
|
|
case SP_MediaStop:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/media-stop-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/media-stop-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/media-stop-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/media-stop-32.png"), QSize(32, 32));
|
|
|
|
|
break;
|
|
|
|
|
case SP_MediaSeekForward:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/media-seek-forward-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/media-seek-forward-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/media-seek-forward-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/media-seek-forward-32.png"), QSize(32, 32));
|
|
|
|
|
break;
|
|
|
|
|
case SP_MediaSeekBackward:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/media-seek-backward-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/media-seek-backward-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/media-seek-backward-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/media-seek-backward-32.png"), QSize(32, 32));
|
|
|
|
|
break;
|
|
|
|
|
case SP_MediaSkipForward:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/media-skip-forward-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/media-skip-forward-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/media-skip-forward-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/media-skip-forward-32.png"), QSize(32, 32));
|
|
|
|
|
break;
|
|
|
|
|
case SP_MediaSkipBackward:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/media-skip-backward-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/media-skip-backward-32.png"), QSize(32, 32));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/media-skip-backward-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/media-skip-backward-32.png"), QSize(32, 32));
|
|
|
|
|
break;
|
|
|
|
|
case SP_MediaVolume:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/media-volume-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/media-volume-16.png"), QSize(16, 16));
|
|
|
|
|
break;
|
|
|
|
|
case SP_MediaVolumeMuted:
|
|
|
|
|
icon.addFile(QLatin1String(":/trolltech/styles/commonstyle/images/media-volume-muted-16.png"), QSize(16, 16));
|
|
|
|
|
icon.addFile(QLatin1String(":/qt-project.org/styles/commonstyle/images/media-volume-muted-16.png"), QSize(16, 16));
|
|
|
|
|
break;
|
|
|
|
|
#endif // QT_NO_IMAGEFORMAT_PNG
|
|
|
|
|
default:
|
|
|
|
|