压力调节第一版
This commit is contained in:
+1
-29
@@ -416,8 +416,6 @@ void MainWidget::generateCharRamData()
|
||||
p_var->original = false;
|
||||
}
|
||||
|
||||
int j;
|
||||
|
||||
int width;
|
||||
if(p_var->bassAddr == -1){
|
||||
if(sysPara->para.flagOfModuleDecimal || sysPara->para.flagOfModuleHide)
|
||||
@@ -531,32 +529,6 @@ QList<QRect> MainWidget::variableItemsUpdate()
|
||||
return QList<QRect>();
|
||||
}
|
||||
|
||||
/*
|
||||
旧实现:
|
||||
int totalOfProcessedDots = 0;
|
||||
int totalOfDatetimeNumber = 0;
|
||||
int nbInvaliedDatetimePreview = 0;
|
||||
int nbClipDatetimePreview = 0;
|
||||
|
||||
QList<QRect> updateAreas;
|
||||
|
||||
auto items = pPicScene->items();
|
||||
for(auto i : items) {
|
||||
PicTextItem* item = dynamic_cast<PicTextItem*>(i);
|
||||
if(!item)
|
||||
continue;
|
||||
|
||||
...
|
||||
|
||||
auto boundingRect = pPicScene->itemsBoundingRect().toRect();
|
||||
QRect itemRect(item->pos().x() - boundingRect.x(), item->pos().y() - boundingRect.y(), img.width(), img.height());
|
||||
...
|
||||
|
||||
QRect intersectRect = itemRect.intersected(sceneRect);
|
||||
...
|
||||
}
|
||||
*/
|
||||
|
||||
int totalOfProcessedDots = 0;
|
||||
int totalOfDatetimeNumber = 0;
|
||||
int nbInvaliedDatetimePreview = 0;
|
||||
@@ -1204,7 +1176,7 @@ void MainWidget::initSheet()
|
||||
|
||||
ui.m_StopBtn->setStyleSheet(stopBtnSheet);
|
||||
|
||||
constexpr char* reclaimBtnNormalStyle = R"(
|
||||
const char* reclaimBtnNormalStyle = R"(
|
||||
QToolButton {
|
||||
padding: 16px 16px;
|
||||
border-radius: 6px;
|
||||
|
||||
Reference in New Issue
Block a user