[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/graphics/kst/kst
From: Rick Chern <rchern () interchange ! ubc ! ca>
Date: 2005-07-19 1:03:55
Message-ID: 1121735035.022536.2059.nullmailer () svn ! kde ! org
[Download RAW message or body]
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();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic