Class sh::filepropertydialogtabs::FilePropertyDialogTabGeneral¶
-
class
sh::filepropertydialogtabs
::
FilePropertyDialogTabGeneral
: public sh::ui::FilePropertyDialogTab¶ Properties dialog tab for general infos.
Public Functions
-
FilePropertyDialogTabGeneral
()¶
-
QString
title
() override¶ The tab title. .
-
QList<QString>
properties
() override¶ Returns the list of property labels (one entry for each widget).
Each property is displayed with a header and a widget (created in createWidget) with some content (populated in updateWidget).
-
void
populateWidget
(int i, sh::ui::FilePropertyDialogTabActionsView *widget) override¶ Populates the tab widget for the i-th property.
Typically uses the FilePropertyDialog::create* methods to create sub-widgets.
See also dialog().
-
void
updateWidget
(int i, sh::ui::FilePropertyDialogTabActionsView *widget, sh::filesystem::Operation *op) override¶ Populates the widget for the i-th property with actual content. .
-
QString
titleWithoutMnemonic
()¶ The tab title without mnemonic.
-
void
refresh
()¶ Refreshes the complete content.
Typically called after some user actions in a property widget require that all the other content must be refreshed.
-
QList<std::shared_ptr<sh::filesystem::FilesystemNode>>
nodes
()¶ The nodes to show.
-
FilePropertyDialogTabActionsView *
widgetAt
(int i)¶ Returns the widget for the i-th property.
-
int
widgetCount
()¶ Returns the number of widgets.
-
std::shared_ptr<FilePropertyDialog>
dialog
()¶ Returns the associated dialog.
-