~ubuntu-branches/ubuntu/hardy/uim/hardy

« back to all changes in this revision

Viewing changes to qt/toolbar-common-quimhelpertoolbar.h

  • Committer: Bazaar Package Importer
  • Author(s): Masahito Omote
  • Date: 2007-04-21 03:46:09 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20070421034609-gpcurkutp8vaysqj
Tags: 1:1.4.1-3
* Switch to dh_gtkmodules for the gtk 2.10 transition (Closes:
  #419318)
  - debian/control: Add ${misc:Depends} and remove libgtk2.0-bin on
    uim-gtk2.0.
  - debian/uim-gtk2.0.post{inst,rm}: Removed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 
3
 
 Copyright (c) 2003-2006 uim Project http://uim.freedesktop.org/
 
3
 Copyright (c) 2003-2007 uim Project http://uim.freedesktop.org/
4
4
 
5
5
 All rights reserved.
6
6
 
38
38
#include <qpopupmenu.h>
39
39
#include <qpixmap.h>
40
40
 
 
41
class UimStateIndicator;
 
42
 
41
43
class QUimHelperToolbar : public QHBox
42
44
{
43
45
    Q_OBJECT
44
46
 
45
47
public:
46
 
    QUimHelperToolbar( QWidget *parent = 0, const char *name = 0, WFlags f = 0 );
 
48
    QUimHelperToolbar( QWidget *parent = 0, const char *name = 0, WFlags f = 0, bool isApplet = false );
47
49
    ~QUimHelperToolbar();
48
50
 
 
51
public slots:    
 
52
    void slotExecPref();
 
53
    QPopupMenu *contextMenu();
49
54
 
50
55
protected:
51
56
    // right click
59
64
    void addExecHandwritingInputPadButton();
60
65
    void addExecHelpButton();    
61
66
 
62
 
    
 
67
    int getNumButtons();
63
68
protected slots:
64
69
    void slotExecImSwitcher();
65
 
    void slotExecPref();
66
70
    void slotExecDict();
67
71
    void slotExecInputPad();
68
72
    void slotExecHandwritingInputPad();
74
78
    void toolbarResized();
75
79
 
76
80
protected:
 
81
    UimStateIndicator *m_indicator;
77
82
    QPixmap m_swicon;
78
83
    QPixmap m_preficon;
79
84
    QPixmap m_dicticon;
 
85
    QPixmap m_padicon;
 
86
    QPixmap m_handicon;
 
87
    QPixmap m_helpicon;
80
88
    QPopupMenu *m_contextMenu;
 
89
    int m_nr_exec_buttons;
81
90
};
82
91
 
83
92