Ananas Library  0.9.5
Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions | List of all members
aListBox Class Reference
Inheritance diagram for aListBox:

Public Slots

virtual void setFocus ()
 

Signals

void keyArrowLRPressed ()
 
void keyArrowLRPressed (const QString &)
 
void keyEnterPressed ()
 
void lostFocus ()
 
void sendMessage (const QString &)
 

Public Member Functions

 aListBox (QWidget *parent=0, const char *name=0, WFlags f=0)
 
 ~aListBox ()
 
void insertItem (const QString &s, long idx, int index=-1)
 
void show (QWidget *w, QFrame *fr)
 
long getId (int ind)
 
void clear ()
 

Protected Slots

void doubleClickHandler (QListBoxItem *i)
 

Protected Member Functions

virtual void keyPressEvent (QKeyEvent *e)
 
void focusOutEvent (QFocusEvent *e)
 

Constructor & Destructor Documentation

◆ aListBox()

aListBox::aListBox ( QWidget *  parent = 0,
const char *  name = 0,
WFlags  f = 0 
)

Constructor

◆ ~aListBox()

aListBox::~aListBox ( )

Destructor

Member Function Documentation

◆ clear()

void aListBox::clear ( )

Clears list and list of id.

◆ focusOutEvent()

void aListBox::focusOutEvent ( QFocusEvent *  e)
protected

Focus out event handler. Emit signal lost focus.

Parameters
e- focus out event.

◆ insertItem()

void aListBox::insertItem ( const QString &  s,
long  idx,
int  index = -1 
)

Inserts s in list and idx in list of id.

Parameters
s(in) - string for insert.
idx(in) - id for insert.
index(in) - position for insert.

◆ keyPressEvent()

void aListBox::keyPressEvent ( QKeyEvent *  e)
protectedvirtual

Key press event handler. Emit signals keyArrowLRPressed if press arrow left or arrow rigth.

Parameters
e(in) - key press event.

◆ show()

void aListBox::show ( QWidget *  wd,
QFrame *  fr 
)

Function move and resize frame and list box.

Parameters
wd(in) - widget for pattern geometry.
fr(in, out) - status frame.

The documentation for this class was generated from the following files: