| 1 |
/* |
| 2 |
* Copyright (C) 2020 ~ 2021 Uniontech Software Technology Co., Ltd. |
| 3 |
* |
| 4 |
* Author: ZhangYong <[email protected]> |
| 5 |
* |
| 6 |
* Maintainer: ZhangYong <[email protected]> |
| 7 |
* |
| 8 |
* This program is free software: you can redistribute it and/or modify |
| 9 |
* it under the terms of the GNU General Public License as published by |
| 10 |
* the Free Software Foundation, either version 3 of the License, or |
| 11 |
* any later version. |
| 12 |
* |
| 13 |
* This program is distributed in the hope that it will be useful, |
| 14 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 |
* GNU General Public License for more details. |
| 17 |
* |
| 18 |
* You should have received a copy of the GNU General Public License |
| 19 |
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 20 |
*/ |
| 21 |
|
| 22 |
#ifndef DESKTOP_ACCESSIBLE_UI_DEFINE_H |
| 23 |
#define DESKTOP_ACCESSIBLE_UI_DEFINE_H |
| 24 |
|
| 25 |
#include <QString> |
| 26 |
#include <QObject> |
| 27 |
|
| 28 |
// 使用宏定义,方便国际化操作 |
| 29 |
#define OPENACCESSIBLE |
| 30 |
|
| 31 |
//平板宏定义 |
| 32 |
//#define tablet_PC |
| 33 |
|
| 34 |
//#define SELECT_CASE "load" |
| 35 |
|
| 36 |
#ifdef SELECT_CASE |
| 37 |
#define TEST_CASE_NAME(testName) if(testName != SELECT_CASE) return; |
| 38 |
#else |
| 39 |
#define TEST_CASE_NAME(testName) |
| 40 |
#endif |
| 41 |
|
| 42 |
#ifdef ENABLE_ACCESSIBILITY |
| 43 |
#define AC_SET_ACCESSIBLE_NAME(classObj,accessiblename) classObj->setAccessibleName(accessiblename); |
| 44 |
#else |
| 45 |
#define AC_SET_ACCESSIBLE_NAME(classObj,accessiblename) |
| 46 |
#endif |
| 47 |
|
| 48 |
#define AC_SET_OBJECT_NAME(classObj,objectname) classObj->setObjectName(objectname); |
| 49 |
|
| 50 |
#define Import_Image_View "ImportImageView" //导入图片控件 |
| 51 |
#define Import_Image_View_Button "ImportImageViewButton" //导入图片按钮 |
| 52 |
#define Import_Image_Menu "ImportImageMenu" //导入图片菜单 |
| 53 |
#define Main_All_Picture_Button "MainAllPictureButton" //主界面所有图片按钮 |
| 54 |
#define MainWindow_Center_Widget "MainWindowCenterWidget" |
| 55 |
#define MainWindow_TitleBtn_Widget "MainWindowTitleBtnWidget" |
| 56 |
#define MainWindow_Titlebar "MainWindowTitlebar" |
| 57 |
|
| 58 |
#define All_Picture_View "AllPictureView" //所有图片界面 |
| 59 |
#define All_Picture_StackedWidget "AllPictureStackedWidget" |
| 60 |
#define All_Picture_BatchOperateWidget "AllPictureBatchOperateWidget" |
| 61 |
|
| 62 |
#define All_Picture_Thembnail "AllPictureThembnail" //所有图片缩略图list |
| 63 |
#define Main_Time_Line_Button "MainTimeLineButton" //主界面时间线按钮 |
| 64 |
#define Main_Album_Button "MainAlbumButton" //主界面相册按钮 |
| 65 |
#define Thumbnail_Slider "ThumbnailSlider" //缩略图缩放滑动条 |
| 66 |
#define All_Pic_Count "AllPicCount" //图片数量lable |
| 67 |
|
| 68 |
#define Time_Line_Choose_Button "TimeLineChooseButton" //时间线选择按钮 |
| 69 |
|
| 70 |
#define Add_Album_Button "AddAlbumButton" //添加相册按钮 |
| 71 |
#define Import_Time_Line_Choose_Button "ImportTimeLineChooseButton" //导入到时间线选择按钮 |
| 72 |
#define Album_Delete_Button "AlbumDeleteButton" //相册界面删除按钮 |
| 73 |
#define Album_Restore_Button "AlbumRestoreButton" //相册界面恢复按钮 |
| 74 |
#define Album_Import_Label "AlbumImportLabel" |
| 75 |
#define Album_Trash_Label "AlbumTrashLabel" |
| 76 |
#define Album_Fav_Label "AlbumFavLabel" |
| 77 |
|
| 78 |
#define TOP_TOOL_BAR "top tool bar" //顶部工具栏 |
| 79 |
#define TITLE_TEXT "title text" //顶部标题栏 |
| 80 |
#define TITLE_BAR "title bar" //顶部菜单 |
| 81 |
|
| 82 |
#define VIEW_PANEL_WIDGET "viewpanel" //图片显示区域 |
| 83 |
#define VIEW_PANEL_STACK "viewpanel stack" //图片显示区域堆栈窗口 |
| 84 |
|
| 85 |
#define Slider_Play_Pause_Button "SliderPlayPauseButton" //幻灯片播放暂停按钮 |
| 86 |
#define Slider_Pre_Button "SliderPreButton" //幻灯片上一张按钮 |
| 87 |
#define Slider_Next_Button "SliderNextButton" //幻灯片下一张按钮 |
| 88 |
#define Slider_Exit_Button "SliderExitButton" //幻灯片退出按钮 |
| 89 |
|
| 90 |
#define Ttbcontent_Back_Button "TtbcontentBackButton" //ttb返回按钮 |
| 91 |
#define Ttbcontent_Pre_Button "TtbcontentPreButton" //ttb上一张按钮 |
| 92 |
#define Ttbcontent_Next_Button "TtbcontentNextButton" //ttb下一张按钮 |
| 93 |
#define Ttbcontent_AdaptImg_Button "TtbcontentAdaptImgButton" //ttb适应图片按钮 |
| 94 |
#define Ttbcontent_AdaptScreen_Button "TtbcontentAdaptScreenButton" //ttb适应屏幕按钮 |
| 95 |
#define Ttbcontent_Collect_Button "TtbcontentCollectButton" //ttb收藏按钮 |
| 96 |
#define Ttbcontent_Rotate_Right_Button "TtbcontentRotateRightButton" //ttb顺时针按钮 |
| 97 |
#define Ttbcontent_Rotate_Left_Button "TtbcontentRotateLeftButton" //ttb逆时针按钮 |
| 98 |
#define Ttbcontent_Trash_Button "TtbcontentTrashButton" //ttb删除按钮 |
| 99 |
|
| 100 |
// helin |
| 101 |
#define ImportTime_pChose "importTime_pChose" |
| 102 |
#define ImportTime_pThumbnailListView "importTime_pThumbnailListView" |
| 103 |
#define AlbumView_pImpTimeLineWidget "albumView_pImpTimeLineWidget" |
| 104 |
|
| 105 |
#endif // DESKTOP_ACCESSIBLE_UI_DEFINE_H |