-rw-r--r-- | libqtaux/ocolorpopupmenu.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/libqtaux/ocolorpopupmenu.h b/libqtaux/ocolorpopupmenu.h index 90cfbed..7ab3ca6 100644 --- a/libqtaux/ocolorpopupmenu.h +++ b/libqtaux/ocolorpopupmenu.h | |||
@@ -21,33 +21,38 @@ | |||
21 | ..}^=.= = ; Library General Public License for more | 21 | ..}^=.= = ; Library General Public License for more |
22 | ++= -. .` .: details. | 22 | ++= -. .` .: details. |
23 | : = ...= . :.=- | 23 | : = ...= . :.=- |
24 | -. .:....=;==+<; You should have received a copy of the GNU | 24 | -. .:....=;==+<; You should have received a copy of the GNU |
25 | -_. . . )=. = Library General Public License along with | 25 | -_. . . )=. = Library General Public License along with |
26 | -- :-=` this library; see the file COPYING.LIB. | 26 | -- :-=` this library; see the file COPYING.LIB. |
27 | If not, write to the Free Software Foundation, | 27 | If not, write to the Free Software Foundation, |
28 | Inc., 59 Temple Place - Suite 330, | 28 | Inc., 59 Temple Place - Suite 330, |
29 | Boston, MA 02111-1307, USA. | 29 | Boston, MA 02111-1307, USA. |
30 | 30 | ||
31 | */ | 31 | */ |
32 | 32 | ||
33 | #ifndef COLORPOPUPMENU_H | 33 | #ifndef OCOLORPOPUPMENU_H |
34 | #define COLORPOPUPMENU_H | 34 | #define OCOLORPOPUPMENU_H |
35 | |||
36 | /* QT */ | ||
35 | 37 | ||
36 | #include <qframe.h> | 38 | #include <qframe.h> |
37 | #include <qpopupmenu.h> | 39 | #include <qpopupmenu.h> |
38 | 40 | ||
39 | class QWidget; | 41 | class QWidget; |
40 | class QGridLayout; | 42 | class QGridLayout; |
41 | 43 | ||
44 | namespace Opie | ||
45 | { | ||
46 | |||
42 | /** | 47 | /** |
43 | * @class OColorPanelButton | 48 | * @class OColorPanelButton |
44 | * @brief The OColorPanelButton class provides a button for color selection. | 49 | * @brief The OColorPanelButton class provides a button for color selection. |
45 | * | 50 | * |
46 | * @see OColorPopupMenu | 51 | * @see OColorPopupMenu |
47 | * | 52 | * |
48 | * The OColorPanelButton class provides a button for color selection. The button | 53 | * The OColorPanelButton class provides a button for color selection. The button |
49 | * is drawn with the desired color and no border. This class is used internally | 54 | * is drawn with the desired color and no border. This class is used internally |
50 | * by the OColorPopupMenu class to displaying colors in its menu. | 55 | * by the OColorPopupMenu class to displaying colors in its menu. |
51 | */ | 56 | */ |
52 | class OColorPanelButton : public QFrame | 57 | class OColorPanelButton : public QFrame |
53 | { | 58 | { |
@@ -243,13 +248,15 @@ protected slots: | |||
243 | * | 248 | * |
244 | * @see colorSelected() | 249 | * @see colorSelected() |
245 | * | 250 | * |
246 | * This slot executes when the 'More...' option is selected at the bottom of the menu. | 251 | * This slot executes when the 'More...' option is selected at the bottom of the menu. |
247 | * It performs the following functions: | 252 | * It performs the following functions: |
248 | * - Constructs and executes a QColorDialog to allow finer color selection. | 253 | * - Constructs and executes a QColorDialog to allow finer color selection. |
249 | * - Emit the colorSelected signal with the color selected. | 254 | * - Emit the colorSelected signal with the color selected. |
250 | * - Hide the menu. | 255 | * - Hide the menu. |
251 | */ | 256 | */ |
252 | void moreColorClicked(); | 257 | void moreColorClicked(); |
253 | }; | 258 | }; |
254 | 259 | ||
260 | }; | ||
261 | |||
255 | #endif // COLORPOPUPMENUANEL_H | 262 | #endif // COLORPOPUPMENUANEL_H |