调整部分样式
This commit is contained in:
+10
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user