|
swift
|
Network servers. More...
Public Member Functions | |
| CServerView (QWidget *parent=nullptr) | |
| Constructor. | |
Public Member Functions inherited from swift::gui::views::CViewBase< models::CServerListModel > | |
| virtual | ~CViewBase () |
| Destructor. | |
| ModelClass * | derivedModel () |
| Model. | |
| const ModelClass * | derivedModel () const |
| Model. | |
| const models::CColumns & | getColumns () const |
| The columns. | |
| int | updateContainer (const ContainerType &container, bool sort=true, bool resize=true) |
| Update whole container. More... | |
| swift::misc::CWorker * | updateContainerAsync (const ContainerType &container, bool sort=true, bool resize=true) |
| Update whole container in background. | |
| void | updateContainerMaybeAsync (const ContainerType &container, bool sort=true, bool resize=true) |
| Based on size call sync / async update. | |
| void | insert (const ObjectType &value, bool resize=true) |
| Insert. | |
| void | insert (const ContainerType &container, bool resize=true) |
| Insert. | |
| void | push_back (const ObjectType &value, bool resize=true) |
| Push back. | |
| void | push_back (const ContainerType &container, bool resize=true) |
| Push back. | |
| const ObjectType & | at (const QModelIndex &index) const |
| Value object at. | |
| const ContainerType & | container () const |
| Access to container. | |
| QList< int > | rowsOf (const ContainerType &container) const |
| The rows of the given objects. | |
| int | rowOf (const ObjectType &obj) const |
| The row of the given object. More... | |
| const ContainerType & | containerOrFilteredContainer (bool *filtered=nullptr) const |
| Full container or cached filtered container as approproiate. More... | |
| ObjectType | firstSelectedOrDefaultObject () const |
| First selected, the only one, or default. | |
| int | updateSelected (const swift::misc::CVariant &variant, const swift::misc::CPropertyIndex &index) |
| Update selected objects. | |
| int | updateSelected (const swift::misc::CPropertyIndexVariantMap &vm) |
| Update selected objects. | |
| ObjectType | selectedObject () const |
| Selected object (or default) | |
| int | removeIf (K0 k0, V0 v0, KeysValues... keysValues) |
| Remove elements matching some particular key/value pair(s). More... | |
| void | replaceOrAdd (K1 key1, V1 value1, const ObjectType &replacement) |
| Replace elements matching the given element. If there is no match, push the new element on the end. More... | |
| void | sort () |
| Sort if columns or order changed. | |
| void | resort () |
| Resort ("forced sorting") | |
| int | columnCount () const |
| Column count. | |
| QJsonObject | toJson (bool selectedOnly=false) const |
| Convert to JSON. | |
| QString | toJsonString (QJsonDocument::JsonFormat format=QJsonDocument::Indented, bool selectedOnly=false) const |
| Convert to JSON string. | |
| virtual void | setObjectName (const QString &name) |
| Set own name and the model's name. | |
| void | takeFilterOwnership (std::unique_ptr< models::IModelFilter< ContainerType >> &filter) |
| Set filter and take ownership, any previously set filter will be destroyed. | |
| bool | hasFilter () const |
| Has filter set? | |
| void | addContainerTypesAsDropTypes (bool objectType=true, bool containerType=true) |
| Add the object and container type as accepted drop types CDropBase::addAcceptedMetaTypeId. | |
| void | initAsOrderable () |
| Init so items can be ordered, includes enabling drag and drop. | |
| void | setDropActions (Qt::DropActions dropActions) |
| Drop actions. | |
| void | setTabWidgetViewText (QTabWidget *tw, int index) |
| Set a tab widget text based on row count, filter etc. | |
| void | setPercentageColumnWidths () |
| Set the widths based on the column percentages. More... | |
| virtual void | selectObjects (const ContainerType &selectedObjects) |
| Select. More... | |
| virtual ContainerType | selectedObjects () const |
| Selected objects. More... | |
| virtual ContainerType | unselectedObjects () const |
| Unselected objects. More... | |
| virtual int | removeSelectedRows () |
| Remove selected rows. More... | |
| virtual void | presizeOrFullResizeToContents () |
| Depending on CViewBaseNonTemplate::ResizeSubsetThreshold presize or fully resize. More... | |
| virtual void | clearHighlighting () |
| Clear any highlighted objects. More... | |
| virtual void | materializeFilter () |
| Materialize filter. More... | |
| virtual void | clear () |
| Clear data. More... | |
| virtual int | rowCount () const |
| Elements in container. More... | |
| virtual bool | isEmpty () const |
| Empty? More... | |
| virtual bool | isOrderable () const |
| Is the corresponding model orderable, swift::misc::models::CListModelBaseNonTemplate::isOrderable. More... | |
| virtual void | allowDragDrop (bool allowDrag, bool allowDrop, bool allowDropJsonFile=false) |
| Allow to drag and/or drop value objects. More... | |
| virtual bool | isDropAllowed () const |
| Drop allowed? More... | |
| virtual void | dropEvent (QDropEvent *event) |
| virtual bool | acceptDrop (const QMimeData *mimeData) const |
| Accept drop data? More... | |
| virtual bool | setSorting (const swift::misc::CPropertyIndex &propertyIndex, Qt::SortOrder order=Qt::AscendingOrder) |
| Sorting. More... | |
| virtual void | sortByPropertyIndex (const swift::misc::CPropertyIndex &propertyIndex, Qt::SortOrder order=Qt::AscendingOrder) |
| Sort by index. More... | |
| virtual void | setNoSorting () |
| Disable sorting. More... | |
| virtual swift::misc::CPropertyIndex | getSortProperty () const |
| Sorted by property. More... | |
| virtual int | getSortColumn () const |
| Get sort column property index. More... | |
| virtual bool | hasValidSortColumn () const |
| Has valid sort column? More... | |
| virtual bool | endsWithEmptyColumn () const |
| Using void column at the end? More... | |
| virtual Qt::SortOrder | getSortOrder () const |
| Get sort order. More... | |
Public Member Functions inherited from swift::gui::views::CViewBaseNonTemplate | |
| virtual bool | setParentDockWidgetInfoArea (swift::gui::CDockWidgetInfoArea *parentDockableWidget) |
| Corresponding dockable widget in info area. More... | |
| ResizeMode | getResizeMode () const |
| Resize mode. | |
| void | setResizeMode (ResizeMode mode) |
| Set resize mode. | |
| void | setAutoResizeFrequency (int updateEveryNthTime) |
| In. More... | |
| bool | displayAutomatically () const |
| Display automatically (when models are loaded) | |
| void | setDisplayAutomatically (bool automatically) |
| Display automatically (when models are loaded) | |
| const QFont & | getHorizontalHeaderFont () const |
| Header (horizontal) font. | |
| int | getHorizontalHeaderFontHeight () const |
| Horizontal font height. | |
| bool | hasSelection () const |
| Selection (selected rows) | |
| QModelIndexList | selectedRows () const |
| Selected rows if any. | |
| virtual QModelIndexList | unselectedRows () const |
| Unselected (not selected) rows if any. | |
| int | selectRows (const QSet< int > &rows) |
| Select given rows. | |
| int | selectedRowCount () const |
| Number of selected rows. | |
| int | unselectedRowCount () const |
| Unselected row count. | |
| bool | hasSingleSelectedRow () const |
| Single selected row. | |
| bool | hasMultipleSelectedRows () const |
| Multiple selected rows. | |
| bool | allowsMultipleSelectedRows () const |
| Allows to select multiple rows. | |
| bool | isCurrentlyAllowingMultipleRowSelections () const |
| Is the current selection mode allow multiple selection. | |
| void | setFilterDialog (filters::CFilterDialog *filterDialog) |
| Filter dialog. | |
| QWidget * | getFilterWidget () const |
| Filter widget if any. | |
| void | setFilterWidget (filters::CFilterWidget *filterWidget) |
| Set filter widget. | |
| menus::IMenuDelegate * | setCustomMenu (menus::IMenuDelegate *menu, bool nestPreviousMenu=true) |
| Set custom menu if applicable. | |
| void | enableLoadIndicator (bool enable) |
| Enable loading indicator. | |
| bool | isShowingLoadIndicator () const |
| Showing load indicator. | |
| void | acceptClickSelection (bool accept) |
| Accept click selection. | |
| void | acceptDoubleClickSelection (bool accept) |
| Accept double click selection. | |
| void | acceptRowSelection (bool accept) |
| Accept row selection. | |
| void | menuRemoveItems (Menu menusToRemove) |
| Remove given menu items. | |
| void | menuAddItems (Menu menusToAdd) |
| Add given menu items. | |
| void | setMenu (Menu menuItems) |
| Set menu items. | |
| Menu | getMenu () const |
| Menus. | |
| virtual void | setSelectionModel (QItemSelectionModel *model) |
| QWidget * | mainApplicationWindowWidget () const |
| Main application window widget if any. | |
| swift::misc::CStatusMessage | showFileLoadDialog (const QString &directory={}) |
| Show file load dialog. | |
| swift::misc::CStatusMessage | showFileSaveDialog (bool selectedOnly, const QString &directory={}) |
| Show file save dialog. | |
| void | setSaveFileName (const QString &saveName) |
| Save file name (optional) | |
| bool | allowCacheFileFormatJson () const |
| Allow cache file JSON to be loaded. | |
| void | setAllowCacheFileFormatJson (bool allow) |
| Enable/disable cache file format to be loaded as JSON. | |
| void | setForceColumnsToMaxSize (bool force) |
| Force that columns are extended to full viewport width. Workaround as of https://stackoverflow.com/q/3433664/356726. More... | |
| void | setHorizontalHeaderSectionResizeMode (QHeaderView::ResizeMode mode) |
| Resize mode. | |
| void | setSettingsDirectoryIndex (swift::misc::CDirectories::ColumnIndex directoryIndex) |
| Index of the directory we "remember". | |
Public Member Functions inherited from QTableView | |
| QTableView (QWidget *parent) | |
| void | clearSpans () |
| void | hideColumn (int column) |
| void | hideRow (int row) |
| void | resizeColumnToContents (int column) |
| void | resizeColumnsToContents () |
| void | resizeRowToContents (int row) |
| void | resizeRowsToContents () |
| virtual void | scrollTo (const QModelIndex &index, QAbstractItemView::ScrollHint hint) override |
| void | selectColumn (int column) |
| void | selectRow (int row) |
| void | setColumnHidden (int column, bool hide) |
| void | setColumnWidth (int column, int width) |
| void | setCornerButtonEnabled (bool enable) |
| void | setGridStyle (Qt::PenStyle style) |
| void | setHorizontalHeader (QHeaderView *header) |
| virtual void | setModel (QAbstractItemModel *model) override |
| virtual void | setRootIndex (const QModelIndex &index) override |
| void | setRowHeight (int row, int height) |
| void | setRowHidden (int row, bool hide) |
| void | setShowGrid (bool show) |
| void | setSortingEnabled (bool enable) |
| void | setSpan (int row, int column, int rowSpanCount, int columnSpanCount) |
| void | setVerticalHeader (QHeaderView *header) |
| void | setWordWrap (bool on) |
| void | showColumn (int column) |
| void | showRow (int row) |
| void | sortByColumn (int column, Qt::SortOrder order) |
| QHeaderView * | horizontalHeader () const const |
| QHeaderView * | verticalHeader () const const |
| virtual QModelIndex | indexAt (const QPoint &pos) const const override |
| virtual QRect | visualRect (const QModelIndex &index) const const override |
| Qt::PenStyle | gridStyle () const const |
| bool | isColumnHidden (int column) const const |
| bool | isCornerButtonEnabled () const const |
| bool | isRowHidden (int row) const const |
| bool | isSortingEnabled () const const |
| bool | showGrid () const const |
| bool | wordWrap () const const |
| int | columnAt (int x) const const |
| int | columnSpan (int row, int column) const const |
| int | columnViewportPosition (int column) const const |
| int | columnWidth (int column) const const |
| int | rowAt (int y) const const |
| int | rowHeight (int row) const const |
| int | rowSpan (int row, int column) const const |
| int | rowViewportPosition (int row) const const |
Public Member Functions inherited from QAbstractItemView | |
| QAbstractItemView (QWidget *parent) | |
| void | activated (const QModelIndex &index) |
| void | clearSelection () |
| void | clicked (const QModelIndex &index) |
| void | closePersistentEditor (const QModelIndex &index) |
| void | doubleClicked (const QModelIndex &index) |
| void | edit (const QModelIndex &index) |
| void | entered (const QModelIndex &index) |
| void | iconSizeChanged (const QSize &size) |
| virtual void | keyboardSearch (const QString &search) |
| void | openPersistentEditor (const QModelIndex &index) |
| void | pressed (const QModelIndex &index) |
| virtual void | reset () |
| void | resetHorizontalScrollMode () |
| void | resetVerticalScrollMode () |
| void | scrollToBottom () |
| void | scrollToTop () |
| void | setAlternatingRowColors (bool enable) |
| void | setAutoScroll (bool enable) |
| void | setAutoScrollMargin (int margin) |
| void | setCurrentIndex (const QModelIndex &index) |
| void | setDefaultDropAction (Qt::DropAction dropAction) |
| void | setDragDropMode (QAbstractItemView::DragDropMode behavior) |
| void | setDragDropOverwriteMode (bool overwrite) |
| void | setDragEnabled (bool enable) |
| void | setDropIndicatorShown (bool enable) |
| void | setEditTriggers (QAbstractItemView::EditTriggers triggers) |
| void | setHorizontalScrollMode (QAbstractItemView::ScrollMode mode) |
| void | setIconSize (const QSize &size) |
| void | setIndexWidget (const QModelIndex &index, QWidget *widget) |
| void | setItemDelegate (QAbstractItemDelegate *delegate) |
| void | setItemDelegateForColumn (int column, QAbstractItemDelegate *delegate) |
| void | setItemDelegateForRow (int row, QAbstractItemDelegate *delegate) |
| void | setSelectionBehavior (QAbstractItemView::SelectionBehavior behavior) |
| void | setSelectionMode (QAbstractItemView::SelectionMode mode) |
| void | setTabKeyNavigation (bool enable) |
| void | setTextElideMode (Qt::TextElideMode mode) |
| void | setUpdateThreshold (int threshold) |
| void | setVerticalScrollMode (QAbstractItemView::ScrollMode mode) |
| void | update (const QModelIndex &index) |
| void | viewportEntered () |
| QAbstractItemDelegate * | itemDelegate () const const |
| QAbstractItemDelegate * | itemDelegate (const QModelIndex &index) const const |
| QAbstractItemDelegate * | itemDelegateForColumn (int column) const const |
| virtual QAbstractItemDelegate * | itemDelegateForIndex (const QModelIndex &index) const const |
| QAbstractItemDelegate * | itemDelegateForRow (int row) const const |
| QAbstractItemModel * | model () const const |
| QAbstractItemView::DragDropMode | dragDropMode () const const |
| QAbstractItemView::EditTriggers | editTriggers () const const |
| QAbstractItemView::ScrollMode | horizontalScrollMode () const const |
| QAbstractItemView::ScrollMode | verticalScrollMode () const const |
| QAbstractItemView::SelectionBehavior | selectionBehavior () const const |
| QAbstractItemView::SelectionMode | selectionMode () const const |
| QItemSelectionModel * | selectionModel () const const |
| QModelIndex | currentIndex () const const |
| QModelIndex | rootIndex () const const |
| QSize | iconSize () const const |
| QSize | sizeHintForIndex (const QModelIndex &index) const const |
| virtual QVariant | inputMethodQuery (Qt::InputMethodQuery query) const const override |
| QWidget * | indexWidget (const QModelIndex &index) const const |
| Qt::DropAction | defaultDropAction () const const |
| Qt::TextElideMode | textElideMode () const const |
| bool | alternatingRowColors () const const |
| bool | dragDropOverwriteMode () const const |
| bool | dragEnabled () const const |
| bool | hasAutoScroll () const const |
| bool | isPersistentEditorOpen (const QModelIndex &index) const const |
| bool | showDropIndicator () const const |
| bool | tabKeyNavigation () const const |
| int | autoScrollMargin () const const |
| int | updateThreshold () const const |
Public Member Functions inherited from QAbstractScrollArea | |
| QAbstractScrollArea (QWidget *parent) | |
| QWidgetList | scrollBarWidgets (Qt::Alignment alignment) |
| void | addScrollBarWidget (QWidget *widget, Qt::Alignment alignment) |
| void | setCornerWidget (QWidget *widget) |
| void | setHorizontalScrollBar (QScrollBar *scrollBar) |
| void | setHorizontalScrollBarPolicy (Qt::ScrollBarPolicy) |
| void | setSizeAdjustPolicy (QAbstractScrollArea::SizeAdjustPolicy policy) |
| void | setVerticalScrollBar (QScrollBar *scrollBar) |
| void | setVerticalScrollBarPolicy (Qt::ScrollBarPolicy) |
| void | setViewport (QWidget *widget) |
| virtual void | setupViewport (QWidget *viewport) |
| QAbstractScrollArea::SizeAdjustPolicy | sizeAdjustPolicy () const const |
| QScrollBar * | horizontalScrollBar () const const |
| QScrollBar * | verticalScrollBar () const const |
| QSize | maximumViewportSize () const const |
| virtual QSize | minimumSizeHint () const const override |
| virtual QSize | sizeHint () const const override |
| QWidget * | cornerWidget () const const |
| QWidget * | viewport () const const |
| Qt::ScrollBarPolicy | horizontalScrollBarPolicy () const const |
| Qt::ScrollBarPolicy | verticalScrollBarPolicy () const const |
Public Member Functions inherited from QFrame | |
| QFrame (QWidget *parent, Qt::WindowFlags f) | |
| void | setFrameRect (const QRect &) |
| void | setFrameShadow (QFrame::Shadow) |
| void | setFrameShape (QFrame::Shape) |
| void | setFrameStyle (int style) |
| void | setLineWidth (int) |
| void | setMidLineWidth (int) |
| QFrame::Shadow | frameShadow () const const |
| QFrame::Shape | frameShape () const const |
| QRect | frameRect () const const |
| int | frameStyle () const const |
| int | frameWidth () const const |
| int | lineWidth () const const |
| int | midLineWidth () const const |
Public Member Functions inherited from QWidget | |
| QAction * | addAction (const QIcon &icon, const QString &text) |
| QAction * | addAction (const QIcon &icon, const QString &text, Args &&... args) |
| QAction * | addAction (const QIcon &icon, const QString &text, const QKeySequence &shortcut) |
| QAction * | addAction (const QIcon &icon, const QString &text, const QKeySequence &shortcut, Args &&... args) |
| QAction * | addAction (const QIcon &icon, const QString &text, const QKeySequence &shortcut, const QObject *receiver, const char *member, Qt::ConnectionType type) |
| QAction * | addAction (const QIcon &icon, const QString &text, const QObject *receiver, const char *member, Qt::ConnectionType type) |
| QAction * | addAction (const QString &text) |
| QAction * | addAction (const QString &text, Args &&... args) |
| QAction * | addAction (const QString &text, const QKeySequence &shortcut) |
| QAction * | addAction (const QString &text, const QKeySequence &shortcut, Args &&... args) |
| QAction * | addAction (const QString &text, const QKeySequence &shortcut, const QObject *receiver, const char *member, Qt::ConnectionType type) |
| QAction * | addAction (const QString &text, const QObject *receiver, const char *member, Qt::ConnectionType type) |
| QPixmap | grab (const QRect &rectangle) |
| QWIDGETSIZE_MAX QWIDGETSIZE_MAX | |
| QWidget (QWidget *parent, Qt::WindowFlags f) | |
| bool | close () |
| bool | restoreGeometry (const QByteArray &geometry) |
| int | grabShortcut (const QKeySequence &key, Qt::ShortcutContext context) |
| void | activateWindow () |
| void | addAction (QAction *action) |
| void | addActions (const QList< QAction * > &actions) |
| void | adjustSize () |
| void | clearFocus () |
| void | clearMask () |
| void | customContextMenuRequested (const QPoint &pos) |
| void | grabGesture (Qt::GestureType gesture, Qt::GestureFlags flags) |
| void | grabKeyboard () |
| void | grabMouse () |
| void | grabMouse (const QCursor &cursor) |
| void | hide () |
| void | insertAction (QAction *before, QAction *action) |
| void | insertActions (QAction *before, const QList< QAction * > &actions) |
| void | lower () |
| void | move (const QPoint &) |
| void | move (int x, int y) |
| void | overrideWindowFlags (Qt::WindowFlags flags) |
| void | raise () |
| void | releaseKeyboard () |
| void | releaseMouse () |
| void | releaseShortcut (int id) |
| void | removeAction (QAction *action) |
| void | render (QPaintDevice *target, const QPoint &targetOffset, const QRegion &sourceRegion, QWidget::RenderFlags renderFlags) |
| void | render (QPainter *painter, const QPoint &targetOffset, const QRegion &sourceRegion, QWidget::RenderFlags renderFlags) |
| void | repaint () |
| void | repaint (const QRect &rect) |
| void | repaint (const QRegion &rgn) |
| void | repaint (int x, int y, int w, int h) |
| void | resize (const QSize &) |
| void | resize (int w, int h) |
| void | scroll (int dx, int dy) |
| void | scroll (int dx, int dy, const QRect &r) |
| void | setAcceptDrops (bool on) |
| void | setAccessibleDescription (const QString &description) |
| void | setAccessibleIdentifier (const QString &identifier) |
| void | setAccessibleName (const QString &name) |
| void | setAttribute (Qt::WidgetAttribute attribute, bool on) |
| void | setAutoFillBackground (bool enabled) |
| void | setBackgroundRole (QPalette::ColorRole role) |
| void | setBaseSize (const QSize &) |
| void | setBaseSize (int basew, int baseh) |
| void | setContentsMargins (const QMargins &margins) |
| void | setContentsMargins (int left, int top, int right, int bottom) |
| void | setContextMenuPolicy (Qt::ContextMenuPolicy policy) |
| void | setCursor (const QCursor &) |
| void | setDisabled (bool disable) |
| void | setEditFocus (bool enable) |
| void | setEnabled (bool) |
| void | setFixedHeight (int h) |
| void | setFixedSize (const QSize &s) |
| void | setFixedSize (int w, int h) |
| void | setFixedWidth (int w) |
| void | setFocus () |
| void | setFocus (Qt::FocusReason reason) |
| void | setFocusPolicy (Qt::FocusPolicy policy) |
| void | setFocusProxy (QWidget *w) |
| void | setFont (const QFont &) |
| void | setForegroundRole (QPalette::ColorRole role) |
| void | setGeometry (const QRect &) |
| void | setGeometry (int x, int y, int w, int h) |
| void | setGraphicsEffect (QGraphicsEffect *effect) |
| void | setHidden (bool hidden) |
| void | setInputMethodHints (Qt::InputMethodHints hints) |
| void | setLayout (QLayout *layout) |
| void | setLayoutDirection (Qt::LayoutDirection direction) |
| void | setLocale (const QLocale &locale) |
| void | setMask (const QBitmap &bitmap) |
| void | setMask (const QRegion ®ion) |
| void | setMaximumHeight (int maxh) |
| void | setMaximumSize (const QSize &) |
| void | setMaximumSize (int maxw, int maxh) |
| void | setMaximumWidth (int maxw) |
| void | setMinimumHeight (int minh) |
| void | setMinimumSize (const QSize &) |
| void | setMinimumSize (int minw, int minh) |
| void | setMinimumWidth (int minw) |
| void | setMouseTracking (bool enable) |
| void | setPalette (const QPalette &) |
| void | setParent (QWidget *parent) |
| void | setParent (QWidget *parent, Qt::WindowFlags f) |
| void | setScreen (QScreen *screen) |
| void | setShortcutAutoRepeat (int id, bool enable) |
| void | setShortcutEnabled (int id, bool enable) |
| void | setSizeIncrement (const QSize &) |
| void | setSizeIncrement (int w, int h) |
| void | setSizePolicy (QSizePolicy) |
| void | setSizePolicy (QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical) |
| void | setStatusTip (const QString &) |
| void | setStyle (QStyle *style) |
| void | setStyleSheet (const QString &styleSheet) |
| void | setTabletTracking (bool enable) |
| void | setToolTip (const QString &) |
| void | setToolTipDuration (int msec) |
| void | setUpdatesEnabled (bool enable) |
| virtual void | setVisible (bool visible) |
| void | setWhatsThis (const QString &) |
| void | setWindowFilePath (const QString &filePath) |
| void | setWindowFlag (Qt::WindowType flag, bool on) |
| void | setWindowFlags (Qt::WindowFlags type) |
| void | setWindowIcon (const QIcon &icon) |
| void | setWindowIconText (const QString &) |
| void | setWindowModality (Qt::WindowModality windowModality) |
| void | setWindowModified (bool) |
| void | setWindowOpacity (qreal level) |
| void | setWindowRole (const QString &role) |
| void | setWindowState (Qt::WindowStates windowState) |
| void | setWindowTitle (const QString &) |
| void | setupUi (QWidget *widget) |
| void | show () |
| void | showFullScreen () |
| void | showMaximized () |
| void | showMinimized () |
| void | showNormal () |
| void | stackUnder (QWidget *w) |
| void | ungrabGesture (Qt::GestureType gesture) |
| void | unsetCursor () |
| void | unsetLayoutDirection () |
| void | unsetLocale () |
| void | update () |
| void | update (const QRect &rect) |
| void | update (const QRegion &rgn) |
| void | update (int x, int y, int w, int h) |
| void | updateGeometry () |
| void | windowIconChanged (const QIcon &icon) |
| void | windowIconTextChanged (const QString &iconText) |
| void | windowTitleChanged (const QString &title) |
| QBackingStore * | backingStore () const const |
| QByteArray | saveGeometry () const const |
| QCursor | cursor () const const |
| QFontInfo | fontInfo () const const |
| QFontMetrics | fontMetrics () const const |
| QGraphicsEffect * | graphicsEffect () const const |
| QGraphicsProxyWidget * | graphicsProxyWidget () const const |
| QIcon | windowIcon () const const |
| QLayout * | layout () const const |
| QList< QAction * > | actions () const const |
| QLocale | locale () const const |
| QMargins | contentsMargins () const const |
| virtual QPaintEngine * | paintEngine () const const override |
| QPalette::ColorRole | backgroundRole () const const |
| QPalette::ColorRole | foregroundRole () const const |
| QPoint | mapFrom (const QWidget *parent, const QPoint &pos) const const |
| QPoint | mapFromGlobal (const QPoint &pos) const const |
| QPoint | mapFromParent (const QPoint &pos) const const |
| QPoint | mapTo (const QWidget *parent, const QPoint &pos) const const |
| QPoint | mapToGlobal (const QPoint &pos) const const |
| QPoint | mapToParent (const QPoint &pos) const const |
| QPoint | pos () const const |
| QPointF | mapFrom (const QWidget *parent, const QPointF &pos) const const |
| QPointF | mapFromGlobal (const QPointF &pos) const const |
| QPointF | mapFromParent (const QPointF &pos) const const |
| QPointF | mapTo (const QWidget *parent, const QPointF &pos) const const |
| QPointF | mapToGlobal (const QPointF &pos) const const |
| QPointF | mapToParent (const QPointF &pos) const const |
| QRect | childrenRect () const const |
| QRect | contentsRect () const const |
| QRect | frameGeometry () const const |
| QRect | normalGeometry () const const |
| QRect | rect () const const |
| QRegion | childrenRegion () const const |
| QRegion | mask () const const |
| QRegion | visibleRegion () const const |
| QScreen * | screen () const const |
| QSize | baseSize () const const |
| QSize | frameSize () const const |
| QSize | maximumSize () const const |
| QSize | minimumSize () const const |
| QSize | size () const const |
| QSize | sizeIncrement () const const |
| QSizePolicy | sizePolicy () const const |
| QString | accessibleDescription () const const |
| QString | accessibleIdentifier () const const |
| QString | accessibleName () const const |
| QString | statusTip () const const |
| QString | styleSheet () const const |
| QString | toolTip () const const |
| QString | whatsThis () const const |
| QString | windowFilePath () const const |
| QString | windowIconText () const const |
| QString | windowRole () const const |
| QString | windowTitle () const const |
| QStyle * | style () const const |
| QWidget * | childAt (const QPoint &p) const const |
| QWidget * | childAt (const QPointF &p) const const |
| QWidget * | childAt (int x, int y) const const |
| QWidget * | focusProxy () const const |
| QWidget * | focusWidget () const const |
| QWidget * | nativeParentWidget () const const |
| QWidget * | nextInFocusChain () const const |
| QWidget * | parentWidget () const const |
| QWidget * | previousInFocusChain () const const |
| QWidget * | topLevelWidget () const const |
| QWidget * | window () const const |
| QWindow * | windowHandle () const const |
| Qt::ContextMenuPolicy | contextMenuPolicy () const const |
| Qt::FocusPolicy | focusPolicy () const const |
| Qt::InputMethodHints | inputMethodHints () const const |
| Qt::LayoutDirection | layoutDirection () const const |
| Qt::WindowFlags | windowFlags () const const |
| Qt::WindowModality | windowModality () const const |
| Qt::WindowStates | windowState () const const |
| Qt::WindowType | windowType () const const |
| WId | effectiveWinId () const const |
| WId | winId () const const |
| bool | acceptDrops () const const |
| bool | autoFillBackground () const const |
| bool | hasEditFocus () const const |
| bool | hasFocus () const const |
| virtual bool | hasHeightForWidth () const const |
| bool | hasMouseTracking () const const |
| bool | hasTabletTracking () const const |
| bool | isActiveWindow () const const |
| bool | isAncestorOf (const QWidget *child) const const |
| bool | isEnabled () const const |
| bool | isEnabledTo (const QWidget *ancestor) const const |
| bool | isFullScreen () const const |
| bool | isHidden () const const |
| bool | isMaximized () const const |
| bool | isMinimized () const const |
| bool | isModal () const const |
| bool | isTopLevel () const const |
| bool | isVisible () const const |
| bool | isVisibleTo (const QWidget *ancestor) const const |
| bool | isWindow () const const |
| bool | isWindowModified () const const |
| bool | testAttribute (Qt::WidgetAttribute attribute) const const |
| bool | underMouse () const const |
| bool | updatesEnabled () const const |
| const QFont & | font () const const |
| const QPalette & | palette () const const |
| const QRect & | geometry () const const |
| int | height () const const |
| virtual int | heightForWidth (int w) const const |
| int | maximumHeight () const const |
| int | maximumWidth () const const |
| int | minimumHeight () const const |
| int | minimumWidth () const const |
| int | toolTipDuration () const const |
| int | width () const const |
| int | x () const const |
| int | y () const const |
| qreal | windowOpacity () const const |
| void | ensurePolished () const const |
Public Member Functions inherited from QObject | |
| QBindable< QString > | bindableObjectName () |
| QObject (QObject *parent) | |
| QT_NO_CONTEXTLESS_CONNECT QT_NO_CONTEXTLESS_CONNECT | |
| QT_NO_NARROWING_CONVERSIONS_IN_CONNECT QT_NO_NARROWING_CONVERSIONS_IN_CONNECT | |
| Q_CLASSINFO (Name, Value) | |
| Q_EMIT Q_EMIT | |
| Q_ENUM (...) | |
| Q_ENUMS (...) | |
| Q_ENUM_NS (...) | |
| Q_FLAG (...) | |
| Q_FLAGS (...) | |
| Q_FLAG_NS (...) | |
| Q_GADGET Q_GADGET | |
| Q_GADGET_EXPORT (EXPORT_MACRO) | |
| Q_INTERFACES (...) | |
| Q_INVOKABLE Q_INVOKABLE | |
| Q_MOC_INCLUDE Q_MOC_INCLUDE | |
| Q_NAMESPACE Q_NAMESPACE | |
| Q_NAMESPACE_EXPORT (EXPORT_MACRO) | |
| Q_OBJECT Q_OBJECT | |
| Q_PROPERTY (...) | |
| Q_REVISION Q_REVISION | |
| Q_SET_OBJECT_NAME (Object) | |
| Q_SIGNAL Q_SIGNAL | |
| Q_SIGNALS Q_SIGNALS | |
| Q_SLOT Q_SLOT | |
| Q_SLOTS Q_SLOTS | |
| T | qobject_cast (QObject *object) |
| T | qobject_cast (const QObject *object) |
| bool | blockSignals (bool block) |
| bool | moveToThread (QThread *targetThread) |
| bool | setProperty (const char *name, QVariant &&value) |
| bool | setProperty (const char *name, const QVariant &value) |
| int | startTimer (int interval, Qt::TimerType timerType) |
| int | startTimer (std::chrono::nanoseconds interval, Qt::TimerType timerType) |
| void | deleteLater () |
| void | destroyed (QObject *obj) |
| void | installEventFilter (QObject *filterObj) |
| void | killTimer (Qt::TimerId id) |
| void | killTimer (int id) |
| void | objectNameChanged (const QString &objectName) |
| void | removeEventFilter (QObject *obj) |
| void | setObjectName (QAnyStringView name) |
| void | setObjectName (const QString &name) |
| void | setParent (QObject *parent) |
| QList< QByteArray > | dynamicPropertyNames () const const |
| QList< T > | findChildren (QAnyStringView name, Qt::FindChildOptions options) const const |
| QList< T > | findChildren (Qt::FindChildOptions options) const const |
| QList< T > | findChildren (const QRegularExpression &re, Qt::FindChildOptions options) const const |
| QMetaObject::Connection | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const const |
| QObject * | parent () const const |
| QString | objectName () const const |
| QThread * | thread () const const |
| QVariant | property (const char *name) const const |
| T | findChild (QAnyStringView name, Qt::FindChildOptions options) const const |
| T | findChild (Qt::FindChildOptions options) const const |
| bool | disconnect (const QObject *receiver, const char *method) const const |
| bool | disconnect (const char *signal, const QObject *receiver, const char *method) const const |
| bool | inherits (const char *className) const const |
| bool | isQuickItemType () const const |
| bool | isWidgetType () const const |
| bool | isWindowType () const const |
| bool | signalsBlocked () const const |
| virtual const QMetaObject * | metaObject () const const |
| const QObjectList & | children () const const |
| void | dumpObjectInfo () const const |
| void | dumpObjectTree () const const |
Public Member Functions inherited from QPaintDevice | |
| bool | paintingActive () const const |
| int | colorCount () const const |
| int | depth () const const |
| int | height () const const |
| int | heightMM () const const |
| int | logicalDpiX () const const |
| int | logicalDpiY () const const |
| int | physicalDpiX () const const |
| int | physicalDpiY () const const |
| int | width () const const |
| int | widthMM () const const |
| qreal | devicePixelRatio () const const |
| qreal | devicePixelRatioF () const const |
Public Member Functions inherited from swift::gui::CEnableForDockWidgetInfoArea | |
| CDockWidgetInfoArea * | getDockWidgetInfoArea () const |
| Corresponding dockable widget in info area. | |
| bool | hasDockWidgetArea () const |
| Has dock area? | |
| CInfoArea * | getParentInfoArea () const |
| The parent info area. | |
| bool | isParentDockWidgetFloating () const |
| Is the parent dockable widget floating? | |
| bool | isVisibleWidget () const |
| Visible widget. More... | |
| CEnableForFramelessWindow * | mainApplicationWindow () const |
| Main application window if any. | |
| QWidget * | mainApplicationWindowWidget () const |
| Main application window widget if any. | |
| void | displayMyself () |
| Display myself. | |
Public Member Functions inherited from swift::gui::models::ISelectionModel< T::ContainerType > | |
| virtual | ~ISelectionModel () |
| Destructor. | |
Additional Inherited Members | |
Public Types inherited from swift::gui::views::CViewBase< models::CServerListModel > | |
| using | ModelClass = models::CServerListModel |
| Model type. | |
| using | ContainerType = typename T::ContainerType |
| Model container type. | |
| using | ObjectType = typename T::ObjectType |
| Model container element type. | |
Public Types inherited from swift::gui::views::CViewBaseNonTemplate | |
| enum | ResizeMode { ResizingAuto , ResizingOnce , PresizeSubset , ResizingAlways , ResizingOff } |
| Resize mode, when to resize rows / columns. More... | |
| enum | RowsResizeMode { Interactive , Content } |
| How rows are resized, makes sense when. More... | |
| enum | MenuFlag { MenuNone = 0 , MenuClear = 1 << 0 , MenuRemoveSelectedRows = 1 << 1 , MenuRefresh = 1 << 2 , MenuBackend = 1 << 3 , MenuDisplayAutomatically = 1 << 4 , MenuDisplayAutomaticallyAndRefresh = MenuDisplayAutomatically | MenuRefresh , MenuFilter = 1 << 5 , MenuMaterializeFilter = 1 << 6 , MenuSave = 1 << 7 , MenuLoad = 1 << 8 , MenuToggleSelectionMode = 1 << 9 , MenuOrderable = 1 << 10 , MenuCopy = 1 << 11 , MenuPaste = 1 << 12 , MenuCut = 1 << 13 , MenuFont = 1 << 14 , MenuLoadAndSave = MenuLoad | MenuSave , MenuDefault = MenuToggleSelectionMode | MenuDisplayAutomaticallyAndRefresh | MenuFont | MenuClear , MenuDefaultNoClear = MenuToggleSelectionMode | MenuDisplayAutomaticallyAndRefresh | MenuFont , MenuDefaultDbViews = MenuToggleSelectionMode | MenuBackend | MenuFont , MenuHighlightStashed = 1 << 15 , MenuCanStashModels = 1 << 16 , MenuDisableModelsTemp = 1 << 17 , MenuStashing = MenuHighlightStashed | MenuCanStashModels } |
| Menu flags. More... | |
Public Types inherited from QAbstractItemView | |
| enum | CursorAction |
| enum | DragDropMode |
| enum | DropIndicatorPosition |
| enum | EditTrigger |
| enum | ScrollHint |
| enum | ScrollMode |
| enum | SelectionBehavior |
| enum | SelectionMode |
| enum | State |
Public Types inherited from QAbstractScrollArea | |
| enum | SizeAdjustPolicy |
Public Types inherited from QFrame | |
| enum | Shadow |
| enum | Shape |
| enum | StyleMask |
Public Types inherited from QWidget | |
| enum | RenderFlag |
Public Types inherited from QObject | |
| enum | TimerId |
Public Types inherited from QPaintDevice | |
| enum | PaintDeviceMetric |
Public Slots inherited from swift::gui::views::CViewBaseNonTemplate | |
| virtual void | resizeToContents () |
| Resize to contents, strategy depends on container size. | |
| virtual void | fullResizeToContents () |
| Full resizing to content, might be slow. More... | |
| void | rowsResizeModeToInteractive () |
| Init as interactive, as this allows manually resizing. | |
| void | rowsResizeModeToContent () |
| Resize mode to content. More... | |
| void | rowsResizeModeBasedOnThreshold (int elements) |
| Set content/interactive mode based on ResizeRowsToContentThreshold. | |
| int | showLoadIndicator (int containerSizeDependent=-1, std::chrono::milliseconds timeout=std::chrono::milliseconds { 0 }, bool processEvents=true) |
| Show loading indicator. More... | |
| int | showLoadIndicatorWithTimeout (std::chrono::milliseconds timeout=std::chrono::milliseconds { 0 }, bool processEvents=true) |
| Show loading indicator which can time out. | |
| void | onModelChanged () |
| Underlying model changed. | |
| void | hideLoadIndicator (int loadingId=-1) |
| Hide loading indicator. | |
| void | hideLoadIndicatorForced () |
| Parameterless version of hideLoadIndicator. | |
Signals inherited from swift::gui::views::CViewBaseNonTemplate | |
| void | requestUpdate () |
| Ask for new data from currently loaded data. | |
| void | requestNewBackendData () |
| Load data from backend (where it makes sense) | |
| void | loadIndicatorVisibilityChanged (bool visible) |
| Load indicator's visibility has been changed. | |
| void | asyncUpdateFinished () |
| Asynchronous update finished. | |
| void | modelDataChanged (int count, bool withFilter) |
| Model data changed. | |
| void | modelDataChangedDigest (int count, bool withFilter) |
| Model data changed,. | |
| void | modelChanged () |
| Model bas been changed (means data in view have been changed) | |
| void | objectChanged (const swift::misc::CVariant &object, const swift::misc::CPropertyIndex &changedIndex) |
| Single object was changed in model. | |
| void | objectClicked (const swift::misc::CVariant &object) |
| Object has been clicked. | |
| void | objectDoubleClicked (const swift::misc::CVariant &object) |
| Object has been double clicked. | |
| void | objectSelected (const swift::misc::CVariant &object) |
| Object has been selected. | |
| void | objectsDeleted (const swift::misc::CVariant &objectContainer) |
| Objects deleted from model. | |
| void | jsonLoadCompleted (const swift::misc::CStatusMessage &msg) |
| JSON data load from disk completed, the swift::misc::CStatusMessage represents the success. | |
Static Public Member Functions inherited from QWidget | |
| QWidget * | createWindowContainer (QWindow *window, QWidget *parent, Qt::WindowFlags flags) |
| QWidget * | find (WId id) |
| QWidget * | keyboardGrabber () |
| QWidget * | mouseGrabber () |
| void | setTabOrder (QWidget *first, QWidget *second) |
| void | setTabOrder (std::initializer_list< QWidget * > widgets) |
Static Public Member Functions inherited from QObject | |
| QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, Functor functor) |
| QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type) |
| QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type) |
| QMetaObject::Connection | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
| QMetaObject::Connection | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
| QString | tr (const char *sourceText, const char *disambiguation, int n) |
| bool | disconnect (const QMetaObject::Connection &connection) |
| bool | disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method) |
| bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
| bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
Static Public Member Functions inherited from QPaintDevice | |
| int | encodeMetricF (QPaintDevice::PaintDeviceMetric metric, double value) |
Public Attributes inherited from QAbstractItemView | |
| typedef | EditTriggers |
| MoveUp | |
| MoveDown | |
| MoveLeft | |
| MoveRight | |
| MoveHome | |
| MoveEnd | |
| MovePageUp | |
| MovePageDown | |
| MoveNext | |
| MovePrevious | |
| NoDragDrop | |
| DragOnly | |
| DropOnly | |
| DragDrop | |
| InternalMove | |
| OnItem | |
| AboveItem | |
| BelowItem | |
| OnViewport | |
| NoEditTriggers | |
| CurrentChanged | |
| DoubleClicked | |
| SelectedClicked | |
| EditKeyPressed | |
| AnyKeyPressed | |
| AllEditTriggers | |
| EnsureVisible | |
| PositionAtTop | |
| PositionAtBottom | |
| PositionAtCenter | |
| ScrollPerItem | |
| ScrollPerPixel | |
| SelectItems | |
| SelectRows | |
| SelectColumns | |
| NoSelection | |
| SingleSelection | |
| MultiSelection | |
| ExtendedSelection | |
| ContiguousSelection | |
| NoState | |
| DraggingState | |
| DragSelectingState | |
| EditingState | |
| ExpandingState | |
| CollapsingState | |
| AnimatingState | |
Public Attributes inherited from QAbstractScrollArea | |
| AdjustIgnored | |
| AdjustToContentsOnFirstShow | |
| AdjustToContents | |
Public Attributes inherited from QFrame | |
| Plain | |
| Raised | |
| Sunken | |
| NoFrame | |
| Box | |
| Panel | |
| WinPanel | |
| HLine | |
| VLine | |
| StyledPanel | |
| Shadow_Mask | |
| Shape_Mask | |
Public Attributes inherited from QWidget | |
| typedef | RenderFlags |
| DrawWindowBackground | |
| DrawChildren | |
| IgnoreMask | |
Public Attributes inherited from QObject | |
| typedef | QObjectList |
| Invalid | |
Public Attributes inherited from QPaintDevice | |
| PdmWidth | |
| PdmHeight | |
| PdmWidthMM | |
| PdmHeightMM | |
| PdmNumColors | |
| PdmDepth | |
| PdmDpiX | |
| PdmDpiY | |
| PdmPhysicalDpiX | |
| PdmPhysicalDpiY | |
| PdmDevicePixelRatio | |
| PdmDevicePixelRatioScaled | |
| PdmDevicePixelRatioF_EncodedA | |
| PdmDevicePixelRatioF_EncodedB | |
Static Public Attributes inherited from swift::gui::views::CViewBaseNonTemplate | |
| static constexpr int | ASyncRowsCountThreshold = 50 |
| When (row count) to use asynchronous updates. | |
| static constexpr int | ResizeSubsetThreshold = 250 |
| When to use pre-sizing with random elements. | |
| static constexpr int | ResizeRowsToContentThreshold = 20 |
| When to use rows resizing (which is slow) More... | |
Protected Member Functions inherited from swift::gui::views::CViewBase< models::CServerListModel > | |
| CViewBase (QWidget *parent, ModelClass *model=nullptr) | |
| Constructor. | |
| void | setSortIndicator () |
| Set the search indicator based on model. | |
| void | standardInit (ModelClass *model=nullptr) |
| Standard initialization. | |
| virtual swift::misc::CStatusMessage | modifyLoadedJsonData (ContainerType &data) const |
| Modify JSON data loaded in swift::gui::views::CViewBaseNonTemplate::loadJson. | |
| virtual swift::misc::CStatusMessage | validateLoadedJsonData (const ContainerType &data) const |
| Verify JSON data loaded in swift::gui::views::CViewBaseNonTemplate::loadJson. | |
| virtual void | jsonLoadedAndModelUpdated (const ContainerType &data) |
| In swift::gui::views::CViewBaseNonTemplate::loadJson the view has been updated because of loaded JSON data. More... | |
| virtual void | customMenu (menus::CMenuActions &menuActions) |
| Method creating the menu. More... | |
| virtual swift::misc::CStatusMessage | loadJsonFile (const QString &fileName) |
| Method creating the menu. More... | |
| virtual void | displayContainerAsJsonPopup (bool selectedOnly) |
| Display the container as JSON popup. | |
| virtual bool | reachedResizeThreshold (int containrerSize=-1) const |
| Skip resizing because of size? More... | |
| virtual void | performModeBasedResizeToContent () |
| Perform resizing (no presizing) / non slot method for template. More... | |
| virtual int | performUpdateContainer (const swift::misc::CVariant &variant, bool sort, bool resize) |
| Helper method with template free signature. More... | |
| virtual void | updateSortIndicator () |
| Set the sort indicator to the current sort column. More... | |
| virtual void | mouseOverCallback (const QModelIndex &index, bool mouseOver) |
| From delegate indicating we are in mouse over state. More... | |
| virtual void | drawDropIndicator (bool indicator) |
| Draw drop indicator. More... | |
| virtual void | copy () |
| Clipboard cut/copy/paste. More... | |
| virtual void | cut () |
| Clipboard cut/copy/paste. More... | |
| virtual void | paste () |
| Clipboard cut/copy/paste. More... | |
| virtual void | displayJsonPopup () |
| Display JSON data. More... | |
| virtual void | displaySelectedJsonPopup () |
| Display JSON data. More... | |
| virtual bool | filterDialogFinished (int status) |
| Filter dialog finished. More... | |
| virtual bool | filterWidgetChangedFilter (bool enabled) |
| Filter changed in filter widget. More... | |
| virtual void | removeFilter () |
| Remove filter. More... | |
| virtual void | onClicked (const QModelIndex &index) |
| Remove filter. More... | |
| virtual void | onDoubleClicked (const QModelIndex &index) |
| Index double clicked. More... | |
| virtual void | onRowSelected (const QModelIndex &index) |
| Row selected. More... | |
| virtual swift::misc::CStatusMessage | loadJson (const QString &directory={}) |
| Load JSON. More... | |
| virtual swift::misc::CStatusMessage | saveJson (bool selectedOnly=false, const QString &directory={}) |
| Save JSON. More... | |
Protected Member Functions inherited from swift::gui::views::CViewBaseNonTemplate | |
| CViewBaseNonTemplate (QWidget *parent) | |
| Constructor. | |
| virtual | ~CViewBaseNonTemplate () |
| Destructor. | |
| virtual bool | isResizeConditionMet (int containerSize=-1) const |
| Resize or skip resize? | |
| int | getPresizeRandomElementsSize (int containerSize=-1) const |
| Calculate presize count. | |
| void | centerLoadIndicator () |
| Center / re-center load indicator. | |
| void | init () |
| Init default values. | |
| QString | getFileDialogFileName (bool load) const |
| Default file for load/save operations. | |
| menus::CMenuActions | initMenuActions (MenuFlag menu) |
| Init menu actions. | |
| void | saveJsonAction () |
| Save JSON for action/menu, void return signatur. | |
| void | saveSelectedJsonAction () |
| Save JSON for action/menu, void return signatur. | |
| void | loadJsonAction () |
| Load JSON for action/menu, void return signatur. | |
| void | displayFilterDialog () |
| Display the filter dialog. | |
| void | settingsChanged () |
| Settings have been changed. | |
| void | selectAll () |
| Select all rows. | |
| virtual void | rememberLastJsonDirectory (const QString &selectedFileOrDir) |
| JSON directory. More... | |
| virtual QString | getRememberedLastJsonDirectory () const |
| JSON directory. More... | |
| void | triggerReload () |
| Trigger reload from backend by signal requestUpdate();. | |
| void | triggerReloadFromBackend () |
| Trigger reload from backend by signal requestNewBackendData() | |
| void | showVerticalHeader () |
| Vertical header. | |
| components::CTextEditDialog * | textEditDialog () |
| Init text edit dialog if required and return pointer to it. | |
| virtual void | resizeEvent (QResizeEvent *event) |
| virtual void | dragEnterEvent (QDragEnterEvent *event) |
| virtual void | dragMoveEvent (QDragMoveEvent *event) |
| virtual void | dragLeaveEvent (QDragLeaveEvent *event) |
| void | setMultiSelection () |
| Change selection modes. | |
| void | setExtendedSelection () |
| Change selection modes. | |
| void | setSingleSelection () |
| Change selection modes. | |
Protected Member Functions inherited from QTableView | |
| virtual QModelIndex | moveCursor (QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) override |
| void | columnCountChanged (int oldCount, int newCount) |
| void | columnMoved (int column, int oldIndex, int newIndex) |
| void | columnResized (int column, int oldWidth, int newWidth) |
| virtual void | currentChanged (const QModelIndex ¤t, const QModelIndex &previous) override |
| virtual void | paintEvent (QPaintEvent *event) override |
| void | rowCountChanged (int oldCount, int newCount) |
| void | rowMoved (int row, int oldIndex, int newIndex) |
| void | rowResized (int row, int oldHeight, int newHeight) |
| virtual void | scrollContentsBy (int dx, int dy) override |
| virtual void | selectionChanged (const QItemSelection &selected, const QItemSelection &deselected) override |
| virtual void | setSelection (const QRect &rect, QItemSelectionModel::SelectionFlags flags) override |
| virtual void | timerEvent (QTimerEvent *event) override |
| virtual void | updateGeometries () override |
| virtual QModelIndexList | selectedIndexes () const const override |
| virtual QRegion | visualRegionForSelection (const QItemSelection &selection) const const override |
| virtual QSize | viewportSizeHint () const const override |
| virtual bool | isIndexHidden (const QModelIndex &index) const const override |
| virtual int | horizontalOffset () const const override |
| virtual int | sizeHintForColumn (int column) const const override |
| virtual int | sizeHintForRow (int row) const const override |
| virtual int | verticalOffset () const const override |
| virtual void | initViewItemOption (QStyleOptionViewItem *option) const const override |
Protected Member Functions inherited from QAbstractItemView | |
| virtual bool | edit (const QModelIndex &index, QAbstractItemView::EditTrigger trigger, QEvent *event) |
| virtual bool | event (QEvent *event) override |
| virtual bool | eventFilter (QObject *object, QEvent *event) override |
| virtual bool | focusNextPrevChild (bool next) override |
| virtual bool | viewportEvent (QEvent *event) override |
| virtual void | closeEditor (QWidget *editor, QAbstractItemDelegate::EndEditHint hint) |
| virtual void | commitData (QWidget *editor) |
| virtual void | dataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight, const QList< int > &roles) |
| virtual void | editorDestroyed (QObject *editor) |
| void | executeDelayedItemsLayout () |
| virtual void | focusInEvent (QFocusEvent *event) override |
| virtual void | focusOutEvent (QFocusEvent *event) override |
| virtual void | inputMethodEvent (QInputMethodEvent *event) override |
| virtual void | mouseDoubleClickEvent (QMouseEvent *event) override |
| virtual void | mouseMoveEvent (QMouseEvent *event) override |
| virtual void | mousePressEvent (QMouseEvent *event) override |
| virtual void | mouseReleaseEvent (QMouseEvent *event) override |
| virtual void | rowsAboutToBeRemoved (const QModelIndex &parent, int start, int end) |
| virtual void | rowsInserted (const QModelIndex &parent, int start, int end) |
| void | scheduleDelayedItemsLayout () |
| void | scrollDirtyRegion (int dx, int dy) |
| void | setDirtyRegion (const QRegion ®ion) |
| void | setState (QAbstractItemView::State state) |
| virtual void | startDrag (Qt::DropActions supportedActions) |
| QAbstractItemView::DropIndicatorPosition | dropIndicatorPosition () const const |
| QAbstractItemView::State | state () const const |
| virtual QItemSelectionModel::SelectionFlags | selectionCommand (const QModelIndex &index, const QEvent *event) const const |
| QPoint | dirtyRegionOffset () const const |
Protected Member Functions inherited from QAbstractScrollArea | |
| virtual void | contextMenuEvent (QContextMenuEvent *e) override |
| void | setViewportMargins (const QMargins &margins) |
| void | setViewportMargins (int left, int top, int right, int bottom) |
| virtual void | wheelEvent (QWheelEvent *e) override |
| QMargins | viewportMargins () const const |
Protected Member Functions inherited from QFrame | |
| virtual void | changeEvent (QEvent *ev) override |
| virtual void | initStyleOption (QStyleOptionFrame *option) const const |
Protected Member Functions inherited from QWidget | |
| bool | focusNextChild () |
| bool | focusPreviousChild () |
| virtual bool | nativeEvent (const QByteArray &eventType, void *message, qintptr *result) |
| virtual void | actionEvent (QActionEvent *event) |
| virtual void | closeEvent (QCloseEvent *event) |
| void | create (WId window, bool initializeWindow, bool destroyOldWindow) |
| void | destroy (bool destroyWindow, bool destroySubWindows) |
| virtual void | enterEvent (QEnterEvent *event) |
| virtual void | hideEvent (QHideEvent *event) |
| virtual void | keyReleaseEvent (QKeyEvent *event) |
| virtual void | leaveEvent (QEvent *event) |
| virtual void | moveEvent (QMoveEvent *event) |
| virtual void | showEvent (QShowEvent *event) |
| virtual void | tabletEvent (QTabletEvent *event) |
| void | updateMicroFocus (Qt::InputMethodQuery query) |
| virtual int | metric (QPaintDevice::PaintDeviceMetric m) const const override |
| virtual void | initPainter (QPainter *painter) const const override |
Protected Member Functions inherited from QObject | |
| virtual void | childEvent (QChildEvent *event) |
| virtual void | connectNotify (const QMetaMethod &signal) |
| virtual void | customEvent (QEvent *event) |
| virtual void | disconnectNotify (const QMetaMethod &signal) |
| QObject * | sender () const const |
| bool | isSignalConnected (const QMetaMethod &signal) const const |
| int | receivers (const char *signal) const const |
| int | senderSignalIndex () const const |
Protected Member Functions inherited from swift::gui::CEnableForDockWidgetInfoArea | |
| CEnableForDockWidgetInfoArea (CDockWidgetInfoArea *parentInfoArea=nullptr) | |
| Constructor. More... | |
| virtual | ~CEnableForDockWidgetInfoArea () |
| Destructor. | |
Protected Attributes inherited from swift::gui::views::CViewBase< models::CServerListModel > | |
| ModelClass * | m_model |
| corresponding model | |
Protected Attributes inherited from swift::gui::views::CViewBaseNonTemplate | |
| ResizeMode | m_resizeMode = PresizeSubset |
| mode | |
| RowsResizeMode | m_rowResizeMode = Interactive |
| row resize mode for row height | |
| SelectionMode | m_originalSelectionMode = this->selectionMode() |
| Selection mode set. | |
| int | m_resizeCount = 0 |
| flag / counter, how many resize activities | |
| int | m_skipResizeThreshold = 40 |
| when to skip resize (rows count) | |
| int | m_resizeAutoNthTime = 1 |
| with ResizeAuto, resize every n-th time | |
| std::chrono::milliseconds | m_loadIndicatorTimeoutDefault { 30 * 1000 } |
| default time for timeout | |
| bool | m_forceStretchLastColumnWhenResized |
| a small table might (few columns) fail stretching, force again More... | |
| bool | m_showingLoadIndicator = false |
| showing loading indicator | |
| bool | m_enabledLoadIndicator = false |
| loading indicator enabled/disabled | |
| bool | m_acceptClickSelection = false |
| clicked | |
| bool | m_acceptRowSelection = false |
| selection changed | |
| bool | m_acceptDoubleClickSelection = false |
| double clicked | |
| bool | m_displayAutomatically = true |
| display directly when loaded | |
| bool | m_enableDeleteSelectedRows = false |
| selected rows can be deleted | |
| bool | m_dropIndicator = false |
| drop indicator | |
| bool | m_forceColumnsToMaxSize = true |
| force that columns are extended to full viewport width | |
| bool | m_allowCacheFileJson = true |
| allow Cache format JSON to be loaded | |
| QWidget * | m_filterWidget = nullptr |
| filter widget or dialog | |
| Menu | m_menus = MenuDefault |
| Default menu settings. | |
| menus::IMenuDelegate * | m_menu = nullptr |
| custom menu if any | |
| menus::CFontMenu * | m_fontMenu = nullptr |
| font menu if applicable | |
| CLoadIndicator * | m_loadIndicator = nullptr |
| load indicator if needed | |
| components::CTextEditDialog * | m_textEditDialog = nullptr |
| text edit dialog | |
| QMap< MenuFlag, menus::CMenuActions > | m_menuFlagActions |
| initialized actions for menu flag (enum) | |
| QString | m_saveFileName |
| save file name (JSON) | |
| swift::misc::CDirectories::ColumnIndex | m_dirSettingsIndex |
| allows to set more specialized directories //!< remember last JSON directory, having this member allows to have specific dir More... | |
| swift::misc::CSetting< swift::misc::settings::TDirectorySettings > | m_dirSettings |
| directory for load/save More... | |
| swift::misc::CSettingReadOnly< settings::TGeneralGui > | m_guiSettings |
| general GUI settings More... | |
Protected Attributes inherited from swift::gui::CEnableForDockWidgetInfoArea | |
| CDockWidgetInfoArea * | m_parentDockableInfoArea = nullptr |
| my parent dockable widget | |
| swift::misc::CConnectionGuard | m_connections |
| connections | |
Properties inherited from swift::gui::views::CViewBaseNonTemplate | |
| bool | isShowingLoadIndicator |
| Load indicator property allows using in stylesheet. | |
Properties inherited from QTableView | |
| cornerButtonEnabled | |
| gridStyle | |
| showGrid | |
| sortingEnabled | |
| wordWrap | |
Properties inherited from QAbstractItemView | |
| alternatingRowColors | |
| autoScroll | |
| autoScrollMargin | |
| defaultDropAction | |
| dragDropMode | |
| dragDropOverwriteMode | |
| dragEnabled | |
| editTriggers | |
| horizontalScrollMode | |
| iconSize | |
| selectionBehavior | |
| selectionMode | |
| showDropIndicator | |
| tabKeyNavigation | |
| textElideMode | |
| updateThreshold | |
| verticalScrollMode | |
Properties inherited from QAbstractScrollArea | |
| horizontalScrollBarPolicy | |
| sizeAdjustPolicy | |
| verticalScrollBarPolicy | |
Properties inherited from QFrame | |
| frameRect | |
| frameShadow | |
| frameShape | |
| frameWidth | |
| lineWidth | |
| midLineWidth | |
Properties inherited from QWidget | |
| acceptDrops | |
| accessibleDescription | |
| accessibleIdentifier | |
| accessibleName | |
| autoFillBackground | |
| baseSize | |
| childrenRect | |
| childrenRegion | |
| contextMenuPolicy | |
| cursor | |
| enabled | |
| focus | |
| focusPolicy | |
| font | |
| frameGeometry | |
| frameSize | |
| fullScreen | |
| geometry | |
| height | |
| inputMethodHints | |
| isActiveWindow | |
| layoutDirection | |
| locale | |
| maximized | |
| maximumHeight | |
| maximumSize | |
| maximumWidth | |
| minimized | |
| minimumHeight | |
| minimumSize | |
| minimumSizeHint | |
| minimumWidth | |
| modal | |
| mouseTracking | |
| normalGeometry | |
| palette | |
| pos | |
| rect | |
| size | |
| sizeHint | |
| sizeIncrement | |
| sizePolicy | |
| statusTip | |
| styleSheet | |
| tabletTracking | |
| toolTip | |
| toolTipDuration | |
| updatesEnabled | |
| visible | |
| whatsThis | |
| width | |
| windowFilePath | |
| windowFlags | |
| windowIcon | |
| windowIconText | |
| windowModality | |
| windowModified | |
| windowOpacity | |
| windowTitle | |
| x | |
| y | |
Properties inherited from QObject | |
| objectName | |
Network servers.
Definition at line 18 of file serverview.h.