1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-02-01 08:15:57 +00:00

don't need scale factor when render, we can scale the scene or the view.

This commit is contained in:
taipanromania
2008-10-09 09:58:18 +00:00
parent b0f9cfb532
commit fd45a1d277
4 changed files with 8 additions and 39 deletions

View File

@@ -59,7 +59,6 @@ MainWindow::MainWindow(QWidget* parent, Qt::WFlags fl)
connect(heightb, SIGNAL(valueChanged( int )), SLOT(on_generate_clicked()));
connect(widthb, SIGNAL(valueChanged( int )), SLOT(on_generate_clicked()));
connect(security, SIGNAL(valueChanged( int )), SLOT(on_generate_clicked()));
connect(scaleFactor, SIGNAL(valueChanged( int )), SLOT(on_generate_clicked()));
connect(bwidth, SIGNAL(valueChanged( int )), SLOT(on_generate_clicked()));
connect(codewords, SIGNAL(valueChanged( int )), SLOT(on_generate_clicked()));
connect(iwidth, SIGNAL(valueChanged( int )), SLOT(on_generate_clicked()));
@@ -89,7 +88,6 @@ void MainWindow::on_bgcolor_clicked()
void MainWindow::on_generate_clicked()
{
QString error;
m_bc.scaleFactor=scaleFactor->value();
m_bc.w=iwidth->value();
m_bc.h=iheight->value();
m_bc.bc.setText(text->toPlainText());