Commit 7e53476e authored by whitlocb's avatar whitlocb

1. Update translation input files.

2. Create new subset icon
3. Separate "Apply * to all plots" check boxes.



git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@16150 18c085ea-50e0-402c-830e-de6fd14e8384
parent 51d4312f
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
/* XPM */
static const char *subset_xpm[] = {
"16 16 10 1",
"= c None",
". c #1805EA",
"+ c #0C44C4",
"@ c #893192",
"# c #5A4CC8",
"$ c #2DEC92",
"% c #B581AB",
"& c #FD0606",
"* c #02FE02",
"- c #04E6D7",
"=======%%%%=====",
"======%&&&&&====",
"===$---%==%&&===",
"==$-=@%-$==%&&==",
"=$-=%&=$-$%%%&==",
"=-==%&=%+-..@&==",
"=-==%@#.+-=%.@==",
"=-==$+.+*-=%@.%=",
"=-$$*+.@--%&%##=",
"==--=#+-$$$%=##=",
"==*----$==*==+#=",
"==*$==++==*=+.%=",
"==*$==%.+%-+.%==",
"==$*$==%....%===",
"===$*$==*$======",
"====$***$======="
};
static const char * subset_xpm[] = {
"32 32 45 1",
" c None",
". c #000000",
"+ c #000F04",
"@ c #525252",
"# c #9A9A9A",
"$ c #CFCFCF",
"% c #0F0F0F",
"& c #181818",
"* c #2D2D2D",
"= c #3C3C3C",
"- c #060715",
"; c #191919",
"> c #989898",
", c #E8E8E8",
"' c #5F5F5F",
") c #0B0B0B",
"! c #1C1C1C",
"~ c #444444",
"{ c #2C2C2C",
"] c #070707",
"^ c #424242",
"/ c #373737",
"( c #9B9B9B",
"_ c #131313",
": c #6C6C6C",
"< c #484848",
"[ c #1F1F1F",
"} c #B7B7B7",
"| c #353535",
"1 c #000E04",
"2 c #1B1B1B",
"3 c #111111",
"4 c #080808",
"5 c #C3C3C3",
"6 c #666666",
"7 c #393939",
"8 c #130A0A",
"9 c #0C0C0C",
"0 c #050505",
"a c #020202",
"b c #676767",
"c c #8A8A8A",
"d c #000A03",
"e c #110808",
"f c #101010",
" ",
" ",
" ",
" ",
" ",
" ....... ....... ",
" ..+@#$#@%...&*=*&-.. ",
" ..;>,,,,,'.)).!~~~~~{].. ",
" ..@,,,,,,^./((/._~~~~~~&.. ",
" ..:,,,,,,'.<((((<.!~~~~~~[.. ",
" .@,,,,,,}./((((((/.|~~~~~~&. ",
" .1,,,,,,,23((((((((34~~~~~~~]. ",
" .>,,,,,,5.6((((((((6.7~~~~~~{. ",
"..,,,,,,,'8((((((((((9!~~~~~~~0.",
".@,,,,,,,;/((((((((((/]~~~~~~~&.",
".#,,,,,,,ab((((((((((b.~~~~~~~*.",
".$,,,,,,,.c((((((((((c.~~~~~~~=.",
".#,,,,,,,ab((((((((((b.~~~~~~~*.",
".@,,,,,,,;/((((((((((/]~~~~~~~&.",
".d,,,,,,,'9((((((((((9!~~~~~~~0.",
" .>,,,,,,5.6((((((((6.7~~~~~~{. ",
" ..,,,,,,,23((((((((34~~~~~~~]. ",
" .@,,,,,,}./((((((/.|~~~~~~&. ",
" ..:,,,,,,'.<((((<.!~~~~~~[.. ",
" ..@,,,,,,^./((/._~~~~~~&.. ",
" ...>,,,,,'.ef.!~~~~~{... ",
" ...@#$#@....&*=*&... ",
" ....... ....... ",
" ",
" ",
" ",
" "};
......@@ -92,6 +92,9 @@ QPixmap *QvisPlotListBoxItem::selectionIcon = 0;
// Brad Whitlock, Fri Jul 23 14:55:53 PDT 2010
// I added selectionName.
//
// Brad Whitlock, Tue Sep 13 12:24:58 PDT 2011
// Scale the subset icon down smoothly.
//
// ****************************************************************************
QvisPlotListBoxItem::QvisPlotListBoxItem(const Plot &p, const QString &prefix_,
......@@ -162,7 +165,8 @@ QvisPlotListBoxItem::QvisPlotListBoxItem(const Plot &p, const QString &prefix_,
//
if(subsetIcon == 0)
{
subsetIcon = new QPixmap(subset_xpm);
subsetIcon = new QPixmap(
QPixmap(subset_xpm).scaledToWidth(20,Qt::SmoothTransformation));
}
if(selectionIcon == 0)
{
......
......@@ -232,6 +232,9 @@ using std::vector;
// Brad Whitlock, Fri Jul 23 15:24:49 PDT 2010
// I added selection support.
//
// Brad Whitlock, Tue Sep 13 11:18:35 PDT 2011
// Change the "apply operators" and "apply selections" to read better.
//
// ****************************************************************************
QvisPlotManagerWidget::QvisPlotManagerWidget(QMenuBar *menuBar,QWidget *parent)
......@@ -362,20 +365,15 @@ QvisPlotManagerWidget::QvisPlotManagerWidget(QMenuBar *menuBar,QWidget *parent)
topLayout->addWidget(plotListBox);
QWidget *cbParent = new QWidget(this);
QHBoxLayout *cbLayout = new QHBoxLayout(cbParent);
cbLayout->setMargin(0);
topLayout->addWidget(cbParent);
applyOperatorCheckBox = new QCheckBox(tr("Apply operators /"), cbParent);
applyOperatorCheckBox = new QCheckBox(tr("Apply operators to all plots"), this);
connect(applyOperatorCheckBox, SIGNAL(toggled(bool)),
this, SLOT(applyOperatorToggled(bool)));
cbLayout->addWidget(applyOperatorCheckBox);
topLayout->addWidget(applyOperatorCheckBox);
applySelectionCheckBox = new QCheckBox(tr("selection to all plots"), cbParent);
applySelectionCheckBox = new QCheckBox(tr("Apply subset selections to all plots"), this);
connect(applySelectionCheckBox, SIGNAL(toggled(bool)),
this, SLOT(applySelectionToggled(bool)));
cbLayout->addWidget(applySelectionCheckBox);
cbLayout->addStretch();
topLayout->addWidget(applySelectionCheckBox);
// Let's size the widget a little based on its toolbar button text
int minWidth = fontMetrics().boundingRect(plotAddMenuAction->text()).width() +
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment