void KstViewMatricesDialog::showViewMatricesDialog(const QString &matrixName) { KstMatrixPtr matrix; updateViewMatricesDialog(); KST::matrixList.lock().readLock(); matrix = *KST::matrixList.findTag(matrixName); KST::matrixList.lock().unlock(); if (matrix) { matrixSelector->setSelection(matrix); updateViewMatricesDialog(); show(); raise(); } }
void KstViewMatricesDialog::updateViewMatricesDialog() { QString matrix; matrixSelector->update(); matrix = matrixSelector->selectedMatrix(); _tableMatrices->setMatrix(matrix); updateViewMatricesDialog(matrix); }
void KstViewMatricesDialog::matrixChanged(const QString& matrix) { updateViewMatricesDialog(matrix); _tableMatrices->setMatrix(matrix); // // following two lines appear to be necessary to ensure a full update... // _tableMatrices->hide(); _tableMatrices->show(); _tableMatrices->update(); }
void KstViewMatricesDialogI::matrixChanged(const QString& matrix) { updateViewMatricesDialog(matrix); _tableMatrices->setMatrix(matrix); _tableMatrices->update(); }
void KstViewMatricesDialogI::showViewMatricesDialog() { updateViewMatricesDialog(); updateDefaults(0); show(); raise(); }