Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Opie::OBarGroup Class Reference

Grouping of actions for dynamic Bar Generation. More...

#include </home/clem/local/src/opie/libopie2/opieui/big-screen/obarcollection.h>

List of all members.

Public Types

enum  Preference { Allways, Never, IfPlace }

Public Member Functions

 OBarGroup (const QString &name, enum Preference groupPreference)
 ~OBarGroup ()
void add (QAction *action, enum Preference menuPreference, enum Preference toolpreference)
void add (const QString &, QPopupMenu *)
void add (OBarGroup *)
void remove (QAction *action)
void remove (QMap *)

Protected Member Functions

OBarGroupparent () const


Detailed Description

Grouping of actions for dynamic Bar Generation.

The different screen sizes have different look and feel. On bigger screens only a QToolBar feels strange. One is at least known to have a Help-Menu, a File Menu with Quit/Exit but instead of providing two different ways / two action sets we will group actions to gether and give them attributes when and where we might want them to be visible. We can also group actions. For example you could Group All Actions into the File Group. This means with many actions you would only have more toolbar actions but many sub menus in File. On bigger screen this would automatically expand to a full blown MenuBar and ToolButtons.

Version:
0.01
Author:
hOlgAr

Definition at line 64 of file obarcollection.h.


Member Enumeration Documentation

enum Opie::OBarGroup::Preference
 

Enumeration values:
Allways 
Never 
IfPlace 

Definition at line 67 of file obarcollection.h.


Constructor & Destructor Documentation

Opie::OBarGroup::OBarGroup const QString name,
enum Preference  groupPreference
 

Opie::OBarGroup::~OBarGroup  ) 
 


Member Function Documentation

void Opie::OBarGroup::add OBarGroup  ) 
 

void Opie::OBarGroup::add const QString ,
QPopupMenu * 
 

void Opie::OBarGroup::add QAction *  action,
enum Preference  menuPreference,
enum Preference  toolpreference
 

OBarGroup* Opie::OBarGroup::parent  )  const [protected]
 

void Opie::OBarGroup::remove QMap  ) 
 

void Opie::OBarGroup::remove QAction *  action  ) 
 


The documentation for this class was generated from the following file:
Generated on Sat Nov 5 18:00:12 2005 for OPIE by  doxygen 1.4.2