KURLBarListBox Class Reference
#include <kurlbar.h>
Inherits TDEListBox.
Signals | |
void | dropped (TQDropEvent *e) |
Public Member Functions | |
KURLBarListBox (TQWidget *parent=0, const char *name=0) | |
~KURLBarListBox () | |
virtual void | setOrientation (TQt::Orientation orient) |
TQt::Orientation | orientation () const |
bool | isVertical () const |
Protected Member Functions | |
virtual TQDragObject * | dragObject () |
virtual void | contentsDragEnterEvent (TQDragEnterEvent *) |
virtual void | contentsDropEvent (TQDropEvent *) |
virtual void | contextMenuEvent (TQContextMenuEvent *) |
virtual void | paintEvent (TQPaintEvent *) |
virtual void | virtual_hook (int id, void *data) |
Detailed Description
This is the listbox used in KURLBar.
It is a subclass of TDEListBox to support drag & drop and to set up the row / column mode.
The widget has just one row or one column, depending on orientation().
Constructor & Destructor Documentation
◆ KURLBarListBox()
KURLBarListBox::KURLBarListBox | ( | TQWidget * | parent = 0 , |
const char * | name = 0 |
||
) |
Constructs a KURLBarListBox.
Definition at line 824 of file kurlbar.cpp.
◆ ~KURLBarListBox()
KURLBarListBox::~KURLBarListBox | ( | ) |
Destroys the box.
Definition at line 832 of file kurlbar.cpp.
Member Function Documentation
◆ dragObject()
|
protectedvirtual |
- Returns
- a suitable TQDragObject when an item is dragged.
Definition at line 844 of file kurlbar.cpp.
◆ dropped
|
signal |
Emitted when a drop-event happened.
◆ orientation()
|
inline |
◆ setOrientation()
|
virtual |
Sets the orientation of the widget.
Horizontal means, all items are arranged in one row. Vertical means, all items are arranged in one column.
- See also
- orientation
Definition at line 880 of file kurlbar.cpp.
The documentation for this class was generated from the following files: