取消病历管理的滚动条
This commit is contained in:
parent
69828cbb54
commit
c5f64d5a6b
Binary file not shown.
@ -3,7 +3,7 @@
|
||||
#include <QVBoxLayout>
|
||||
#include <QGridLayout>
|
||||
#include <QDebug>
|
||||
|
||||
#include <QScrollBar>
|
||||
MedicalRecordManager::MedicalRecordManager(QWidget * parent):QWidget(parent)
|
||||
{
|
||||
init();
|
||||
@ -298,6 +298,8 @@ void MedicalRecordManager::initTable()
|
||||
font.setBold(false);
|
||||
m_tableWidget.horizontalHeader()->setFont(font);
|
||||
m_tableWidget.setFont(font);
|
||||
m_tableWidget.verticalScrollBar()->setDisabled(true); // 禁用滚动
|
||||
m_tableWidget.setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);//隐藏滚动条
|
||||
//设置全选按钮
|
||||
//connect(&m_tableWidget, SIGNAL(itemClicked(QTableWidgetItem *)), this, SLOT(slotCilclidItem(QTableWidgetItem *)), Qt::QueuedConnection);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user