mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-01 14:45:42 +08:00
Support for an empty column
This commit is contained in:
@@ -118,6 +118,9 @@ namespace BlackGui
|
||||
//! Get a standard integer value formatted column
|
||||
static CColumn standardInteger(const QString &headerName, const QString &toolTip, const BlackMisc::CPropertyIndex &propertyIndex, int alignment = CDefaultFormatter::alignRightVCenter());
|
||||
|
||||
//! An empty column
|
||||
static CColumn emptyColumn();
|
||||
|
||||
private:
|
||||
QString m_translationContext;
|
||||
QString m_columnName;
|
||||
@@ -220,6 +223,12 @@ namespace BlackGui
|
||||
//! Calculate the absolute width
|
||||
QList<int> calculateWidths(int totalWidth) const;
|
||||
|
||||
//! Insert an empty column
|
||||
void insertEmptyColumn();
|
||||
|
||||
//! Ending with an empty column
|
||||
bool endsWithEmptyColumn() const;
|
||||
|
||||
private:
|
||||
QList<CColumn> m_columns;
|
||||
QString m_translationContext; //!< for future usage
|
||||
|
||||
Reference in New Issue
Block a user