PCManFM-Qt
 All Classes
Public Types | Public Member Functions | Protected Slots | Protected Member Functions | Friends | List of all members
PCManFM::DesktopWindow Class Reference
Inheritance diagram for PCManFM::DesktopWindow:
PCManFM::View

Public Types

enum  WallpaperMode {
  WallpaperNone, WallpaperStretch, WallpaperFit, WallpaperCenter,
  WallpaperTile, WallpaperZoom
}
 

Public Member Functions

 DesktopWindow (int screenNum)
 
void setForeground (const QColor &color)
 
void setShadow (const QColor &color)
 
void setBackground (const QColor &color)
 
void setDesktopFolder ()
 
void setWallpaperFile (QString filename)
 
void setWallpaperMode (WallpaperMode mode=WallpaperStretch)
 
void updateWallpaper ()
 
void updateFromSettings (Settings &settings)
 
void queueRelayout (int delay=0)
 
int screenNum () const
 
void setScreenNum (int num)
 
- Public Member Functions inherited from PCManFM::View
 View (Fm::FolderView::ViewMode _mode=IconMode, QWidget *parent=0)
 
void updateFromSettings (Settings &settings)
 
QSize getMargins () const
 
void setMargins (QSize size)
 

Protected Slots

void onOpenDirRequested (FmPath *path, int target)
 
void onDesktopPreferences ()
 
void onRowsAboutToBeRemoved (const QModelIndex &parent, int start, int end)
 
void onRowsInserted (const QModelIndex &parent, int start, int end)
 
void onLayoutChanged ()
 
void onModelSortFilterChanged ()
 
void onIndexesMoved (const QModelIndexList &indexes)
 
void onDataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight)
 
void relayoutItems ()
 
void onStickToCurrentPos (bool toggled)
 
void onCutActivated ()
 
void onCopyActivated ()
 
void onPasteActivated ()
 
void onRenameActivated ()
 
void onDeleteActivated ()
 
void onFilePropertiesActivated ()
 
- Protected Slots inherited from PCManFM::View
void onNewWindow ()
 
void onNewTab ()
 
void onOpenInTerminal ()
 
void onSearch ()
 

Protected Member Functions

virtual void prepareFolderMenu (Fm::FolderMenu *menu)
 
virtual void prepareFileMenu (Fm::FileMenu *menu)
 
virtual void resizeEvent (QResizeEvent *event)
 
virtual void onFileClicked (int type, FmFileInfo *fileInfo)
 
void loadItemPositions ()
 
void saveItemPositions ()
 
QImage loadWallpaperFile (QSize requiredSize)
 
virtual bool event (QEvent *event)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
virtual void childDropEvent (QDropEvent *e)
 
virtual void closeEvent (QCloseEvent *event)
 

Friends

class Application
 

Additional Inherited Members

- Signals inherited from PCManFM::View
void openDirRequested (FmPath *path, int target)
 

The documentation for this class was generated from the following files: