mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 02:35:33 +08:00
Allow columns with percentage width
This commit is contained in:
committed by
Mat Sutcliffe
parent
73d8cf392b
commit
7baf5f238e
@@ -301,6 +301,9 @@ namespace BlackGui
|
||||
//! Workaround as of https://stackoverflow.com/q/3433664/356726
|
||||
void setForceColumnsToMaxSize(bool force) { m_forceColumnsToMaxSize = force; }
|
||||
|
||||
//! Resize mode
|
||||
void setHorizontalHeaderSectionResizeMode(QHeaderView::ResizeMode mode);
|
||||
|
||||
//! Index of the directory we "remember"
|
||||
void setSettingsDirectoryIndex(BlackMisc::CDirectories::ColumnIndex directoryIndex) { m_dirSettingsIndex = directoryIndex; }
|
||||
|
||||
@@ -744,6 +747,10 @@ namespace BlackGui
|
||||
//! Set a tab widget text based on row count, filter etc.
|
||||
void setTabWidgetViewText(QTabWidget *tw, int index);
|
||||
|
||||
//! Set the widths based on the column percentages
|
||||
//! \sa CColumn::get
|
||||
void setPercentageColumnWidths();
|
||||
|
||||
protected:
|
||||
ModelClass *m_model = nullptr; //!< corresponding model
|
||||
|
||||
|
||||
Reference in New Issue
Block a user