20 #ifndef TREECOMBOBOX_H
21 #define TREECOMBOBOX_H
23 #include <tqlistbox.h>
24 #include <tqcombobox.h>
25 #include <tqstringlist.h>
33 TreeListBoxItem(TQListBox *lb,
const TQPixmap& pix,
const TQString& txt,
bool oneBlock =
false);
35 virtual int width(
const TQListBox *lb)
const;
38 virtual void paint(TQPainter *p);
39 int stepSize()
const {
return 16; }
54 TreeListBox(TQWidget *parent = 0,
const char *name = 0);
57 virtual void paintCell(TQPainter *p,
int row,
int col);
69 TreeComboBox(TQWidget *parent = 0,
const char *name = 0);
70 void insertItem(
const TQPixmap& pix,
const TQString& txt,
bool oneBlock =
false);
Class that represents a single object in the tree.
Class for the listbox shown on popup.