3 #include "ui_thumbswidget.h" 14 COMMENT(
"Reseting thumbnails.", 1 );
20 COMMENT(
"Loading new thumbnail", 1 );
21 int num = thumbs.size( );
22 int size = width( ) - 40;
24 thumbs.append( thumbnail );
25 ui->thumbsLayout->addWidget( thumbnail, num, 0, Qt::AlignHCenter );
26 ui->thumbsLayout->setMargin( 0 );
27 ui->thumbsLayout->setVerticalSpacing( 1 );
37 COMMENT(
"Removing thumbnail at " << pos <<
".", 1 );
39 thumbs.removeAt( pos );
40 for(
int i = 0; i < thumbs.size( ); ++i ) {
41 thumbs[ i ]->setObjectName( QString::number( i ) );
void setCurrentImagePos(int position)
setCurrentImagePos
void changeImage(int index)
The GuiImage class is a bridge to the Bial::Image data structure to the QImage data structure...
The Controller class is one of the most important classes of the User Interface, and is responsible t...