14 #include <QApplication> 17 #include <QGridLayout> 26 QString title(
"Testing Utils Widgets");
30 d.setWindowTitle(title);
32 QGridLayout* layout =
new QGridLayout(&d);
36 layout->addWidget(dlW, 0, 0);
41 std::vector<std::string> inputValues;
42 inputValues.push_back(
"TerraView");
43 inputValues.push_back(
"TerraLib");
44 inputValues.push_back(
"INPE");
50 line->setFrameShape(QFrame::VLine);
51 line->setFrameShadow(QFrame::Sunken);
52 layout->addWidget(line, 0, 1);
56 layout->addWidget(lW, 0, 2);
62 layout->addWidget(ptW, 1, 0, 1, 3);
66 cp->setFixedSize(70, 24);
67 layout->addWidget(cp, 2, 0);
71 layout->addWidget(hs, 2, 1, 1, 2);
79 layout->addWidget(cm, 3, 0, 1, 3);
#define TE_OPAQUE
For an RGBA color this is the value of the alpha-channel for totally opaque.
static te::dt::DateTime d(2010, 8, 9, 15, 58, 39)
The concept of color bar.
void addColor(const RGBAColor &color, const double &pos)
It adds a color in the color bar.
A helper class for 32-bit RGBA (Red-Green-Blue-Alpha channel) color.
It models the concept of color bar.