⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 keyboard_template.rss

📁 On screen keyboard source code in Linux
💻 RSS
字号:
// $Id: Keyboard.rss,v 1.6 2003/11/12 16:42:12 chrisf Exp $

// Copyright (c) 2003 Chris Faherty

// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

NAME KEYB

#include <eikon.rh>
#include <eikon.rsg>
#include <qikon.rh>
#include <qikon.hrh>
#include <qikon.mbg>

#include "Keyboard.hrh"

RESOURCE RSS_SIGNATURE { }
RESOURCE TBUF r_default_document_name { buf = ""; }

RESOURCE EIK_APP_INFO {
  menubar = r_keyboard_menubar;
}


RESOURCE MENU_BAR r_keyboard_menubar {
  titles =
    {
      MENU_TITLE {menu_pane = r_keyboard_menu; txt = "Command";},
      MENU_TITLE {menu_pane = r_keyboard_model; txt = "Model";},
      MENU_TITLE {menu_pane = r_keyboard_i18n; txt = "Layout";}
    };
}


RESOURCE MENU_PANE r_keyboard_menu {
  items =
    {
        MENU_ITEM {command = EKeyboardCmdOn; txt = "Turn on";},
        MENU_ITEM {command = EKeyboardCmdOff; txt = "Turn off";},
        MENU_ITEM {command = EEikCmdExit; txt = "Quit";}
    };
}
RESOURCE MENU_PANE r_keyboard_model {
  items =
    {
        MENU_ITEM {command = EThinkoutside; txt = "Palm/Thinkoutside"; flags=EEikMenuItemRadioStart;},
        MENU_ITEM {command = EPocketop; txt = "Pocketop"; flags=EEikMenuItemRadioMiddle;},
        MENU_ITEM {command = ETargus; txt = "Targus"; flags=EEikMenuItemRadioEnd;}
    };
}



RESOURCE MENU_PANE r_keyboard_i18n {
  items =
    {
        MENU_ITEM {command = ELayoutUS; txt = "US"; flags=EEikMenuItemRadioStart;},
        MENU_ITEM {command = ELayoutFR; txt = "FR"; flags=EEikMenuItemRadioMiddle;},
        MENU_ITEM {command = ELayoutDE; txt = "DE"; flags=EEikMenuItemRadioMiddle;},
        MENU_ITEM {command = ELayoutNO; txt = "NO"; flags=EEikMenuItemRadioMiddle;},
        MENU_ITEM {command = ELayoutPT; txt = "PT"; flags=EEikMenuItemRadioEnd;}
    };
}

RESOURCE RTXTED r_test_rtexted {
  numlines = 5;
  textlimit = 500;
  fontcontrolflags = EGulFontControlAll;
  fontnameflags = EGulNoSymbolFonts;
}

RESOURCE LABEL r_about_label {
  horiz_align = EEikLabelAlignHLeft;
  txt = "Keyboard Driver v@version_major@.@version_minor@\n(c) 2004 Chris Faherty\n            Guillaume BINET\nGPL licensed\nhttp://www.gootz.net/gbin/uiq";
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -