[Kst] extragear/graphics/kst/kst
Rick Chern
rchern at interchange.ubc.ca
Tue Jul 19 03:03:55 CEST 2005
SVN commit 436094 by rchern:
Some more useful defaults for images
M +5 -0 kstcsddialog_i.cpp
M +6 -1 kstimagedialog_i.cpp
--- trunk/extragear/graphics/kst/kst/kstcsddialog_i.cpp #436093:436094
@@ -130,6 +130,11 @@
QStringList palList = KPalette::getPaletteList();
palList.sort();
_palette->insertStringList(palList);
+ if (palList.contains("Kst Spectrum 1021")) {
+ _palette->setCurrentText("Kst Spectrum 1021");
+ } else if (palList.contains("Kst Grayscale 256")) {
+ _palette->setCurrentText("Kst Grayscale 256");
+ }
// update the curve placement widget
_curvePlacement->update();
--- trunk/extragear/graphics/kst/kst/kstimagedialog_i.cpp #436093:436094
@@ -184,11 +184,16 @@
QStringList palList = KPalette::getPaletteList();
palList.sort();
_palette->insertStringList(palList);
+ if (palList.contains("Kst Spectrum 1021")) {
+ _palette->setCurrentText("Kst Spectrum 1021");
+ } else if (palList.contains("Kst Grayscale 256")) {
+ _palette->setCurrentText("Kst Grayscale 256");
+ }
//some default values
_lowerZ->setText("0");
_upperZ->setText("100");
- _realTimeAutoThreshold->setChecked(false);
+ _realTimeAutoThreshold->setChecked(true);
//let the image be placed in plots
_curvePlacement->update();
More information about the Kst
mailing list