Seafood/mainwindow.cpp
changeset 16 e26c25b72a12
parent 15 0f80a0f39475
equal deleted inserted replaced
15:0f80a0f39475 16:e26c25b72a12
    21     ui->setupUi(this);
    21     ui->setupUi(this);
    22     setContextMenuPolicy(Qt::NoContextMenu);
    22     setContextMenuPolicy(Qt::NoContextMenu);
    23     this->fishDb = new Fishes(this);
    23     this->fishDb = new Fishes(this);
    24 
    24 
    25     this->stackedWidget = new QStackedWidget;
    25     this->stackedWidget = new QStackedWidget;
       
    26     this->stackedWidget->setSizePolicy(QSizePolicy::Maximum,QSizePolicy::Maximum);
    26 
    27 
    27     // lists of fish
    28     // lists of fish
    28     this->tabWidget = new QTabWidget;
    29     this->tabWidget = new QTabWidget;
    29 
    30 
    30     this->bestList = new QListWidget;
    31     this->bestList = new QListWidget;