Exemplo n.º 1
0
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();
  }
}
Exemplo n.º 2
0
void KstViewMatricesDialog::updateViewMatricesDialog() {
  QString matrix;

  matrixSelector->update();
  matrix = matrixSelector->selectedMatrix();
  _tableMatrices->setMatrix(matrix);
  updateViewMatricesDialog(matrix);
}
Exemplo n.º 3
0
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();
}
Exemplo n.º 4
0
void KstViewMatricesDialogI::matrixChanged(const QString& matrix) {
  updateViewMatricesDialog(matrix);
  _tableMatrices->setMatrix(matrix);
  _tableMatrices->update();
}
Exemplo n.º 5
0
void KstViewMatricesDialogI::showViewMatricesDialog() {
  updateViewMatricesDialog();
  updateDefaults(0);
  show();
  raise();
}