#include </home/clem/local/src/opie/noncore/graphics/opie-eye/gui/iconview.h>
Collaboration diagram for PIconView:
Public Slots | |
| virtual void | slotShowNext () |
| virtual void | slotShowPrev () |
| virtual void | slotShowLast () |
| virtual bool | slotShowFirst () |
| virtual void | polish () |
Signals | |
| void | sig_showInfo (const QString &) |
| void | sig_display (const QString &) |
| void | sig_startslide (int timeout) |
Public Member Functions | |
| PIconView (QWidget *wid, Opie::Core::OConfig *cfg) | |
| ~PIconView () | |
| void | resetView () |
| Opie::Core::OKeyConfigManager * | manager () |
| void | setDoccalled (bool) |
Static Public Attributes | |
| static const int | sMAX_ICON_SIZE = 128 |
| static const int | sMIN_ICON_SIZE = 12 |
| static const int | sDEF_ICON_SIZE = 64 |
Protected Member Functions | |
| void | resizeEvent (QResizeEvent *) |
Private Types | |
| enum | ActionIds { BeamItem, DeleteItem, ViewItem, InfoItem, SlideItem } |
Private Slots | |
| void | slotDirUp () |
| void | slotChangeDir (const QString &) |
| void | slotTrash () |
| void | slotViewChanged (int) |
| void | slotReloadDir () |
| void | slotRename () |
| void | slotBeam () |
| void | slotBeamDone (Ir *) |
| void | slotShowImage () |
| void | slotShowImage (const QString &) |
| void | slotImageInfo () |
| void | slotImageInfo (const QString &) |
| void | slotStartSlide () |
| void | slotStart () |
| void | slotEnd () |
| void | addFolders (const QStringList &) |
| void | addFiles (const QStringList &) |
| void | slotClicked (QIconViewItem *) |
| void | slotRetrun (QIconViewItem *) |
| void | slotThumbInfo (const QString &, const QString &) |
| void | slotThumbNail (const QString &, const QPixmap &) |
| void | slotChangeMode (int) |
Private Member Functions | |
| void | initKeys () |
| QString | currentFileName (bool &isDir) const |
| QString | nextFileName (bool &isDir) const |
| QString | prevFileName (bool &isDir) const |
| void | loadViews () |
| void | calculateGrid (QResizeEvent *e=0) |
Private Attributes | |
| bool | m_setDocCalled:1 |
| Opie::Core::OKeyConfigManager * | m_viewManager |
| Opie::Core::OConfig * | m_cfg |
| QComboBox * | m_views |
| QIconView * | m_view |
| QString | m_path |
| bool | m_updatet: 1 |
| int | m_mode |
| bool | m_internalReset:1 |
| int | m_iconsize |
| QHBox * | m_hbox |
| QWidget * | m_customWidget |
Friends | |
| class | PIconViewItem |
|
|
Definition at line 29 of file iconview.h. |
|
||||||||||||
|
Definition at line 193 of file iconview.cpp. References calculateGrid(), QDir::homeDirPath(), initKeys(), Dasher::Opts::LeftToRight, loadViews(), m_cfg, m_customWidget, m_hbox, m_iconsize, m_internalReset, m_mode, m_setDocCalled, m_view, m_views, Config::readNumEntry(), slotClicked(), sMAX_ICON_SIZE, sMIN_ICON_SIZE, and tr. |
|
|
Definition at line 245 of file iconview.cpp. References m_viewManager, and Opie::Core::OKeyConfigManager::save(). |
|
|
Definition at line 531 of file iconview.cpp. References QString::find(), QString::left(), m_iconsize, m_mode, m_pix, m_view, QString::mid(), pos, s, and PPixmapCache::self(). Referenced by slotChangeDir(). |
|
|
Definition at line 521 of file iconview.cpp. References QValueList< T >::begin(), QValueList< T >::end(), m_iconsize, m_mode, and m_view. Referenced by slotChangeDir(). |
|
|
Definition at line 863 of file iconview.cpp. References cache, height, m_iconsize, m_mode, m_view, odebug, oendl, pos, sDEF_ICON_SIZE, PPixmapCache::self(), and width. Referenced by PIconView(), resetView(), resizeEvent(), and slotChangeMode(). |
|
|
get the current file name
Definition at line 339 of file iconview.cpp. References m_view, and QString::null. Referenced by slotBeam(), slotImageInfo(), slotShowImage(), slotStartSlide(), and slotTrash(). |
|
|
Definition at line 262 of file iconview.cpp. References Opie::Core::OKeyConfigManager::addKeyConfig(), BeamItem, DeleteItem, Opie::Core::OKeyConfigManager::handleWidget(), InfoItem, Qt::Key_B, Qt::Key_D, Qt::Key_I, Qt::Key_S, Qt::Key_V, Opie::Core::OKeyConfigManager::load(), Opie::Core::OResource::loadPixmap(), m_cfg, m_view, m_viewManager, Qt::ShiftButton, SlideItem, slotBeam(), slotImageInfo(), slotShowImage(), slotStartSlide(), slotTrash(), Opie::Core::OResource::SmallIcon, tr, and ViewItem. Referenced by PIconView(). |
|
|
Definition at line 395 of file iconview.cpp. References QMap< Key, T >::begin(), QMap< Key, T >::end(), m_views, and viewMap(). Referenced by PIconView(). |
|
|
Definition at line 253 of file iconview.cpp. References m_viewManager. Referenced by PMainWindow::slotConfig(). |
|
|
Definition at line 350 of file iconview.cpp. References m_view, and QString::null. Referenced by slotShowFirst(), and slotShowNext(). |
|
|
Definition at line 430 of file iconview.cpp. References m_cfg, m_views, Config::readEntry(), and slotViewChanged(). |
|
|
Definition at line 364 of file iconview.cpp. References m_view, and QString::null. Referenced by slotShowLast(), and slotShowPrev(). |
|
|
Definition at line 402 of file iconview.cpp. References calculateGrid(), QMap< Key, T >::clear(), m_cfg, m_iconsize, m_internalReset, m_mode, m_views, Config::readNumEntry(), sDEF_ICON_SIZE, slotViewChanged(), sMAX_ICON_SIZE, and sMIN_ICON_SIZE. Referenced by PMainWindow::slotConfig(). |
|
|
Definition at line 856 of file iconview.cpp. References calculateGrid(). |
|
|
Definition at line 237 of file iconview.cpp. References m_setDocCalled. Referenced by PMainWindow::polish(). |
|
|
Referenced by slotShowImage(). |
|
|
Referenced by slotImageInfo(). |
|
|
Referenced by slotStartSlide(). |
|
|
Definition at line 659 of file iconview.cpp. References currentFileName(), QString::isEmpty(), Ir::send(), slotBeamDone(), and tr. Referenced by initKeys(). |
|
|
Definition at line 674 of file iconview.cpp. Referenced by slotBeam(). |
|
|
Definition at line 303 of file iconview.cpp. References addFiles(), addFolders(), QMap< Key, T >::clear(), PDirLister::currentPath(), currentView(), PDirLister::files(), PDirLister::folders(), m_view, PDirLister::setStartPath(), and tr. Referenced by slotClicked(), slotDirUp(), slotReloadDir(), and slotRetrun(). |
|
|
Definition at line 824 of file iconview.cpp. References calculateGrid(), m_cfg, m_iconsize, m_mode, m_view, Config::readNumEntry(), sDEF_ICON_SIZE, slotReloadDir(), sMAX_ICON_SIZE, sMIN_ICON_SIZE, and Config::writeEntry(). |
|
|
Definition at line 563 of file iconview.cpp. References slotChangeDir(), and slotShowImage(). Referenced by PIconView(). |
|
|
Definition at line 295 of file iconview.cpp. References currentView(), and slotChangeDir(). |
|
|
Definition at line 682 of file iconview.cpp. References m_updatet, and m_view. Referenced by slotViewChanged(). |
|
|
Definition at line 817 of file iconview.cpp. References currentView(), PDirLister::nameToFname(), and sig_showInfo(). |
|
|
Definition at line 810 of file iconview.cpp. References currentFileName(), and name. Referenced by initKeys(). |
|
|
Definition at line 513 of file iconview.cpp. References slotChangeDir(). Referenced by slotChangeMode(), and slotViewChanged(). |
|
|
Definition at line 651 of file iconview.cpp. |
|
|
Definition at line 579 of file iconview.cpp. References slotChangeDir(), and slotShowImage(). |
|
|
Definition at line 717 of file iconview.cpp. References QString::isEmpty(), m_view, name, nextFileName(), and slotShowImage(). Referenced by slotShowNext(), and slotStartSlide(). |
|
|
Definition at line 791 of file iconview.cpp. References currentView(), PDirLister::nameToFname(), and sig_display(). |
|
|
Definition at line 784 of file iconview.cpp. References currentFileName(), and name. Referenced by initKeys(), slotClicked(), slotRetrun(), slotShowFirst(), slotShowLast(), slotShowNext(), slotShowPrev(), and slotStartSlide(). |
|
|
Definition at line 689 of file iconview.cpp. References QString::isEmpty(), m_view, name, prevFileName(), and slotShowImage(). Referenced by slotShowPrev(). |
|
|
Definition at line 747 of file iconview.cpp. References QString::isEmpty(), m_view, name, nextFileName(), slotShowFirst(), and slotShowImage(). |
|
|
Definition at line 765 of file iconview.cpp. References QString::isEmpty(), m_view, name, prevFileName(), slotShowImage(), and slotShowLast(). |
|
|
Definition at line 678 of file iconview.cpp. References m_view. Referenced by slotViewChanged(). |
|
|
Definition at line 797 of file iconview.cpp. References currentFileName(), m_cfg, name, Config::readNumEntry(), sig_startslide(), slotShowFirst(), slotShowImage(), and t. Referenced by initKeys(). |
|
||||||||||||
|
Definition at line 594 of file iconview.cpp. References m_mode, m_updatet, m_view, and QMap< Key, T >::remove(). Referenced by slotViewChanged(). |
|
||||||||||||
|
Definition at line 613 of file iconview.cpp. References Opie::Core::OResource::loadPixmap(), m_iconsize, m_updatet, m_view, p, QMap< Key, T >::remove(), PPixmapCache::self(), and Opie::Core::OResource::SmallIcon. Referenced by slotViewChanged(). |
|
|
Definition at line 377 of file iconview.cpp. References OMessageBox::confirmDelete(), currentFileName(), currentView(), QString::isEmpty(), m_view, and tr. Referenced by initKeys(). |
|
|
Definition at line 454 of file iconview.cpp. References currentView(), QMap< Key, T >::end(), QMap< Key, T >::find(), l, m_cfg, m_customWidget, m_hbox, m_internalReset, m_views, odebug, oendl, owarn, setCurrentView(), slotEnd(), slotReloadDir(), slotStart(), slotThumbInfo(), slotThumbNail(), str, viewMap(), Config::write(), and Config::writeEntry(). Referenced by polish(), and resetView(). |
|
|
Definition at line 27 of file iconview.h. |
|
|
Definition at line 100 of file iconview.h. Referenced by initKeys(), PIconView(), polish(), resetView(), slotChangeMode(), slotStartSlide(), and slotViewChanged(). |
|
|
Definition at line 109 of file iconview.h. Referenced by PIconView(), and slotViewChanged(). |
|
|
Definition at line 108 of file iconview.h. Referenced by PIconView(), and slotViewChanged(). |
|
|
Definition at line 107 of file iconview.h. Referenced by addFiles(), addFolders(), calculateGrid(), PIconView(), resetView(), slotChangeMode(), and slotThumbNail(). |
|
|
Definition at line 106 of file iconview.h. Referenced by PIconView(), resetView(), and slotViewChanged(). |
|
|
Definition at line 105 of file iconview.h. Referenced by addFiles(), addFolders(), calculateGrid(), PIconView(), resetView(), slotChangeMode(), and slotThumbInfo(). |
|
|
Definition at line 103 of file iconview.h. |
|
|
Definition at line 66 of file iconview.h. Referenced by PIconView(), and setDoccalled(). |
|
|
Definition at line 104 of file iconview.h. Referenced by slotEnd(), slotThumbInfo(), and slotThumbNail(). |
|
|
Definition at line 102 of file iconview.h. Referenced by addFiles(), addFolders(), calculateGrid(), currentFileName(), initKeys(), nextFileName(), PIconView(), prevFileName(), slotChangeDir(), slotChangeMode(), slotEnd(), slotShowFirst(), slotShowLast(), slotShowNext(), slotShowPrev(), slotStart(), slotThumbInfo(), slotThumbNail(), and slotTrash(). |
|
|
Definition at line 99 of file iconview.h. Referenced by initKeys(), manager(), and ~PIconView(). |
|
|
Definition at line 101 of file iconview.h. Referenced by loadViews(), PIconView(), polish(), resetView(), and slotViewChanged(). |
|
|
Definition at line 41 of file iconview.cpp. Referenced by calculateGrid(), resetView(), and slotChangeMode(). |
|
|
Definition at line 39 of file iconview.cpp. Referenced by PIconView(), resetView(), and slotChangeMode(). |
|
|
Definition at line 40 of file iconview.cpp. Referenced by PIconView(), resetView(), and slotChangeMode(). |
1.4.2