#include <statusWidget.h>
Inheritance diagram for StatusWidget:
Public Member Functions | |
StatusWidget (QWidget *parent=0, const char *name=0) | |
Creates layout. | |
~StatusWidget () | |
Deletes all objects. | |
void | showProgressBar (QString message, int numSteps) |
Initializes the progress bar. | |
void | updateProgress (int progress, QString newMessage=QString::null) |
Updates the progress bar. | |
int | currentProgress () |
Returns current progress in steps. | |
void | incrementProgress () |
Updates the progress bar by one step. | |
void | setStatus (QString message) |
Update message. | |
void | checkForUpdates () |
Check for updates. | |
void | removeUpdatesIcon () |
Remove program updates icon. | |
void | grabInput () |
void | releaseInput () |
Private Slots | |
void | fileFetched (bool error) |
called once a file is fetched from the network | |
void | removeStatus () |
Unset message. | |
Private Attributes | |
QGridLayout * | grid |
Layout widgets placed in. | |
QLabel * | message |
QProgressBar * | progressBar |
int | curStep |
QTimer * | timer |
QHttp | http |
http object for fetching releases file, used to check to see if installed copy is up to date | |
ClickableLabel * | updateAvailable |
Update available label. |
|
Creates layout.
Definition at line 36 of file statusWidget.cpp. References checkForUpdates(), curStep, fileFetched(), grid, http, message, progressBar, removeStatus(), StatusWidget(), timer, updateAvailable, and WIDGET_SPACING. Referenced by StatusWidget().
|
|
Deletes all objects.
Definition at line 83 of file statusWidget.cpp. References timer.
|
|
Check for updates.
Definition at line 226 of file statusWidget.cpp. References http, and updateAvailable. Referenced by StatusWidget().
|
|
Returns current progress in steps.
Definition at line 114 of file statusWidget.cpp. References curStep.
|
|
called once a file is fetched from the network
Definition at line 144 of file statusWidget.cpp. References ALBUMSHAPER_VERSION, fileFetched(), grid, http, IMAGE_PATH, TEMP_DIR, and updateAvailable. Referenced by fileFetched(), and StatusWidget().
|
|
Definition at line 242 of file statusWidget.cpp. Referenced by EditingInterface::adjustGrain(), EditingInterface::applyEffect(), EditingInterface::colorBalance(), EditingInterface::crop(), EditingInterface::enhanceContrast(), EditingInterface::finishCorrectTilt(), TitleWidget::loadAlbum(), EditingInterface::removeRedeye(), EditingInterface::revertCurrentPhoto(), EditingInterface::rotateFlip(), and EditingInterface::tuneLevels().
|
|
Updates the progress bar by one step.
Definition at line 119 of file statusWidget.cpp. References curStep, and progressBar. Referenced by blackWhiteEffect(), correctImageTilt(), embossEffect(), enhanceImageContrast(), Album::exportSubalbumImages(), findRegionOfInterest(), Subalbum::importFromDisk(), improveColorBalance(), mosaicEffect(), oilPaintingEffect(), Album::removeStagnantOrigFiles(), Album::reorderSubalbumImages(), and sepiaEffect().
|
|
Definition at line 248 of file statusWidget.cpp. Referenced by EditingInterface::adjustGrain(), EditingInterface::applyEffect(), EditingInterface::colorBalance(), EditingInterface::crop(), EditingInterface::enhanceContrast(), EditingInterface::finishCorrectTilt(), TitleWidget::loadAlbum(), EditingInterface::removeRedeye(), EditingInterface::revertCurrentPhoto(), EditingInterface::rotateFlip(), and EditingInterface::tuneLevels().
|
|
Unset message.
Definition at line 138 of file statusWidget.cpp. References message. Referenced by StatusWidget().
|
|
Remove program updates icon.
Definition at line 236 of file statusWidget.cpp. References updateAvailable.
|
|
Update message.
Definition at line 125 of file statusWidget.cpp. References progressBar, setStatus(), and timer. Referenced by SubalbumWidget::addImageAction(), EditingInterface::applyEffect(), correctImageTilt(), enhanceImageContrast(), TitleWidget::exportLargeImages(), TitleWidget::exportSmallWebGallery(), Album::exportToDisk(), Album::importFromDisk(), improveColorBalance(), removeRedeyeRegions(), SubalbumWidget::rotate270ImageAction(), SubalbumWidget::rotate90ImageAction(), and setStatus().
|
|
|
Updates the progress bar.
Definition at line 102 of file statusWidget.cpp. References curStep, message, progressBar, and updateProgress(). Referenced by SubalbumWidget::addImageAction(), Album::exportCompressedWebAlbum(), Album::exportLargeImages(), SubalbumWidget::rotate270ImageAction(), SubalbumWidget::rotate90ImageAction(), and updateProgress().
|
|
Definition at line 80 of file statusWidget.h. Referenced by currentProgress(), incrementProgress(), showProgressBar(), StatusWidget(), and updateProgress(). |
|
Layout widgets placed in.
Definition at line 76 of file statusWidget.h. Referenced by fileFetched(), and StatusWidget(). |
|
http object for fetching releases file, used to check to see if installed copy is up to date
Definition at line 85 of file statusWidget.h. Referenced by checkForUpdates(), fileFetched(), and StatusWidget(). |
|
Definition at line 78 of file statusWidget.h. Referenced by removeStatus(), StatusWidget(), and updateProgress(). |
|
Definition at line 79 of file statusWidget.h. Referenced by incrementProgress(), setStatus(), showProgressBar(), StatusWidget(), and updateProgress(). |
|
Definition at line 82 of file statusWidget.h. Referenced by setStatus(), showProgressBar(), StatusWidget(), and ~StatusWidget(). |
|
Update available label.
Definition at line 88 of file statusWidget.h. Referenced by checkForUpdates(), fileFetched(), removeUpdatesIcon(), and StatusWidget(). |