mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-19 03:45:30 +08:00
Ref T362, utility function to display view count in tab
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user