公開型
|
| enum | SlFileSelectorViewType { ListView = 1,
IconView
} |
| enum | SlFileOverwirteMode { Overwrite = 1,
NewName,
Error
} |
| enum | DesktopMode { HideDesktop = 1,
ShowAll,
FileTab
} |
| enum | FocusMode { Auto = 1,
ByTab,
ByCommand
} |
シグナル 適合機種情報はこちら
|
|
void | selectionChanged (const QFileInfo &file, bool isDevice) |
|
void | fileSelected (const QFileInfo &file) |
|
void | dirOpened (const QDir &dir) |
|
void | enabledPaste (bool) |
|
void | columnWidthChanged (int column, int oldSize, int newSize) |
|
void | itemRightPressed (const QFileInfo &file, const QPoint &pos) |
|
void | selectionLost () |
|
void | keyPressed (QKeyEvent *e, bool &isAccepted) |
公開メンバ 適合機種情報はこちら
|
| | SlFileSelector (const QString &dirPath, const QString &mimefilter, QWidget *parent, const char *name) |
| | SlFileSelector (const QString ¤tFileName, SlFileSelectorViewType type, const QString &mimeFilter, SlFileListColumnConf &items, int sortColumn, bool sortAscending, SlFileSelectorFilter *filter=NULL, bool isRecursive=FALSE, QWidget *parent=NULL, const char *name=NULL, WFlags f=0) |
|
| SlFileSelector (QWidget *parent=NULL, const char *name=NULL, WFlags f=0) |
|
virtual | ~SlFileSelector () |
|
void | createFileList () |
|
void | createFileList (QDir &) |
| int | fileCount () const |
| const QFileInfo* | selected () |
|
void | modifyItem (QFileInfo *,bool) |
| void | createItem (QString &) |
| void | deleteItem (const QString &) |
| void | deleteItem () |
| void | updateItem (const QString &) |
| SlFileListItem* | searchItem (const QString &) |
| void | setSelected () |
| void | setSelected (const QString &) |
| void | ensureItemVisible () |
|
SlFileListItem* | selectedItem () |
| bool | setSelectedNext (bool) |
| bool | setSelectedPrev (bool) |
| const QString | currentDir () |
| void | setSorting (int, bool) |
| int | sortColumn () const |
| bool | ascending () const |
| SlFileSelectorViewType | viewType () |
|
void | setColumnItem (SlFileListColumnConf &) |
| void | setViewType (SlFileSelectorViewType) |
| void | setListView () |
| void | setIconView () |
| int | columnWidth (int) |
| void | setColumnWidth (int, int) |
|
int | columns () const |
| bool | upDir () |
| bool | isTopDir () |
| void | setCurrentFile (const QString &) |
| const QString | currentFile (bool isReal=FALSE) |
| const QStringList& | recent () const |
| void | setRecent (const QStringList &) |
| void | setRecent (const QStringList &,bool isReplace) |
| void | setRecentEnabled (bool) |
| const QStringList& | history () const |
| void | setHistory (const QStringList &) |
| void | setHistory (const QStringList &,bool isReplace) |
| bool | isHistoryBackAvailable () const |
| bool | isHistoryForwardAvailable () const |
| bool | historyBack () |
| bool | historyForward () |
|
QPopupMenu* | backHistoryPopupMenu () const |
|
QPopupMenu* | forwardHistoryPopupMenu () const |
| void | setColumnConf (SlFileListColumnConf &) |
|
void | sendFileUpdateMessage (const QString &) |
|
void | updateView () |
| void | recreateIcon () |
| void | focusToNext () |
|
void | focusToPrev () |
| bool | rename () |
|
bool | newfolder () |
|
bool | del () |
|
bool | duplicate () |
|
bool | cut () |
|
bool | copy () |
|
bool | paste () |
|
void | setMimeFilter (const QString &) |
|
void | clearTmpFolder () |
|
void | setRecursive (bool, bool) |
|
bool | recursive () const |
|
void | setFilter (SlFileSelectorFilter *) |
|
SlFileSelectorFilter* | filter () |
|
bool | isEnablePaste () |
|
void | setDesktopMode (DesktopMode mode) |
|
void | setEnabledSystemChannel (bool) |
|
void | showUpDirBtn (bool) |
|
void | showWritableFile (bool) |
|
void | setEnableSD (bool) |
|
void | setEnableCF (bool) |
|
bool | getEnableSD () |
|
bool | getEnableCF () |
|
void | sendKeyPressEvent (QKeyEvent *e) |
|
void | setScale (int scale) |
|
int | scale () const |
|
SlMisc::SlListColumnInfos | columnWidthInfos () |
|
void | setFocusMode (FocusMode mode) |
|
void | adjustContentsSize () |
|
bool | delFile (const QString &mymsg) |
|
bool | isIncludedFile (const QString &filename) |
静的公開メンバ 適合機種情報はこちら
|
|
const QString | columnItemName (SlFileListItem::ColumnItem) |
|
const SlFileListColumnConf | columnItemList () |
|
bool | copyFile (const QString &,const QString &, SlFileOverwirteMode m=Error, QString *resultName=NULL) |
|
bool | copyFileCreateDir (const QString &srcName, const QString &dstName, SlFileOverwirteMode m=Error, QString *resultName=NULL) |
|
bool | moveFile (const QString &,const QString &, SlFileOverwirteMode m=Error, QString *resultName=NULL) |
|
QString | getCopyFileName (const QString &) |
|
bool | deleteFile (const QString &) |
|
bool | deleteDir (const QDir &) |
|
bool | copyDir (const QString &srcName, const QString &dstName, SlFileOverwirteMode m=Error) |
|
bool | moveDir (const QString &,const QString &, SlFileOverwirteMode m=Error) |
|
QString | getCopyDirName (const QString &) |
|
bool | makeDir (const QString &path) |
|
uint | size (const QString &fName) |
|
uint | fileFree (const QString &fName) |
|
void | updateFile (const QString &filename) |
保護メンバ
|
|
void | focusInEvent (QFocusEvent *) |
|
void | show () |
|
void | keyPressEvent (QKeyEvent *e) |
SlFileSelectorは、ファイルタブやイメージノートで使われているような、ファ イルをブラウズする機能を提供するWidgetである。ファイルを扱うアプリケー ションはSlFileSelectorを使うことによって標準的なインタフェースのファイ ル操作画面を実装することが可能となる。
SlFileSelectorは、あるディレクトリに含まれるファイルやディレクトリを表 示する。表示形式はリストあるいはアイコン形式のいずれかを切替えることが できる。Widgetの上部には現在表示中のディレクトリの上位ディレクトリや他 のボリュームを選択するためのポップアップメニュー(ディレクトリバー)や、 最近開いたファイルを素早く見つけるためのポップアップメニュー(最近開い たファイルボタン)が表示される。