text: #ifndef COCKTAILPAGE_H
  #define COCKTAILPAGE_H
  
  #include "view/header.h"
  #include "model/vettore.h"
  #include "model/cocktail.h"
  #include "model/deepptr.h"
  #include "model/cocktail.h"
  
  #include <QWidget>
  #include <QPushButton>
  #include <QVBoxLayout>
  #include <QHBoxLayout>
  #include <QLayout>
  #include <QLabel>
  #include <QSpinBox>
  #include <QListWidget>
  #include <QString>
  #include <QLineEdit>
  
  class CocktailPage: public QWidget {
      Q_OBJECT
  private:
      QVBoxLayout* cocktailList;
      QPushButton* back;
      QPushButton* cart;
      QPushButton* add;
      QSpinBox* quantity;
      Vettore<DeepPtr<Cocktail>> lista;
      int q;
  public:
      explicit CocktailPage(QWidget* parent,const Vettore<DeepPtr<Cocktail>>& vec_coc);
      void addItems();
  signals:
      void toHomePage();
      void toCarrelloPage();
      void addToCart(Cocktail* cocktail, int quantity);
  public slots:
      void showHomePage();
      void showCarrelloPage();
      void updateQuantity(int quant);
  
  };
  
  #endif // COCKTAILPAGE_H
  