cosmetics

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19452 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2007-08-12 12:44:42 +00:00
parent 6b229b2250
commit ed73dc21ad
2 changed files with 22 additions and 16 deletions

View File

@ -65,19 +65,25 @@ QMathMatrixDialog::QMathMatrixDialog(QMathMatrix * form)
columnsSB->setValue(5);
valignCO->setCurrentIndex(1);
connect(okPB, SIGNAL(clicked()),
this, SLOT(slotOK()));
connect(closePB, SIGNAL(clicked()),
this, SLOT(slotClose()));
connect(okPB, SIGNAL(clicked()), this, SLOT(slotOK()));
connect(closePB, SIGNAL(clicked()), this, SLOT(slotClose()));
connect( table, SIGNAL( rowsChanged(int) ), rowsSB, SLOT( setValue(int) ) );
connect( table, SIGNAL( colsChanged(int) ), columnsSB, SLOT( setValue(int) ) );
connect( rowsSB, SIGNAL( valueChanged(int) ), table, SLOT( setNumberRows(int) ) );
connect( columnsSB, SIGNAL( valueChanged(int) ), table, SLOT( setNumberColumns(int) ) );
connect( rowsSB, SIGNAL( valueChanged(int) ), this, SLOT( rowsChanged(int) ) );
connect( columnsSB, SIGNAL( valueChanged(int) ), this, SLOT( columnsChanged(int) ) );
connect( valignCO, SIGNAL( highlighted(const QString&) ), this, SLOT( change_adaptor() ) );
connect( halignED, SIGNAL( textChanged(const QString&) ), this, SLOT( change_adaptor() ) );
connect(table, SIGNAL(rowsChanged(int)),
rowsSB, SLOT(setValue(int)));
connect(table, SIGNAL(colsChanged(int)),
columnsSB, SLOT(setValue(int)));
connect(rowsSB, SIGNAL(valueChanged(int)),
table, SLOT(setNumberRows(int)));
connect(columnsSB, SIGNAL(valueChanged(int)),
table, SLOT(setNumberColumns(int)));
connect(rowsSB, SIGNAL(valueChanged(int)),
this, SLOT(rowsChanged(int)));
connect(columnsSB, SIGNAL(valueChanged(int)),
this, SLOT(columnsChanged(int)) );
connect(valignCO, SIGNAL(highlighted(const QString&)),
this, SLOT(change_adaptor()));
connect(halignED, SIGNAL(textChanged(const QString&)),
this, SLOT(change_adaptor()));
}

View File

@ -50,10 +50,10 @@ QSearchDialog::QSearchDialog(QSearch * form)
setupUi(this);
connect(closePB, SIGNAL(clicked()), form_, SLOT(slotClose()));
connect(findPB, SIGNAL(clicked()), this, SLOT(findClicked()));
connect(replacePB, SIGNAL(clicked()), this, SLOT(replaceClicked()));
connect(replaceallPB, SIGNAL(clicked()), this, SLOT(replaceallClicked()));
connect(findCO, SIGNAL(editTextChanged(const QString &)),
connect(findPB, SIGNAL(clicked()), this, SLOT(findClicked()));
connect(replacePB, SIGNAL(clicked()), this, SLOT(replaceClicked()));
connect(replaceallPB, SIGNAL(clicked()), this, SLOT(replaceallClicked()));
connect(findCO, SIGNAL(editTextChanged(const QString &)),
this, SLOT(findChanged()));
setFocusProxy(findCO);