Task

Display a series of vertical color bars across the width of the display.

The color bars should either use:

   the system palette,   or 
   the sequence of colors: 
   black
   red
   green
   blue
   magenta
   cyan
   yellow
   white


#ifndef MYWIDGET_H
#define MYWIDGET_H
#include <QWidget>
 
class QPaintEvent ;
 
class MyWidget : public QWidget {
public :
   MyWidget( ) ;
 
protected :
   void paintEvent( QPaintEvent * ) ;
private :
   int width ;
   int height ;
   const int colornumber ;
} ;
#endif