Class sh::ui::qt::QtFileList¶
-
class
sh::ui::qt
::
QtFileList
: public QTreeView, public sh::ui::qt::QtFileView¶ List view for the contents of one directory.
Public Functions
-
QtFileList
(QWidget *parent = 0)¶ Constructed only by the infrastructure and made available otherwise.
-
void
setSort
(int column, Qt::SortOrder order) override¶
-
void
setBackgroundColor
(QString c)¶
-
QString
backgroundColor
()¶
-
QList<std::shared_ptr<sh::filesystem::FilesystemNode>>
selectedNodes
()¶
-
std::shared_ptr<sh::filesystem::FilesystemNode>
node
()¶
-
QList<std::shared_ptr<sh::filesystem::FilesystemNode>>
getAllVisibleNodes
()¶
-
void
setSizeFormatting
(sh::filesystem::SizeFormatting v)¶
-
void
setHiddenFilesVisible
(bool value)¶
-
QThread *
thread
()¶
-
void
configure
(sh::ui::qt::QtFileViewControl *viewctrl)¶
-
void
focus
()¶
-
QObject *
as_qobject
()¶
-
QWidget *
as_qwidget
()¶
-
QAbstractItemView *
as_qabstractitemview
()¶
-
sh::ui::qt::QtFileViewControl *
control
()¶
Private Members
-
bool
_skip_slot_sectionResized
= false¶
Private Slots
-
void
slot_sectionResized
(int index, int oldsize, int newsize)¶
Private Static Attributes
-
std::shared_ptr<sh::configuration::ConfigurationValue>
cfgvalFileListIconSize
= sh::configuration::ConfigurationManager::instance()->registerConfigValue("sh::ui::qt::QtFileList.FileListIconSize", -1, sh::configuration::ConfigurationValue::valueTypeInteger(), QObject::tr("Icon size in file list panels"), sh::configuration::ConfigurationCategory::CategoryGUI, QString(), QObject::tr("For default size, set it to -1."))¶
-