123156 【UKUI 3.1.4 走查】【设计】【备份还原】备份管理标题
This commit is contained in:
parent
2d0387e7d1
commit
0e3c96ab50
|
@ -48,6 +48,7 @@ BackupPointListDialog::BackupPointListDialog(QWidget *parent, bool isOnlyShowLoc
|
|||
m_tableWidget->verticalHeader()->setHidden(true); // 好像隐藏不掉
|
||||
m_tableWidget->verticalHeader()->setVisible(false); //左侧标题不可见
|
||||
m_tableWidget->verticalHeader()->setDefaultSectionSize(36); // 设置行高
|
||||
m_tableWidget->horizontalHeader()->setHighlightSections(false);
|
||||
m_tableWidget->setSelectionBehavior(QAbstractItemView::SelectRows);
|
||||
m_tableWidget->setSelectionMode(QAbstractItemView::SingleSelection);
|
||||
m_tableWidget->hideColumn(Column_Index::UUID);
|
||||
|
|
|
@ -65,10 +65,13 @@ void OperationLog::initFirstWidget()
|
|||
m_tableWidget->horizontalHeader()->resizeSection(Column_Index::Operation_Time, 190);
|
||||
m_tableWidget->horizontalHeader()->setTextElideMode(Qt::ElideRight);
|
||||
m_tableWidget->horizontalHeader()->setFixedHeight(36);
|
||||
m_tableWidget->horizontalHeader()->setHighlightSections(false);
|
||||
m_tableWidget->verticalHeader()->setHidden(true); // 好像隐藏不掉
|
||||
m_tableWidget->verticalHeader()->setVisible(false); //左侧标题不可见
|
||||
m_tableWidget->verticalHeader()->setDefaultSectionSize(36); // 设置行高
|
||||
m_tableWidget->setSelectionMode(QAbstractItemView::NoSelection);
|
||||
// m_tableWidget->setSelectionBehavior(QAbstractItemView::SelectRows);
|
||||
m_tableWidget->setFocusPolicy(Qt::NoFocus);
|
||||
m_tableWidget->setSortingEnabled(false); // 等录入完数据后再排序
|
||||
m_tableWidget->setAlternatingRowColors(true);
|
||||
m_tableWidget->setEditTriggers(QAbstractItemView::NoEditTriggers);
|
||||
|
|
Loading…
Reference in New Issue