13using namespace swift::gui::menus;
65 deletedDirectories << d;
68 if (deletedDirectories.
isEmpty())
81 if (!this->view()->isEmpty())
83 m_menuActionDeleteDirectory = menuActions.
addAction(
Application info list model.
CApplicationInfoView(QWidget *parent=nullptr)
Constructor.
int otherSwiftVersionsFromDataDiretoriesAndResize(bool reinitOtherVersion=false)
Display versions and resize.
int otherSwiftVersionsFromDataDirectories(bool reinitOtherVersions=false)
swift::misc::CApplicationInfoList::otherSwiftVersionsFromDataDirectories
void deleteSelectedDataDirectories()
Delete the selected directories.
void standardInit(ModelClass *model=nullptr)
ContainerType selectedObjects() const
void setPercentageColumnWidths()
CViewBase(QWidget *parent, ModelClass *model=nullptr)
int updateContainer(const ContainerType &container, bool sort=true, bool resize=true)
bool m_acceptRowSelection
selection changed
menus::IMenuDelegate * setCustomMenu(menus::IMenuDelegate *menu, bool nestPreviousMenu=true)
Set custom menu if applicable.
bool hasSelection() const
Selection (selected rows).
Description of a swift application.
List of swift application descriptions.
static CApplicationInfoList fromOtherSwiftVersionsFromDataDirectories(bool reinit=false)
Filled from cache data directories.
static QString fixWindowsUncPath(const QString &filePath)
UNC file paths on Qt start with "/", but UNC file paths only work when they start with "//".
static const QPixmap & delete16()
Delete.
size_type size() const
Returns number of elements in the sequence.
bool isEmpty() const
Synonym for empty.
Models to be used with views, mainly QTableView.
Views, mainly QTableView.
Free functions in swift::misc.
bool exists() const const
bool isEmpty() const const
QMessageBox::StandardButton question(QWidget *parent, const QString &title, const QString &text, QMessageBox::StandardButtons buttons, QMessageBox::StandardButton defaultButton)
QObject * parent() const const
void resizeRowsToContents()