Very nice list box with color names and samples. It's inherited from QListBox with all its methods and properties. I create it as separate class because it's used now in ColorManager and ColorWheel too. You can see it in Extras/Color Wheel or in Edit/Colors dialogs in action.
More...
#include <colorlistbox.h>
|
enum | PixmapType { smallPixmap,
widePixmap,
fancyPixmap
} |
|
|
virtual void | languageChange () |
|
|
bool | viewportEvent (QEvent *event) |
|
|
ColorListBox::PixmapType | m_type |
|
|
static int | initialized |
|
static int | sortRule |
|
Very nice list box with color names and samples. It's inherited from QListBox with all its methods and properties. I create it as separate class because it's used now in ColorManager and ColorWheel too. You can see it in Extras/Color Wheel or in Edit/Colors dialogs in action.
- Author
- Petr Vanek petr@.nosp@m.yarp.nosp@m.en.cz
void ColorListBox::insertFancyPixmapItems |
( |
ColorList & |
list | ) |
|
Insert ColorFancyPixmapItems into the list.
- Parameters
-
void ColorListBox::insertItems |
( |
ColorList & |
list, |
|
|
ColorListBox::PixmapType |
type |
|
) |
| |
Fill the list box with values taken from list. The list is not cleared before items insertion.
- Parameters
-
list | a ColorList to present. |
the | pixmap type to use |
void ColorListBox::insertSmallPixmapItems |
( |
ColorList & |
list | ) |
|
Insert ColorSmallPixmapItems into the list.
- Parameters
-
void ColorListBox::insertWidePixmapItems |
( |
ColorList & |
list | ) |
|
Insert ColorWidePixmapItems into the list.
- Parameters
-
void ColorListBox::updateBox |
( |
ColorList & |
list, |
|
|
ColorListBox::PixmapType |
type |
|
) |
| |
Fill the list box with values taken from list. The list is cleared itself. Then is rendered an icon with color attributes (RGB/CMYK/Spot etc.).
- Parameters
-
list | a ColorList to present. |
the | pixmap type to use |
The documentation for this class was generated from the following files:
- /Users/ale/src/Scribus/scribus/ui/colorlistbox.h
- /Users/ale/src/Scribus/scribus/ui/colorlistbox.cpp