CPU info scrollbars and button styling removed
This commit is contained in:
parent
b0dd282d92
commit
c5e64b42a2
|
@ -238,8 +238,6 @@ void CPUArgumentWidget::loadConfig()
|
|||
void CPUArgumentWidget::setupTable()
|
||||
{
|
||||
connect(mTable, SIGNAL(contextMenuSignal(QPoint)), this, SLOT(contextMenuSlot(QPoint)));
|
||||
mTable->verticalScrollBar()->setStyleSheet(ConfigVScrollBarStyle());
|
||||
mTable->horizontalScrollBar()->setStyleSheet(ConfigHScrollBarStyle());
|
||||
mTable->enableMultiSelection(false);
|
||||
mTable->setShowHeader(false);
|
||||
mTable->addColumnAt(0, "", false);
|
||||
|
|
|
@ -18,7 +18,6 @@ CPUInfoBox::CPUInfoBox(StdTable* parent) : StdTable(parent)
|
|||
setCellContent(3, 0, "");
|
||||
setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
|
||||
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
|
||||
horizontalScrollBar()->setStyleSheet(ConfigHScrollBarStyle());
|
||||
|
||||
int height = getHeight();
|
||||
setMinimumHeight(height);
|
||||
|
|
|
@ -57,11 +57,7 @@ CPUWidget::CPUWidget(QWidget* parent) : QWidget(parent), ui(new Ui::CPUWidget)
|
|||
upperScrollArea->setFrameShape(QFrame::NoFrame);
|
||||
upperScrollArea->setWidget(mGeneralRegs);
|
||||
|
||||
upperScrollArea->horizontalScrollBar()->setStyleSheet(ConfigHScrollBarStyle());
|
||||
upperScrollArea->verticalScrollBar()->setStyleSheet(ConfigVScrollBarStyle());
|
||||
|
||||
QPushButton* button_changeview = new QPushButton("", this);
|
||||
button_changeview->setStyleSheet("Text-align:left;padding: 4px;padding-left: 10px;");
|
||||
connect(button_changeview, SIGNAL(clicked()), mGeneralRegs, SLOT(onChangeFPUViewAction()));
|
||||
mGeneralRegs->SetChangeButton(button_changeview);
|
||||
|
||||
|
|
Loading…
Reference in New Issue