#include <window.h>
Inheritance diagram for Window:
Definition at line 32 of file window.h.
Public Member Functions | |
Window (QWidget *parent=0, const char *name=0) | |
Creates title area, layout, and tool bar and places them in grid. | |
~Window () | |
Save user settings on destruct. | |
TitleWidget * | getTitle () |
returns a pointer to the title widget | |
LayoutWidget * | getLayout () |
returns a pointer to the layout object | |
StatusWidget * | getStatus () |
returns a pointer to the status widget | |
void | refresh () |
refreshes the layout | |
Configuration * | getConfig () |
get setting object | |
Public Attributes | |
QPixmap * | shadowBL |
QPixmap * | shadowB |
QPixmap * | shadowBR |
QPixmap * | shadowR |
QPixmap * | shadowTR |
QPixmap * | photoInfo |
Protected Member Functions | |
bool | event (QEvent *) |
void | hideEvent (QHideEvent *) |
void | showEvent (QShowEvent *) |
void | closeEvent (QCloseEvent *e) |
Private Member Functions | |
void | startSlideshow (bool startAtBeginning) |
utility function used by above, actually started slideshow | |
Private Attributes | |
Configuration * | config |
Configuration settings. | |
QGridLayout * | grid |
Grid objects placed in. | |
TitleWidget * | title |
Title widget cont ains menu's, album information and Album Shaper icon. | |
LayoutWidget * | layout |
Layout includes subalbums listing and particular subalbum layout. | |
StatusWidget * | status |
Status widget either displays a status message or progress bar. |
|
Creates title area, layout, and tool bar and places them in grid. refresh title annotations when collections are selected refresh collection icons when collection names are edited Definition at line 48 of file window.cpp. References config, Configuration::getBool(), Configuration::getString(), grid, IMAGE_PATH, layout, Configuration::loadSettings(), photoInfo, LayoutWidget::refresh(), Configuration::resetSetting(), shadowB, shadowBL, shadowBR, shadowR, shadowTR, status, title, TitleWidget::useAnimation(), and Window(). Referenced by Window().
|
|
Save user settings on destruct.
Definition at line 152 of file window.cpp. References config, RecentAlbums::getEntry(), TitleWidget::getRecentAlbums(), height, RecentAlbums::numEntries(), Configuration::removeGroup(), Configuration::saveSettings(), Configuration::setInt(), Configuration::setString(), title, and width.
|
|
Definition at line 202 of file window.cpp. References Album::albumModified(), closeEvent(), config, TitleWidget::getAlbum(), Configuration::getBool(), and title. Referenced by closeEvent().
|
|
Definition at line 322 of file window.cpp. References event(), title, and TitleWidget::windowStateChanged(). Referenced by event().
|
|
get setting object
Definition at line 229 of file window.cpp. References config. Referenced by TitleWidget::createTmpDir(), TitleWidget::exportLargeImages(), TitleWidget::exportSmallWebGallery(), TitleWidget::loadAlbum(), main(), TitleWidget::newAlbum(), TitleWidget::proceedWithLoad(), TitleWidget::removeSelectedPhotoDesc(), TitleWidget::revertToSaved(), TitleWidget::saveAlbum(), TitleWidget::saveAsAlbum(), TitleWidget::settings(), and TitleWidget::TitleWidget().
|
|
returns a pointer to the layout object
Definition at line 187 of file window.cpp. References layout. Referenced by TitleWidget::dropEvent(), TitleWidget::exportLargeImages(), TitleWidget::exportSmallWebGallery(), TitleWidget::loadAlbum(), TitleWidget::newAlbum(), TitleWidget::removeSelectedPhotoDesc(), TitleWidget::revertPhotos(), TitleWidget::saveAlbum(), TitleWidget::saveAsAlbum(), TitleWidget::setAlbumImage(), TitleWidget::setSubalbumImage(), TitleWidget::storeAnnotations(), and TitleWidget::unsetSubalbumImage().
|
|
returns a pointer to the status widget
Definition at line 192 of file window.cpp. References status. Referenced by SubalbumWidget::addImageAction(), EditingInterface::adjustGrain(), EditingInterface::applyEffect(), EditingInterface::colorBalance(), EditingInterface::crop(), EditingInterface::enhanceContrast(), TitleWidget::exportLargeImages(), TitleWidget::exportSmallWebGallery(), EditingInterface::finishCorrectTilt(), TitleWidget::loadAlbum(), EditingInterface::removeRedeye(), EditingInterface::revertCurrentPhoto(), SubalbumWidget::rotate270ImageAction(), SubalbumWidget::rotate90ImageAction(), EditingInterface::rotateFlip(), TitleWidget::saveAlbum(), TitleWidget::saveAsAlbum(), and EditingInterface::tuneLevels().
|
|
returns a pointer to the title widget
Definition at line 182 of file window.cpp. References title. Referenced by SubalbumWidget::addImageAction(), SubalbumsWidget::createAction(), SubalbumsWidget::deleteAction(), SubalbumsWidget::handleSelectionAttempt(), LayoutWidget::photoStateChangedEvent(), SubalbumsWidget::refreshCollectionsList(), SubalbumWidget::removeImageAction(), SubalbumsWidget::reorder(), SubalbumWidget::rotate270ImageAction(), and SubalbumWidget::rotate90ImageAction().
|
|
Definition at line 339 of file window.cpp. References hideEvent(), title, and TitleWidget::windowStateChanged(). Referenced by hideEvent().
|
|
refreshes the layout
Definition at line 197 of file window.cpp. References layout, and LayoutWidget::refresh(). Referenced by TitleWidget::refresh().
|
|
Definition at line 345 of file window.cpp. References showEvent(), title, and TitleWidget::windowStateChanged(). Referenced by showEvent().
|
|
utility function used by above, actually started slideshow
|
|
Configuration settings.
Definition at line 100 of file window.h. Referenced by closeEvent(), getConfig(), Window(), and ~Window(). |
|
Grid objects placed in.
Definition at line 103 of file window.h. Referenced by Window(). |
|
Layout includes subalbums listing and particular subalbum layout.
Definition at line 109 of file window.h. Referenced by getLayout(), refresh(), and Window(). |
|
Definition at line 66 of file window.h. Referenced by Window(). |
|
Definition at line 63 of file window.h. Referenced by PhotoPreviewWidget::paintItem(), and Window(). |
|
Definition at line 63 of file window.h. Referenced by PhotoPreviewWidget::paintItem(), and Window(). |
|
Definition at line 63 of file window.h. Referenced by PhotoPreviewWidget::paintItem(), and Window(). |
|
Definition at line 63 of file window.h. Referenced by PhotoPreviewWidget::paintItem(), and Window(). |
|
Definition at line 63 of file window.h. Referenced by PhotoPreviewWidget::paintItem(), and Window(). |
|
Status widget either displays a status message or progress bar.
Definition at line 112 of file window.h. Referenced by getStatus(), and Window(). |
|
Title widget cont ains menu's, album information and Album Shaper icon.
Definition at line 106 of file window.h. Referenced by closeEvent(), event(), getTitle(), hideEvent(), showEvent(), Window(), and ~Window(). |