KDEUI
kacceleratormanager_private.h
Go to the documentation of this file.
63 bool operator == (const KAccelString &c) const { return m_pureText == c.m_pureText && m_accel == c.m_accel && m_orig_accel == c.m_orig_accel; }
95 DEFAULT_WEIGHT = 50,
97 FIRST_CHARACTER_EXTRA_WEIGHT = 50,
99 WORD_BEGINNING_EXTRA_WEIGHT = 50,
101 DIALOG_BUTTON_EXTRA_WEIGHT = 300,
103 WANTED_ACCEL_EXTRA_WEIGHT = 150,
105 ACTION_ELEMENT_WEIGHT = 50,
107 GROUP_BOX_WEIGHT = -2000,
109 CHECKABLE_GROUP_BOX_WEIGHT = 20,
111 MENU_TITLE_WEIGHT = 250,
113 STANDARD_ACCEL = 300
This class encapsulates the algorithm finding the 'best' distribution of accelerators in a hierarchy ...
Definition: kacceleratormanager_private.h:89
int maxWeight(int &index, const QString &used) const
Definition: kacceleratormanager.cpp:678
void calculateWeights(int initialWeight)
Definition: kacceleratormanager.cpp:598
bool operator==(const KAccelString &c) const
Definition: kacceleratormanager_private.h:63
This file is part of the KDE documentation.
Documentation copyright © 1996-2016 The KDE developers.
Generated on Wed May 11 2016 01:53:00 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2016 The KDE developers.
Generated on Wed May 11 2016 01:53:00 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.