50 ImageInfo->
resize(293, 315);
51 QSizePolicy tsizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
65 QSizePolicy sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Fixed);
84 QSizePolicy sizePolicy2(QSizePolicy::Expanding, QSizePolicy::Preferred);
121 QSizePolicy sizePolicy3(QSizePolicy::Preferred, QSizePolicy::Fixed);
236 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
237 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
238 "p, li { white-space: pre-wrap; }\n"
239 "</style></head><body style=\" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
240 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">"
241 "<span style=\" font-weight:600; color:#0000ff;\">Image :</span></p></body></html>",
242 0, QApplication::UnicodeUTF8) );
244 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
245 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
246 "p, li { white-space: pre-wrap; }\n"
247 "</style></head><body style=\" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
248 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">"
249 "<span style=\" font-size:9pt; font-weight:600;\"> Dimension :</span></p></body></html>",
250 0, QApplication::UnicodeUTF8) );
253 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
254 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
255 "p, li { white-space: pre-wrap; }\n"
256 "</style></head><body style=\" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
257 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">"
258 "<span style=\" font-size:9pt; font-weight:600;\"> Size :</span></p></body></html>",
259 0, QApplication::UnicodeUTF8) );
267 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
268 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
269 "p, li { white-space: pre-wrap; }\n"
270 "</style></head><body style=\" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
271 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">"
272 "<span style=\" font-size:9pt; font-weight:600;\"> Spacing :</span></p></body></html>",
273 0, QApplication::UnicodeUTF8) );
275 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
276 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
277 "p, li { white-space: pre-wrap; }\n"
278 "</style></head><body style=\" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
279 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">"
280 "<span style=\" font-size:9pt; font-weight:600;\"> Memory :</span></p></body></html>",
281 0, QApplication::UnicodeUTF8) );
283 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
284 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
285 "p, li { white-space: pre-wrap; }\n"
286 "</style></head><body style=\" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
287 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">"
288 "<span style=\" font-weight:600; color:#0000ff;\">Position :</span></p></body></html>",
289 0, QApplication::UnicodeUTF8) );
291 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
292 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
293 "p, li { white-space: pre-wrap; }\n"
294 "</style></head><body style=\" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
295 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">"
296 "<span style=\" font-size:9pt; font-weight:600;\"> Position (pixel) :</span></p></body></html>",
297 0, QApplication::UnicodeUTF8) );
299 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
300 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
301 "p, li { white-space: pre-wrap; }\n"
302 "</style></head><body style=\" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
303 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">"
304 "<span style=\" font-size:9pt; font-weight:600;\"> Position (um) :</span></p></body></html>",
305 0, QApplication::UnicodeUTF8) );
307 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
308 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
309 "p, li { white-space: pre-wrap; }\n"
310 "</style></head><body style=\" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
311 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">"
312 "<span style=\" font-size:9pt; font-weight:600;\"> # Channels : </span></p></body></html>",
313 0, QApplication::UnicodeUTF8) );
315 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
316 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
317 "p, li { white-space: pre-wrap; }\n"
318 "</style></head><body style=\" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
319 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">"
320 "<span style=\" font-weight:600; color:#0000ff;\">Time :</span></p></body></html>",
321 0, QApplication::UnicodeUTF8) );
323 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
324 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
325 "p, li { white-space: pre-wrap; }\n"
326 "</style></head><body style=\" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
327 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">"
328 "<span style=\" font-weight:600; color:#0000ff;\">Value :</span></p></body></html>",
329 0, QApplication::UnicodeUTF8) );
331 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
332 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
333 "p, li { white-space: pre-wrap; }\n"
334 "</style></head><body style=\" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
335 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">"
336 "<span style=\" font-size:9pt; font-weight:600;\"> Pixel value :</span></p></body></html>",
337 0, QApplication::UnicodeUTF8) );
341 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
342 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
343 "p, li { white-space: pre-wrap; }\n"
344 "</style></head><body style=\" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
345 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">"
346 "<span style=\" font-size:9pt; font-weight:600;\"> Time Point :</span></p></body></html>",
347 0, QApplication::UnicodeUTF8) );
358 bool space_time = ( dim > 3 );
388 if ( static_cast< double >(
m_Memory ) > 1e12 )
394 if ( static_cast< double >(
m_Memory ) > 1e9 )
400 if ( static_cast< double >(
m_Memory ) > 1e6 )
406 if ( static_cast< double >(
m_Memory ) > 1e3 )
430 std::cout <<
"iSize.size() != " <<
m_Dimension << std::endl;
435 std::cout <<
"Please setDimension first!" << std::endl;
450 std::cout <<
"iSpacing.size() != " <<
m_Dimension << std::endl;
455 std::cout <<
"Please setDimension first!" << std::endl;
464 if ( iPos.size() == len )
471 std::cout <<
"iPos.size() != " << len << std::endl;
476 std::cout <<
"Please setDimension first!" << std::endl;
485 if ( iPos.size() == len )
492 std::cout <<
"iPos.size() != " << len << std::endl;
497 std::cout <<
"Please setDimension first!" << std::endl;
520 std::cout <<
"iVal.size() != " <<
m_Channel << std::endl;
525 std::cout <<
"Please setDimension first!" << std::endl;
void setVerticalStretch(uchar stretchFactor)
QLabel * TPositionStaticLabel
QLabel * ValueStaticLabel
void setContentsMargins(int left, int top, int right, int bottom)
QLabel * TImageStaticlabel
QLabel * DimensionStaticLabel
QLabel * TValueStaticLabel
QLabel * SpacingStaticLabel
QVBoxLayout * verticalLayout
void setNumberOfChannels(const unsigned int &)
QString ConvertToQString(const TContainer &iVector)
std::vector< float > m_Spacing
void setupUi(QWidget *Form)
void retranslateUi(QWidget *Form)
QLabel * ChannelStaticLabel
QString fromUtf8(const char *str, int size)
QLabel * PPositionStaticLabel
void setDimension(const unsigned int &)
void setText(const QString &)
void setSpacing(const std::vector< float > &)
QLabel * WPositionStaticLabel
std::vector< unsigned int > m_PPos
std::vector< float > m_Value
QWidget * scrollAreaWidgetContents
std::vector< float > m_WPos
void setPixelPosition(const std::vector< unsigned int > &)
void setMemory(const unsigned long &)
QString translate(const char *context, const char *sourceText, const char *disambiguation, Encoding encoding)
std::vector< unsigned int > m_Size
void setHorizontalStretch(uchar stretchFactor)
void setSize(const std::vector< unsigned int > &)
void setValue(const std::vector< float > &)
void setTimePoint(const float &)
QLabel * MemoryStaticLabel
QGoImageInfo(QWidget *parent=0)
void setWorldPosition(const std::vector< float > &)
void setHeightForWidth(bool dependent)
QLabel * TTimeStaticLabel