?? calculator.pro
字號:
qtopia_project(app)TARGET=calculatorCONFIG+=qtopia_main# library filesHEADERS = calculator.h engine.h data.h instruction.h display.h \ interfaces/stdinputwidgets.h integerdata.h integerinstruction.h \ qtopiacalcwinexport.hSOURCES = calculator.cpp engine.cpp data.cpp instruction.cpp \ display.cpp interfaces/stdinputwidgets.cpp main.cpp# double typeHEADERS += doubledata.hSOURCES += doubledata.cppFRACTION_HEADERS = fractiondata.h fractioninstruction.h doubleinstruction.hFRACTION_SOURCES = fractiondata.cpp fractioninstruction.cpp doubleinstruction.cppPHONE_HEADERS = interfaces/phone.h phoneinstruction.h \ doubleinstruction.h interfaces/simple.hPHONE_SOURCES = interfaces/phone.cpp phoneinstruction.cpp \ doubleinstruction.cpp interfaces/simple.cppSIMPLEUI_SOURCES = interfaces/simple.cppSIMPLEUI_HEADERS = interfaces/simple.hFRACTIONUI_SOURCES = interfaces/fraction.cppFRACTIONUI_HEADERS = interfaces/fraction.hSCIENCEUI_SOURCES = interfaces/advanced.cppSCIENCEUI_HEADERS = interfaces/advanced.hCONVERSIONUI_SOURCES = interfaces/conversion.cppCONVERSIONUI_HEADERS = interfaces/conversion.h TRANSLATABLES = $${FRACTION_SOURCES} $${FRACTION_HEADERS} \ $${PHONE_SOURCES} $${PHONE_HEADERS} \ $${SIMPLEUI_SOURCES} $${SIMPLEUI_HEADERS} \ $${FRACTIONUI_SOURCES} $${FRACTIONUI_HEADERS} \ $${SCIENCEUI_SOURCES} $${SCIENCEUI_HEADERS} \ $${CONVERSIONUI_SOURCES} $${CONVERSIONUI_HEADERS} !phone {#removing these components will save app size:#ENABLE_FRACTION - 320 kB#ENABLE_SCIENCE - 340 kB#ENABLE_CONVERSION - 250 kB + size of conversion filesDEFINES+=ENABLE_FRACTION ENABLE_SCIENCE ENABLE_CONVERSION HEADERS += $${FRACTION_HEADERS} SOURCES += $${FRACTION_SOURCES} HEADERS += $${FRACTIONUI_HEADERS} $${SIMPLEUI_HEADERS} \ $${SCIENCEUI_HEADERS} $${CONVERSIONUI_HEADERS} SOURCES += $${FRACTIONUI_SOURCES} $${SIMPLEUI_SOURCES} \ $${SCIENCEUI_SOURCES} $${CONVERSIONUI_SOURCES}} else { HEADERS+= $${PHONE_HEADERS} SOURCES+= $${PHONE_SOURCES}}desktop.files=$$QTOPIA_DEPOT_PATH/apps/Applications/calculator.desktopdesktop.path=/apps/Applicationsdesktop.hint=desktophelp.source=$$QTOPIA_DEPOT_PATH/helphelp.files=calculator*help.hint=helppics.files=$$QTOPIA_DEPOT_PATH/pics/calculator/*pics.path=/pics/calculatorpics.hint=picsplugindir.files=$$QTOPIA_DEPOT_PATH/plugins/calculator/.directoryplugindir.path=/plugins/calculator/INSTALLS+=desktop help pics plugindirpkg.name=qpe-calculatorpkg.desc=A pluggable calculator for Qtopia that includes a simple interface.pkg.multi=libraries/qtopiacalc plugins/calculator/simplepkg.domain=window#idep(LIBS+=-l$$TARGET)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -