Qt 4.8
|
#include "qmenu.h"
#include "qt_windows.h"
#include "qapplication.h"
#include "qmainwindow.h"
#include "qtoolbar.h"
#include "qevent.h"
#include "qstyle.h"
#include "qdebug.h"
#include "qwidgetaction.h"
#include <private/qapplication_p.h>
#include <private/qmenu_p.h>
#include <private/qmenubar_p.h>
#include "qmenu_wince_resource_p.h"
#include <QtCore/qlibrary.h>
#include <commctrl.h>
#include "qguifunctions_wince.h"
Go to the source code of this file.
Classes | |
struct | qt_SHMENUBARINFO |
Macros | |
#define | SHCMBF_EMPTYBAR 0x0001 |
#define | SHCMBM_GETSUBMENU (WM_USER + 401) |
Typedefs | |
typedef BOOL(WINAPI * | AygCreateMenuBar) (qt_SHMENUBARINFO *) |
typedef HRESULT(WINAPI * | AygEnableSoftKey) (HWND, UINT, BOOL, BOOL) |
Functions | |
static void | qt_wce_change_command (HWND menuHandle, int item, int command) |
static void | qt_wce_clear_menu (HMENU hMenu) |
static HWND | qt_wce_create_menubar (HWND parentHandle, HINSTANCE resourceHandle, int toolbarID, int flags=0) |
static void | qt_wce_delete_action_list (QList< QWceMenuAction *> *list) |
static void | qt_wce_disable_soft_key (HWND handle, uint command) |
static void | qt_wce_enable_soft_key (HWND handle, uint command) |
static HMODULE | qt_wce_get_module_handle () |
static QAction * | qt_wce_get_quit_action (QList< QAction *> actionItems) |
static QAction * | qt_wce_get_quit_action (QList< QWceMenuAction *> actionItems) |
static void | qt_wce_insert_action (HMENU menu, QWceMenuAction *action) |
static void | qt_wce_rename_menu_item (HWND menuHandle, int item, const QString &newText) |
bool | qt_wince_is_pocket_pc () |
bool | qt_wince_is_smartphone () |
static void | resolveAygLibs () |
Variables | |
static bool | aygResolved = false |
static QList< QMenuBar * > | nativeMenuBars |
static AygCreateMenuBar | ptrCreateMenuBar = 0 |
static AygEnableSoftKey | ptrEnableSoftKey = 0 |
static uint | qt_wce_menu_static_cmd_id = 200 |
#define SHCMBF_EMPTYBAR 0x0001 |
Definition at line 70 of file qmenu_wince.cpp.
Referenced by QMenuBarPrivate::wceCreateMenuBar().
#define SHCMBM_GETSUBMENU (WM_USER + 401) |
Definition at line 74 of file qmenu_wince.cpp.
Referenced by QMenuBarPrivate::QWceMenuBarPrivate::rebuild().
typedef BOOL(WINAPI * AygCreateMenuBar) (qt_SHMENUBARINFO *) |
Definition at line 104 of file qmenu_wince.cpp.
typedef HRESULT(WINAPI * AygEnableSoftKey) (HWND, UINT, BOOL, BOOL) |
Definition at line 105 of file qmenu_wince.cpp.
|
static |
Definition at line 186 of file qmenu_wince.cpp.
Referenced by QMenuBarPrivate::QWceMenuBarPrivate::rebuild().
|
static |
Definition at line 263 of file qmenu_wince.cpp.
Referenced by QMenuBarPrivate::QWceMenuBarPrivate::rebuild(), and QMenuPrivate::QWceMenuPrivate::rebuild().
|
static |
Definition at line 208 of file qmenu_wince.cpp.
Referenced by QMenuBarPrivate::QWceMenuBarPrivate::rebuild(), and QMenuBarPrivate::wceCreateMenuBar().
|
static |
Definition at line 135 of file qmenu_wince.cpp.
Referenced by QMenuBarPrivate::QWceMenuBarPrivate::rebuild(), QMenuBarPrivate::QWceMenuBarPrivate::~QWceMenuBarPrivate(), and QMenuPrivate::QWceMenuPrivate::~QWceMenuPrivate().
|
static |
Definition at line 128 of file qmenu_wince.cpp.
Referenced by QMenuBarPrivate::QWceMenuBarPrivate::rebuild().
|
static |
Definition at line 121 of file qmenu_wince.cpp.
Referenced by QMenuBarPrivate::QWceMenuBarPrivate::rebuild().
|
static |
Definition at line 176 of file qmenu_wince.cpp.
Referenced by QMenuBarPrivate::QWceMenuBarPrivate::rebuild().
Definition at line 146 of file qmenu_wince.cpp.
Referenced by qt_wce_get_quit_action(), and QMenuBarPrivate::QWceMenuBarPrivate::rebuild().
|
static |
Definition at line 162 of file qmenu_wince.cpp.
|
static |
Definition at line 234 of file qmenu_wince.cpp.
Referenced by QMenuBarPrivate::QWceMenuBarPrivate::rebuild(), and QMenuPrivate::QWceMenuPrivate::rebuild().
|
static |
Definition at line 196 of file qmenu_wince.cpp.
Referenced by QMenuBarPrivate::QWceMenuBarPrivate::rebuild().
bool qt_wince_is_pocket_pc | ( | ) |
Definition at line 289 of file qguifunctions_wince.cpp.
Referenced by qt_wince_is_high_dpi(), qt_wince_is_mobile(), and QMenuBarPrivate::wceCreateMenuBar().
bool qt_wince_is_smartphone | ( | ) |
Definition at line 293 of file qguifunctions_wince.cpp.
Referenced by qt_wince_is_mobile(), and QMenuBarPrivate::wceCreateMenuBar().
|
static |
Definition at line 111 of file qmenu_wince.cpp.
Referenced by qt_wce_create_menubar(), qt_wce_disable_soft_key(), and qt_wce_enable_soft_key().
|
static |
Definition at line 107 of file qmenu_wince.cpp.
Referenced by resolveAygLibs().
Definition at line 89 of file qmenu_wince.cpp.
|
static |
Definition at line 108 of file qmenu_wince.cpp.
Referenced by qt_wce_create_menubar(), and resolveAygLibs().
|
static |
Definition at line 109 of file qmenu_wince.cpp.
Referenced by qt_wce_disable_soft_key(), qt_wce_enable_soft_key(), and resolveAygLibs().
|
static |
Definition at line 88 of file qmenu_wince.cpp.
Referenced by QMenuBarPrivate::QWceMenuBarPrivate::addAction(), QMenuPrivate::QWceMenuPrivate::addAction(), and QMenuBarPrivate::QWceMenuBarPrivate::rebuild().