Ref T362, utility function to display view count in tab

This commit is contained in:
Klaus Basan
2018-09-19 03:56:03 +02:00
parent bfd907e6e3
commit ebcdef6884
2 changed files with 14 additions and 0 deletions

View File

@@ -50,6 +50,7 @@ class QPaintEvent;
class QPoint;
class QShowEvent;
class QWidget;
class QTabWidget;
namespace BlackMisc { class CWorker; }
namespace BlackGui
@@ -708,6 +709,9 @@ namespace BlackGui
//! Drop actions
void setDropActions(Qt::DropActions dropActions) { Q_ASSERT(m_model); m_model->setDropActions(dropActions); }
//! Set a tab widget text based on row count, filter etc.
void setTabWidgetViewText(QTabWidget *tw, int index);
protected:
ModelClass *m_model = nullptr; //!< corresponding model