21 #ifndef __KSTATUSBAR_H__
22 #define __KSTATUSBAR_H__
24 #include <tqstatusbar.h>
25 #include <tqintdict.h>
27 #include <tdelibs_export.h>
47 void mousePressEvent (TQMouseEvent* _event);
48 void mouseReleaseEvent (TQMouseEvent* _event);
56 void itemPressed (
int id);
57 void itemReleased (
int id);
102 KStatusBar( TQWidget* parent = 0L,
const char* name = 0L );
127 void insertItem(
const TQString& text,
int id,
int stretch=0,
bool permanent=
false );
139 { insertItem(text,
id, 0, permanent); setItemFixed(
id); }
146 void removeItem(
int id );
156 bool hasItem(
int id )
const;
167 void changeItem(
const TQString& text,
int id );
174 void setItemAlignment(
int id,
int align);
183 void setItemFixed(
int id,
int width=-1);
203 TQIntDict<KStatusBarLabel> items;
204 class KStatusBarPrivate* d;
Internal label class for use in KStatusBar.
void released(int)
Emitted when mouse is released over item id.
void insertFixedItem(const TQString &text, int id, bool permanent=false)
Inserts a fixed width text label into status bar.
void pressed(int)
Emitted when mouse is pressed over item id.