调整部分样式

This commit is contained in:
2026-05-11 09:11:30 +08:00
parent e40a72cd7c
commit c8a5a121c9
31 changed files with 2763 additions and 660 deletions
+10 -1
View File
@@ -44,7 +44,9 @@ BarcodeEditor::BarcodeEditor(QWidget *parent) :
ui(new Ui::BarcodeEditor)
{
ui->setupUi(this);
setWindowModality(Qt::NonModal);
applyStyleSheet();
m_dateFormatEditor = new DateFormatEditor();
m_dateReplaceEditor = new DateReplaceEditor();
m_counterEditor = new CounterEditor();
@@ -382,6 +384,13 @@ bool BarcodeEditor::eventFilter(QObject *obj, QEvent *event)
return false;
}
void BarcodeEditor::applyStyleSheet()
{
// QFile stylesFile(":/styles.qss");
// QTextStream ts(&stylesFile);
// setStyleSheet(ts.readAll());
}
void BarcodeEditor::onContentChanged(QString content)
{
const DateItemModel& dateVm = m_vm.dateViewModel;