[Kst] branches/work/kst/portto4/kst/src/libkstapp

Nicolas Brisset nicolas.brisset at eurocopter.com
Fri Oct 22 18:26:05 CEST 2010


SVN commit 1188561 by brisset:

Set window title according to type of contents.


 M  +5 -0      viewprimitivedialog.cpp  


--- branches/work/kst/portto4/kst/src/libkstapp/viewprimitivedialog.cpp #1188560:1188561
@@ -26,6 +26,11 @@
   : QDialog(parent), _doc(doc), _type(type) {
   _model = 0;
   setupUi(this);
+  if (_type == Scalar) {
+    setWindowTitle(tr("View Scalar Values"));
+  } else if (_type == String) {
+    setWindowTitle(tr("View String Values"));
+  }
   refresh();
 
   setAttribute(Qt::WA_DeleteOnClose);


More information about the Kst mailing list