├── examples ├── hyperui │ ├── hyperuilib │ │ ├── __init__.py │ │ ├── resource │ │ │ ├── __init__.py │ │ │ └── images │ │ │ │ ├── idle_line.png │ │ │ │ ├── list_abc.png │ │ │ │ ├── topbar_3g.png │ │ │ │ ├── background.png │ │ │ │ ├── menu_bt_web.png │ │ │ │ ├── top_bt_back.png │ │ │ │ ├── dialer_bk_top.png │ │ │ │ ├── dialer_bt_call.png │ │ │ │ ├── dialer_bt_mute.png │ │ │ │ ├── dialer_photo.png │ │ │ │ ├── list_abcmarker.png │ │ │ │ ├── list_divisor.png │ │ │ │ ├── list_icon_chat.png │ │ │ │ ├── menu_bt_camera.png │ │ │ │ ├── menu_bt_chat.png │ │ │ │ ├── menu_bt_email.png │ │ │ │ ├── menu_bt_folder.png │ │ │ │ ├── menu_bt_games.png │ │ │ │ ├── menu_bt_music.png │ │ │ │ ├── menu_bt_phone.png │ │ │ │ ├── screen_unlock.png │ │ │ │ ├── top_bar_active.png │ │ │ │ ├── top_bt_options.png │ │ │ │ ├── topbar_battery.png │ │ │ │ ├── topbar_network.png │ │ │ │ ├── call_photo_dani.png │ │ │ │ ├── dialer_bk_bottom.png │ │ │ │ ├── dialer_bt_dialer.png │ │ │ │ ├── list_icon_world.png │ │ │ │ ├── list_photo_dani.png │ │ │ │ ├── menu_bt_calendar.png │ │ │ │ ├── menu_bt_settings.png │ │ │ │ ├── menu_bt_twitter.png │ │ │ │ ├── call_photo_athila.png │ │ │ │ ├── call_photo_marcia.png │ │ │ │ ├── call_photo_nobody.png │ │ │ │ ├── dialer │ │ │ │ ├── background.png │ │ │ │ ├── middle_key.png │ │ │ │ ├── top_left_key.png │ │ │ │ ├── top_right_key.png │ │ │ │ ├── bottom_left_key.png │ │ │ │ ├── bottom_right_key.png │ │ │ │ ├── middle_key_pressed.png │ │ │ │ ├── top_left_key_pressed.png │ │ │ │ ├── top_right_key_pressed.png │ │ │ │ ├── bottom_left_key_pressed.png │ │ │ │ └── bottom_right_key_pressed.png │ │ │ │ ├── dialer_bt_call_over.png │ │ │ │ ├── dialer_bt_contacts.png │ │ │ │ ├── dialer_bt_endcall.png │ │ │ │ ├── dialer_bt_speaker.png │ │ │ │ ├── dialer_bullet_phone.png │ │ │ │ ├── list_photo_athila.png │ │ │ │ ├── list_photo_marcia.png │ │ │ │ ├── menu_bt_navigation.png │ │ │ │ ├── dialer_bk_lineexpand.png │ │ │ │ ├── idle_clock_structure.png │ │ │ │ ├── top_bt_back_disabled.png │ │ │ │ ├── dialer_bt_contacts_over.png │ │ │ │ ├── dialer_bt_endcall_over.png │ │ │ │ ├── dialer_display_bt_cancel.png │ │ │ │ ├── idle_clock_pointer_hour.png │ │ │ │ ├── top_bt_options_disabled.png │ │ │ │ ├── dialer_display_background.png │ │ │ │ ├── idle_clock_pointer_minutes.png │ │ │ │ └── idle_clock_pointers_middle.png │ │ ├── shared │ │ │ ├── __init__.py │ │ │ └── qt_system.py │ │ ├── qt_global.py │ │ └── view.py │ ├── hyperui │ └── setup.py ├── corelib │ ├── tools │ │ ├── qtdemo │ │ │ ├── qtdemo.rc │ │ │ ├── images │ │ │ │ ├── qt4-logo.png │ │ │ │ └── rb-logo.png │ │ │ ├── qtdemo.qrc │ │ │ ├── demos.xml │ │ │ └── qtdemo.py │ │ ├── codecs │ │ │ └── encodedfiles │ │ │ │ ├── utf-8.txt │ │ │ │ ├── utf-16.txt │ │ │ │ ├── iso-8859-1.txt │ │ │ │ ├── utf-16be.txt │ │ │ │ ├── utf-16le.txt │ │ │ │ └── iso-8859-15.txt │ │ ├── i18n │ │ │ ├── translations │ │ │ │ ├── i18n_ar.qm │ │ │ │ ├── i18n_cs.qm │ │ │ │ ├── i18n_de.qm │ │ │ │ ├── i18n_el.qm │ │ │ │ ├── i18n_en.qm │ │ │ │ ├── i18n_eo.qm │ │ │ │ ├── i18n_fr.qm │ │ │ │ ├── i18n_it.qm │ │ │ │ ├── i18n_jp.qm │ │ │ │ ├── i18n_ko.qm │ │ │ │ ├── i18n_no.qm │ │ │ │ ├── i18n_pt.qm │ │ │ │ ├── i18n_ru.qm │ │ │ │ ├── i18n_sv.qm │ │ │ │ ├── i18n_zh.qm │ │ │ │ ├── i18n_ko.ts │ │ │ │ ├── i18n_zh.ts │ │ │ │ ├── i18n_ar.ts │ │ │ │ ├── i18n_jp.ts │ │ │ │ ├── i18n_ru.ts │ │ │ │ ├── i18n_cs.ts │ │ │ │ ├── i18n_el.ts │ │ │ │ ├── i18n_en.ts │ │ │ │ ├── i18n_eo.ts │ │ │ │ ├── i18n_it.ts │ │ │ │ ├── i18n_no.ts │ │ │ │ ├── i18n_sv.ts │ │ │ │ ├── i18n_pt.ts │ │ │ │ ├── i18n_de.ts │ │ │ │ └── i18n_fr.ts │ │ │ └── i18n.qrc │ │ ├── settingseditor │ │ │ └── inifiles │ │ │ │ ├── troll.ini │ │ │ │ ├── qsa.ini │ │ │ │ └── licensepage.ini │ │ └── README │ └── threads │ │ └── README ├── network │ ├── ftp │ │ ├── images │ │ │ ├── dir.png │ │ │ ├── file.png │ │ │ └── cdtoparent.png │ │ └── ftp.qrc │ └── README ├── demos │ ├── qtdemo │ │ ├── images │ │ │ ├── demobg.png │ │ │ ├── qtlogo_small.png │ │ │ └── trolltech-logo.png │ │ ├── qtdemo.qrc │ │ ├── demoscene.py │ │ ├── guideline.py │ │ ├── scanitem.py │ │ ├── letteritem.py │ │ ├── dockitem.py │ │ └── guidecircle.py │ ├── embeddeddialogs │ │ ├── embeddeddialogs.qrc │ │ └── No-Ones-Laughing-3.jpg │ └── README ├── opengl │ ├── textures │ │ ├── images │ │ │ ├── side1.png │ │ │ ├── side2.png │ │ │ ├── side3.png │ │ │ ├── side4.png │ │ │ ├── side5.png │ │ │ └── side6.png │ │ └── textures.qrc │ └── README ├── widgets │ ├── animation │ │ ├── states │ │ │ ├── k3b.png │ │ │ ├── kchart.png │ │ │ ├── akregator.png │ │ │ ├── digikam.png │ │ │ ├── help-browser.png │ │ │ ├── accessories-dictionary.png │ │ │ └── states.qrc │ │ ├── appchooser │ │ │ ├── k3b.png │ │ │ ├── digikam.png │ │ │ ├── akregator.png │ │ │ ├── accessories-dictionary.png │ │ │ └── appchooser.qrc │ │ ├── easing │ │ │ ├── images │ │ │ │ └── qt-logo.png │ │ │ └── easing.qrc │ │ └── animatedtiles │ │ │ ├── images │ │ │ ├── tile.png │ │ │ ├── ellipse.png │ │ │ ├── figure8.png │ │ │ ├── kinetic.png │ │ │ ├── random.png │ │ │ ├── centered.png │ │ │ └── Time-For-Lunch-2.jpg │ │ │ └── animatedtiles.qrc │ ├── widgets │ │ ├── movie │ │ │ └── animation.mng │ │ ├── icons │ │ │ └── images │ │ │ │ ├── designer.png │ │ │ │ ├── find_normal.png │ │ │ │ ├── find_disabled.png │ │ │ │ ├── monkey_on_16x16.png │ │ │ │ ├── monkey_on_32x32.png │ │ │ │ ├── monkey_on_64x64.png │ │ │ │ ├── monkey_off_16x16.png │ │ │ │ ├── monkey_off_32x32.png │ │ │ │ ├── monkey_off_64x64.png │ │ │ │ ├── monkey_on_128x128.png │ │ │ │ ├── qt_extended_16x16.png │ │ │ │ ├── qt_extended_32x32.png │ │ │ │ ├── qt_extended_48x48.png │ │ │ │ └── monkey_off_128x128.png │ │ └── tooltips │ │ │ ├── images │ │ │ ├── circle.png │ │ │ ├── square.png │ │ │ └── triangle.png │ │ │ └── tooltips.qrc │ ├── draganddrop │ │ ├── puzzle │ │ │ ├── example.jpg │ │ │ └── puzzle.qrc │ │ ├── draggableicons │ │ │ ├── images │ │ │ │ ├── boat.png │ │ │ │ ├── car.png │ │ │ │ └── house.png │ │ │ └── draggableicons.qrc │ │ ├── draggabletext │ │ │ ├── draggabletext.qrc │ │ │ └── words.txt │ │ ├── fridgemagnets │ │ │ ├── fridgemagnets.qrc │ │ │ └── words.txt │ │ └── README │ ├── itemviews │ │ ├── puzzle │ │ │ ├── example.jpg │ │ │ └── puzzle.qrc │ │ ├── pixelator │ │ │ ├── images.qrc │ │ │ ├── images │ │ │ │ └── qt.png │ │ │ └── pixelator.qrc │ │ ├── chart │ │ │ ├── chart.qrc │ │ │ ├── mydata.cht │ │ │ └── qtdata.cht │ │ ├── editabletreemodel │ │ │ └── editabletreemodel.qrc │ │ ├── simpletreemodel │ │ │ └── simpletreemodel.qrc │ │ ├── README │ │ └── dirview.py │ ├── mainwindows │ │ ├── mdi │ │ │ ├── images │ │ │ │ ├── cut.png │ │ │ │ ├── new.png │ │ │ │ ├── copy.png │ │ │ │ ├── open.png │ │ │ │ ├── paste.png │ │ │ │ └── save.png │ │ │ └── mdi.qrc │ │ ├── sdi │ │ │ ├── images │ │ │ │ ├── cut.png │ │ │ │ ├── new.png │ │ │ │ ├── copy.png │ │ │ │ ├── open.png │ │ │ │ ├── paste.png │ │ │ │ └── save.png │ │ │ └── sdi.qrc │ │ ├── application │ │ │ ├── images │ │ │ │ ├── copy.png │ │ │ │ ├── cut.png │ │ │ │ ├── new.png │ │ │ │ ├── open.png │ │ │ │ ├── paste.png │ │ │ │ └── save.png │ │ │ └── application.qrc │ │ ├── dockwidgets │ │ │ ├── images │ │ │ │ ├── new.png │ │ │ │ ├── print.png │ │ │ │ ├── save.png │ │ │ │ └── undo.png │ │ │ └── dockwidgets.qrc │ │ └── README │ ├── dialogs │ │ ├── classwizard │ │ │ ├── images │ │ │ │ ├── banner.png │ │ │ │ ├── logo1.png │ │ │ │ ├── logo2.png │ │ │ │ ├── logo3.png │ │ │ │ ├── background.png │ │ │ │ ├── watermark1.png │ │ │ │ └── watermark2.png │ │ │ └── classwizard.qrc │ │ ├── configdialog │ │ │ ├── images │ │ │ │ ├── query.png │ │ │ │ ├── config.png │ │ │ │ └── update.png │ │ │ └── configdialog.qrc │ │ ├── README │ │ └── findfiles_test.py │ ├── graphicsview │ │ ├── collidingmice │ │ │ ├── mice.qrc │ │ │ └── images │ │ │ │ └── cheese.jpg │ │ ├── diagramscene │ │ │ ├── images │ │ │ │ ├── bold.png │ │ │ │ ├── delete.png │ │ │ │ ├── italic.png │ │ │ │ ├── pointer.png │ │ │ │ ├── floodfill.png │ │ │ │ ├── linecolor.png │ │ │ │ ├── sendtoback.png │ │ │ │ ├── underline.png │ │ │ │ ├── background1.png │ │ │ │ ├── background2.png │ │ │ │ ├── background3.png │ │ │ │ ├── background4.png │ │ │ │ ├── bringtofront.png │ │ │ │ ├── linepointer.png │ │ │ │ └── textpointer.png │ │ │ └── diagramscene.qrc │ │ ├── dragdroprobot │ │ │ ├── dragdroprobot.qrc │ │ │ └── images │ │ │ │ └── head.png │ │ ├── padnavigator │ │ │ ├── images │ │ │ │ ├── minitools.png │ │ │ │ ├── artsfftscope.png │ │ │ │ ├── kontact_mail.png │ │ │ │ ├── kontact_notes.png │ │ │ │ ├── kontact_journal.png │ │ │ │ ├── kopeteavailable.png │ │ │ │ ├── blue_angle_swirl.jpg │ │ │ │ ├── kontact_contacts.png │ │ │ │ └── metacontact_online.png │ │ │ └── padnavigator.qrc │ │ └── README │ ├── painting │ │ ├── basicdrawing │ │ │ ├── images │ │ │ │ ├── brick.png │ │ │ │ └── qt-logo.png │ │ │ └── basicdrawing.qrc │ │ ├── svgviewer │ │ │ └── svgviewer.qrc │ │ └── README │ ├── richtext │ │ ├── syntaxhighlighter │ │ │ ├── syntaxhighlighter.qrc │ │ │ └── examples │ │ │ │ └── example │ │ └── README │ ├── desktop │ │ ├── systray │ │ │ └── systray.qrc │ │ └── README │ ├── tutorials │ │ └── addressbook │ │ │ └── README │ ├── effects │ │ └── README │ ├── layouts │ │ └── README │ └── README ├── declarative │ ├── photoviewer │ │ ├── i18n │ │ │ ├── qml_fr.qm │ │ │ ├── qml_fr.ts │ │ │ └── base.ts │ │ ├── PhotoViewerCore │ │ │ ├── images │ │ │ │ ├── busy.png │ │ │ │ ├── cardboard.png │ │ │ │ └── box-shadow.png │ │ │ ├── qmldir │ │ │ └── script │ │ │ │ └── script.js │ │ └── photoviewer.qmlproject │ └── signals │ │ ├── qmltopy2 │ │ └── README │ │ ├── qmltopy4 │ │ └── README │ │ ├── qmltopy1 │ │ └── README │ │ ├── pytoqml1 │ │ └── README │ │ └── qmltopy3 │ │ └── README ├── tutorial │ └── README ├── script │ ├── calculator │ │ └── calculator.qrc │ └── README ├── webkit │ ├── qml-webkit-plugin │ │ ├── index.html │ │ ├── HelloWorld.qml │ │ └── main.py │ └── hellowebkit.py ├── xmlpatterns │ └── schema │ │ ├── files │ │ ├── invalid_contact.xml │ │ ├── valid_contact.xml │ │ ├── invalid_order.xml │ │ ├── valid_order.xml │ │ ├── valid_recipe.xml │ │ ├── invalid_recipe.xml │ │ ├── order.xsd │ │ ├── contact.xsd │ │ └── recipe.xsd │ │ └── schema.qrc ├── designer │ ├── README │ └── calculatorform │ │ └── calculatorform.py ├── xml │ └── README ├── sql │ └── README └── README ├── .gitignore ├── mobility ├── audiooutput │ ├── out.wav │ ├── player │ │ ├── main.qml │ │ ├── MainPage.qml │ │ └── simpleplayer.py │ └── generator │ │ ├── main.qml │ │ └── MainPage.qml ├── sysinfo │ ├── general_locked.png │ ├── general_unlock.png │ ├── qml │ │ ├── main.qml │ │ ├── ScreenSaverPage.qml │ │ ├── AvailableLanguages.qml │ │ ├── TabBarPage.qml │ │ ├── StoragePage.qml │ │ ├── NetworkDetails.qml │ │ ├── GeneralPage.qml │ │ └── DisplayPage.qml │ ├── examples.qrc │ └── sysinfo.pro ├── sensors │ └── show_als │ │ └── .main.cpp.swp ├── battery-charge │ └── README ├── feedback │ ├── main.qml │ └── MainPage.qml ├── gallery │ └── qml │ │ └── main.qml ├── organizer │ └── qml │ │ ├── main.qml │ │ └── OverviewPage.qml ├── samplephonebook │ └── qml │ │ ├── main.qml │ │ ├── SelectBackend.qml │ │ └── MainPage.qml ├── audiodevices │ └── qml │ │ ├── main.qml │ │ ├── SelectEnd.qml │ │ ├── SelectFreq.qml │ │ ├── SelectSize.qml │ │ ├── SelectType.qml │ │ ├── SelectCodec.qml │ │ ├── SelectDevice.qml │ │ └── SelectChannel.qml ├── servicebrowser │ ├── qml │ │ ├── main.qml │ │ ├── HoldButton.qml │ │ ├── ImplementationDetails.qml │ │ └── ServicesPage.qml │ └── xmldata │ │ ├── voipdialerservice.xml │ │ ├── bluetoothtransferservice.xml │ │ ├── notesmanagerservice.xml │ │ ├── filemanagerservice.xml │ │ └── landlinedialerservice.xml └── location │ ├── showcoordinates │ └── showcoordinates.py │ └── satellitedialog │ └── main.py └── README.md /examples/hyperui/hyperuilib/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/shared/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | .pydevproject 3 | .project 4 | .settings -------------------------------------------------------------------------------- /examples/corelib/tools/qtdemo/qtdemo.rc: -------------------------------------------------------------------------------- 1 | IDI_ICON1 ICON DISCARDABLE "qtdemo.ico" 2 | 3 | -------------------------------------------------------------------------------- /examples/hyperui/hyperui: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | from hyperuilib.main import main 4 | 5 | main() 6 | 7 | 8 | -------------------------------------------------------------------------------- /mobility/audiooutput/out.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/mobility/audiooutput/out.wav -------------------------------------------------------------------------------- /examples/network/ftp/images/dir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/network/ftp/images/dir.png -------------------------------------------------------------------------------- /examples/network/ftp/images/file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/network/ftp/images/file.png -------------------------------------------------------------------------------- /mobility/sysinfo/general_locked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/mobility/sysinfo/general_locked.png -------------------------------------------------------------------------------- /mobility/sysinfo/general_unlock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/mobility/sysinfo/general_unlock.png -------------------------------------------------------------------------------- /examples/demos/qtdemo/images/demobg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/demos/qtdemo/images/demobg.png -------------------------------------------------------------------------------- /mobility/sensors/show_als/.main.cpp.swp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/mobility/sensors/show_als/.main.cpp.swp -------------------------------------------------------------------------------- /examples/network/ftp/images/cdtoparent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/network/ftp/images/cdtoparent.png -------------------------------------------------------------------------------- /examples/opengl/textures/images/side1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/opengl/textures/images/side1.png -------------------------------------------------------------------------------- /examples/opengl/textures/images/side2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/opengl/textures/images/side2.png -------------------------------------------------------------------------------- /examples/opengl/textures/images/side3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/opengl/textures/images/side3.png -------------------------------------------------------------------------------- /examples/opengl/textures/images/side4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/opengl/textures/images/side4.png -------------------------------------------------------------------------------- /examples/opengl/textures/images/side5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/opengl/textures/images/side5.png -------------------------------------------------------------------------------- /examples/opengl/textures/images/side6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/opengl/textures/images/side6.png -------------------------------------------------------------------------------- /examples/widgets/animation/states/k3b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/animation/states/k3b.png -------------------------------------------------------------------------------- /examples/widgets/animation/states/kchart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/animation/states/kchart.png -------------------------------------------------------------------------------- /examples/widgets/widgets/movie/animation.mng: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/widgets/movie/animation.mng -------------------------------------------------------------------------------- /examples/declarative/photoviewer/i18n/qml_fr.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/declarative/photoviewer/i18n/qml_fr.qm -------------------------------------------------------------------------------- /examples/demos/qtdemo/images/qtlogo_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/demos/qtdemo/images/qtlogo_small.png -------------------------------------------------------------------------------- /examples/demos/qtdemo/images/trolltech-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/demos/qtdemo/images/trolltech-logo.png -------------------------------------------------------------------------------- /examples/widgets/animation/appchooser/k3b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/animation/appchooser/k3b.png -------------------------------------------------------------------------------- /examples/widgets/animation/states/akregator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/animation/states/akregator.png -------------------------------------------------------------------------------- /examples/widgets/animation/states/digikam.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/animation/states/digikam.png -------------------------------------------------------------------------------- /examples/widgets/draganddrop/puzzle/example.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/draganddrop/puzzle/example.jpg -------------------------------------------------------------------------------- /examples/widgets/itemviews/puzzle/example.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/itemviews/puzzle/example.jpg -------------------------------------------------------------------------------- /examples/widgets/mainwindows/mdi/images/cut.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/mainwindows/mdi/images/cut.png -------------------------------------------------------------------------------- /examples/widgets/mainwindows/mdi/images/new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/mainwindows/mdi/images/new.png -------------------------------------------------------------------------------- /examples/widgets/mainwindows/sdi/images/cut.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/mainwindows/sdi/images/cut.png -------------------------------------------------------------------------------- /examples/widgets/mainwindows/sdi/images/new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/mainwindows/sdi/images/new.png -------------------------------------------------------------------------------- /examples/corelib/tools/codecs/encodedfiles/utf-8.txt: -------------------------------------------------------------------------------- 1 | Språk: Norsk 2 | Γλώσσα: Ελληνικά 3 | Язык: Русский 4 | 언어 : 한국어 5 | 言語: 日本語 6 | Langage : Français 7 | -------------------------------------------------------------------------------- /examples/corelib/tools/qtdemo/images/qt4-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/corelib/tools/qtdemo/images/qt4-logo.png -------------------------------------------------------------------------------- /examples/corelib/tools/qtdemo/images/rb-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/corelib/tools/qtdemo/images/rb-logo.png -------------------------------------------------------------------------------- /examples/widgets/animation/appchooser/digikam.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/animation/appchooser/digikam.png -------------------------------------------------------------------------------- /examples/widgets/mainwindows/mdi/images/copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/mainwindows/mdi/images/copy.png -------------------------------------------------------------------------------- /examples/widgets/mainwindows/mdi/images/open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/mainwindows/mdi/images/open.png -------------------------------------------------------------------------------- /examples/widgets/mainwindows/mdi/images/paste.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/mainwindows/mdi/images/paste.png -------------------------------------------------------------------------------- /examples/widgets/mainwindows/mdi/images/save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/mainwindows/mdi/images/save.png -------------------------------------------------------------------------------- /examples/widgets/mainwindows/sdi/images/copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/mainwindows/sdi/images/copy.png -------------------------------------------------------------------------------- /examples/widgets/mainwindows/sdi/images/open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/mainwindows/sdi/images/open.png -------------------------------------------------------------------------------- /examples/widgets/mainwindows/sdi/images/paste.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/mainwindows/sdi/images/paste.png -------------------------------------------------------------------------------- /examples/widgets/mainwindows/sdi/images/save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/mainwindows/sdi/images/save.png -------------------------------------------------------------------------------- /examples/corelib/tools/i18n/translations/i18n_ar.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/corelib/tools/i18n/translations/i18n_ar.qm -------------------------------------------------------------------------------- /examples/corelib/tools/i18n/translations/i18n_cs.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/corelib/tools/i18n/translations/i18n_cs.qm -------------------------------------------------------------------------------- /examples/corelib/tools/i18n/translations/i18n_de.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/corelib/tools/i18n/translations/i18n_de.qm -------------------------------------------------------------------------------- /examples/corelib/tools/i18n/translations/i18n_el.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/corelib/tools/i18n/translations/i18n_el.qm -------------------------------------------------------------------------------- /examples/corelib/tools/i18n/translations/i18n_en.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/corelib/tools/i18n/translations/i18n_en.qm -------------------------------------------------------------------------------- /examples/corelib/tools/i18n/translations/i18n_eo.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/corelib/tools/i18n/translations/i18n_eo.qm -------------------------------------------------------------------------------- /examples/corelib/tools/i18n/translations/i18n_fr.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/corelib/tools/i18n/translations/i18n_fr.qm -------------------------------------------------------------------------------- /examples/corelib/tools/i18n/translations/i18n_it.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/corelib/tools/i18n/translations/i18n_it.qm -------------------------------------------------------------------------------- /examples/corelib/tools/i18n/translations/i18n_jp.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/corelib/tools/i18n/translations/i18n_jp.qm -------------------------------------------------------------------------------- /examples/corelib/tools/i18n/translations/i18n_ko.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/corelib/tools/i18n/translations/i18n_ko.qm -------------------------------------------------------------------------------- /examples/corelib/tools/i18n/translations/i18n_no.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/corelib/tools/i18n/translations/i18n_no.qm -------------------------------------------------------------------------------- /examples/corelib/tools/i18n/translations/i18n_pt.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/corelib/tools/i18n/translations/i18n_pt.qm -------------------------------------------------------------------------------- /examples/corelib/tools/i18n/translations/i18n_ru.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/corelib/tools/i18n/translations/i18n_ru.qm -------------------------------------------------------------------------------- /examples/corelib/tools/i18n/translations/i18n_sv.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/corelib/tools/i18n/translations/i18n_sv.qm -------------------------------------------------------------------------------- /examples/corelib/tools/i18n/translations/i18n_zh.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/corelib/tools/i18n/translations/i18n_zh.qm -------------------------------------------------------------------------------- /examples/demos/embeddeddialogs/embeddeddialogs.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | No-Ones-Laughing-3.jpg 4 | 5 | 6 | -------------------------------------------------------------------------------- /examples/tutorial/README: -------------------------------------------------------------------------------- 1 | Here are the programs in the PyQt tutorial. The original C++ tutorial itself 2 | is in http://doc.trolltech.com/4.0/tutorial.html. 3 | -------------------------------------------------------------------------------- /examples/widgets/animation/appchooser/akregator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/animation/appchooser/akregator.png -------------------------------------------------------------------------------- /examples/widgets/animation/easing/images/qt-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/animation/easing/images/qt-logo.png -------------------------------------------------------------------------------- /examples/widgets/animation/states/help-browser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/animation/states/help-browser.png -------------------------------------------------------------------------------- /examples/widgets/itemviews/pixelator/images.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | images/qt.png 4 | 5 | 6 | -------------------------------------------------------------------------------- /examples/widgets/itemviews/pixelator/images/qt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/itemviews/pixelator/images/qt.png -------------------------------------------------------------------------------- /examples/widgets/widgets/icons/images/designer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/widgets/icons/images/designer.png -------------------------------------------------------------------------------- /examples/widgets/widgets/tooltips/images/circle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/widgets/tooltips/images/circle.png -------------------------------------------------------------------------------- /examples/widgets/widgets/tooltips/images/square.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/widgets/tooltips/images/square.png -------------------------------------------------------------------------------- /examples/corelib/tools/codecs/encodedfiles/utf-16.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/corelib/tools/codecs/encodedfiles/utf-16.txt -------------------------------------------------------------------------------- /examples/demos/embeddeddialogs/No-Ones-Laughing-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/demos/embeddeddialogs/No-Ones-Laughing-3.jpg -------------------------------------------------------------------------------- /examples/widgets/animation/easing/easing.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | images/qt-logo.png 4 | 5 | -------------------------------------------------------------------------------- /examples/widgets/dialogs/classwizard/images/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/dialogs/classwizard/images/banner.png -------------------------------------------------------------------------------- /examples/widgets/dialogs/classwizard/images/logo1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/dialogs/classwizard/images/logo1.png -------------------------------------------------------------------------------- /examples/widgets/dialogs/classwizard/images/logo2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/dialogs/classwizard/images/logo2.png -------------------------------------------------------------------------------- /examples/widgets/dialogs/classwizard/images/logo3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/dialogs/classwizard/images/logo3.png -------------------------------------------------------------------------------- /examples/widgets/dialogs/configdialog/images/query.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/dialogs/configdialog/images/query.png -------------------------------------------------------------------------------- /examples/widgets/itemviews/pixelator/pixelator.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | images/qt.png 4 | 5 | 6 | -------------------------------------------------------------------------------- /examples/widgets/widgets/icons/images/find_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/widgets/icons/images/find_normal.png -------------------------------------------------------------------------------- /examples/widgets/widgets/tooltips/images/triangle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/widgets/tooltips/images/triangle.png -------------------------------------------------------------------------------- /examples/corelib/tools/codecs/encodedfiles/iso-8859-1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/corelib/tools/codecs/encodedfiles/iso-8859-1.txt -------------------------------------------------------------------------------- /examples/corelib/tools/codecs/encodedfiles/utf-16be.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/corelib/tools/codecs/encodedfiles/utf-16be.txt -------------------------------------------------------------------------------- /examples/corelib/tools/codecs/encodedfiles/utf-16le.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/corelib/tools/codecs/encodedfiles/utf-16le.txt -------------------------------------------------------------------------------- /examples/corelib/tools/settingseditor/inifiles/troll.ini: -------------------------------------------------------------------------------- 1 | [Alpha] 2 | Beta\Beta=1, 3, 4 3 | Beta\Delta=1111 4 | Beta\Epsilon=5 5 | Beta\Gamma=2 6 | Iota=7 7 | Omicron=10 8 | -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/idle_line.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/idle_line.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/list_abc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/list_abc.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/topbar_3g.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/topbar_3g.png -------------------------------------------------------------------------------- /examples/widgets/animation/animatedtiles/images/tile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/animation/animatedtiles/images/tile.png -------------------------------------------------------------------------------- /examples/widgets/dialogs/configdialog/images/config.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/dialogs/configdialog/images/config.png -------------------------------------------------------------------------------- /examples/widgets/dialogs/configdialog/images/update.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/dialogs/configdialog/images/update.png -------------------------------------------------------------------------------- /examples/widgets/graphicsview/collidingmice/mice.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | images/cheese.jpg 4 | 5 | 6 | -------------------------------------------------------------------------------- /examples/widgets/itemviews/chart/chart.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | qtdata.cht 4 | 5 | 6 | -------------------------------------------------------------------------------- /examples/widgets/mainwindows/application/images/copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/mainwindows/application/images/copy.png -------------------------------------------------------------------------------- /examples/widgets/mainwindows/application/images/cut.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/mainwindows/application/images/cut.png -------------------------------------------------------------------------------- /examples/widgets/mainwindows/application/images/new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/mainwindows/application/images/new.png -------------------------------------------------------------------------------- /examples/widgets/mainwindows/application/images/open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/mainwindows/application/images/open.png -------------------------------------------------------------------------------- /examples/widgets/mainwindows/application/images/paste.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/mainwindows/application/images/paste.png -------------------------------------------------------------------------------- /examples/widgets/mainwindows/application/images/save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/mainwindows/application/images/save.png -------------------------------------------------------------------------------- /examples/widgets/mainwindows/dockwidgets/images/new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/mainwindows/dockwidgets/images/new.png -------------------------------------------------------------------------------- /examples/widgets/mainwindows/dockwidgets/images/print.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/mainwindows/dockwidgets/images/print.png -------------------------------------------------------------------------------- /examples/widgets/mainwindows/dockwidgets/images/save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/mainwindows/dockwidgets/images/save.png -------------------------------------------------------------------------------- /examples/widgets/mainwindows/dockwidgets/images/undo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/mainwindows/dockwidgets/images/undo.png -------------------------------------------------------------------------------- /examples/widgets/painting/basicdrawing/images/brick.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/painting/basicdrawing/images/brick.png -------------------------------------------------------------------------------- /examples/widgets/painting/basicdrawing/images/qt-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/painting/basicdrawing/images/qt-logo.png -------------------------------------------------------------------------------- /examples/widgets/widgets/icons/images/find_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/widgets/icons/images/find_disabled.png -------------------------------------------------------------------------------- /examples/widgets/widgets/icons/images/monkey_on_16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/widgets/icons/images/monkey_on_16x16.png -------------------------------------------------------------------------------- /examples/widgets/widgets/icons/images/monkey_on_32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/widgets/icons/images/monkey_on_32x32.png -------------------------------------------------------------------------------- /examples/widgets/widgets/icons/images/monkey_on_64x64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/widgets/icons/images/monkey_on_64x64.png -------------------------------------------------------------------------------- /mobility/battery-charge/README: -------------------------------------------------------------------------------- 1 | Run the publisher: 2 | $ cd battery-publisher 3 | $ python main.py 4 | 5 | And the subscriber: 6 | $ qmlviewer battery-subscriber.qml 7 | -------------------------------------------------------------------------------- /examples/corelib/tools/codecs/encodedfiles/iso-8859-15.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/corelib/tools/codecs/encodedfiles/iso-8859-15.txt -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/background.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/menu_bt_web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/menu_bt_web.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/top_bt_back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/top_bt_back.png -------------------------------------------------------------------------------- /examples/widgets/animation/animatedtiles/images/ellipse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/animation/animatedtiles/images/ellipse.png -------------------------------------------------------------------------------- /examples/widgets/animation/animatedtiles/images/figure8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/animation/animatedtiles/images/figure8.png -------------------------------------------------------------------------------- /examples/widgets/animation/animatedtiles/images/kinetic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/animation/animatedtiles/images/kinetic.png -------------------------------------------------------------------------------- /examples/widgets/animation/animatedtiles/images/random.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/animation/animatedtiles/images/random.png -------------------------------------------------------------------------------- /examples/widgets/dialogs/classwizard/images/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/dialogs/classwizard/images/background.png -------------------------------------------------------------------------------- /examples/widgets/dialogs/classwizard/images/watermark1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/dialogs/classwizard/images/watermark1.png -------------------------------------------------------------------------------- /examples/widgets/dialogs/classwizard/images/watermark2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/dialogs/classwizard/images/watermark2.png -------------------------------------------------------------------------------- /examples/widgets/draganddrop/draggableicons/images/boat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/draganddrop/draggableicons/images/boat.png -------------------------------------------------------------------------------- /examples/widgets/draganddrop/draggableicons/images/car.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/draganddrop/draggableicons/images/car.png -------------------------------------------------------------------------------- /examples/widgets/draganddrop/puzzle/puzzle.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | example.jpg 4 | 5 | 6 | -------------------------------------------------------------------------------- /examples/widgets/graphicsview/diagramscene/images/bold.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/graphicsview/diagramscene/images/bold.png -------------------------------------------------------------------------------- /examples/widgets/graphicsview/dragdroprobot/dragdroprobot.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | images/head.png 4 | 5 | 6 | -------------------------------------------------------------------------------- /examples/widgets/graphicsview/dragdroprobot/images/head.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/graphicsview/dragdroprobot/images/head.png -------------------------------------------------------------------------------- /examples/widgets/itemviews/editabletreemodel/editabletreemodel.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | default.txt 4 | 5 | 6 | -------------------------------------------------------------------------------- /examples/widgets/itemviews/puzzle/puzzle.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | example.jpg 4 | 5 | 6 | -------------------------------------------------------------------------------- /examples/widgets/itemviews/simpletreemodel/simpletreemodel.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | default.txt 4 | 5 | 6 | -------------------------------------------------------------------------------- /examples/widgets/widgets/icons/images/monkey_off_16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/widgets/icons/images/monkey_off_16x16.png -------------------------------------------------------------------------------- /examples/widgets/widgets/icons/images/monkey_off_32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/widgets/icons/images/monkey_off_32x32.png -------------------------------------------------------------------------------- /examples/widgets/widgets/icons/images/monkey_off_64x64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/widgets/icons/images/monkey_off_64x64.png -------------------------------------------------------------------------------- /examples/widgets/widgets/icons/images/monkey_on_128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/widgets/icons/images/monkey_on_128x128.png -------------------------------------------------------------------------------- /examples/widgets/widgets/icons/images/qt_extended_16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/widgets/icons/images/qt_extended_16x16.png -------------------------------------------------------------------------------- /examples/widgets/widgets/icons/images/qt_extended_32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/widgets/icons/images/qt_extended_32x32.png -------------------------------------------------------------------------------- /examples/widgets/widgets/icons/images/qt_extended_48x48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/widgets/icons/images/qt_extended_48x48.png -------------------------------------------------------------------------------- /examples/declarative/signals/qmltopy2/README: -------------------------------------------------------------------------------- 1 | This example illustrates returning a value from Python to QML. 2 | 3 | When the button is clicked, the text rotates ten degrees more. 4 | -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/dialer_bk_top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/dialer_bk_top.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/dialer_bt_call.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/dialer_bt_call.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/dialer_bt_mute.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/dialer_bt_mute.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/dialer_photo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/dialer_photo.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/list_abcmarker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/list_abcmarker.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/list_divisor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/list_divisor.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/list_icon_chat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/list_icon_chat.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/menu_bt_camera.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/menu_bt_camera.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/menu_bt_chat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/menu_bt_chat.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/menu_bt_email.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/menu_bt_email.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/menu_bt_folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/menu_bt_folder.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/menu_bt_games.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/menu_bt_games.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/menu_bt_music.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/menu_bt_music.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/menu_bt_phone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/menu_bt_phone.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/screen_unlock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/screen_unlock.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/top_bar_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/top_bar_active.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/top_bt_options.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/top_bt_options.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/topbar_battery.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/topbar_battery.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/topbar_network.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/topbar_network.png -------------------------------------------------------------------------------- /examples/widgets/animation/animatedtiles/images/centered.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/animation/animatedtiles/images/centered.png -------------------------------------------------------------------------------- /examples/widgets/animation/states/accessories-dictionary.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/animation/states/accessories-dictionary.png -------------------------------------------------------------------------------- /examples/widgets/draganddrop/draggableicons/images/house.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/draganddrop/draggableicons/images/house.png -------------------------------------------------------------------------------- /examples/widgets/graphicsview/collidingmice/images/cheese.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/graphicsview/collidingmice/images/cheese.jpg -------------------------------------------------------------------------------- /examples/widgets/graphicsview/diagramscene/images/delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/graphicsview/diagramscene/images/delete.png -------------------------------------------------------------------------------- /examples/widgets/graphicsview/diagramscene/images/italic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/graphicsview/diagramscene/images/italic.png -------------------------------------------------------------------------------- /examples/widgets/graphicsview/diagramscene/images/pointer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/graphicsview/diagramscene/images/pointer.png -------------------------------------------------------------------------------- /examples/widgets/widgets/icons/images/monkey_off_128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/widgets/icons/images/monkey_off_128x128.png -------------------------------------------------------------------------------- /examples/declarative/photoviewer/PhotoViewerCore/images/busy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/declarative/photoviewer/PhotoViewerCore/images/busy.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/call_photo_dani.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/call_photo_dani.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/dialer_bk_bottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/dialer_bk_bottom.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/dialer_bt_dialer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/dialer_bt_dialer.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/list_icon_world.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/list_icon_world.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/list_photo_dani.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/list_photo_dani.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/menu_bt_calendar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/menu_bt_calendar.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/menu_bt_settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/menu_bt_settings.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/menu_bt_twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/menu_bt_twitter.png -------------------------------------------------------------------------------- /examples/widgets/animation/appchooser/accessories-dictionary.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/animation/appchooser/accessories-dictionary.png -------------------------------------------------------------------------------- /examples/widgets/graphicsview/diagramscene/images/floodfill.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/graphicsview/diagramscene/images/floodfill.png -------------------------------------------------------------------------------- /examples/widgets/graphicsview/diagramscene/images/linecolor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/graphicsview/diagramscene/images/linecolor.png -------------------------------------------------------------------------------- /examples/widgets/graphicsview/diagramscene/images/sendtoback.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/graphicsview/diagramscene/images/sendtoback.png -------------------------------------------------------------------------------- /examples/widgets/graphicsview/diagramscene/images/underline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/graphicsview/diagramscene/images/underline.png -------------------------------------------------------------------------------- /examples/widgets/graphicsview/padnavigator/images/minitools.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/graphicsview/padnavigator/images/minitools.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/call_photo_athila.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/call_photo_athila.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/call_photo_marcia.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/call_photo_marcia.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/call_photo_nobody.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/call_photo_nobody.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/dialer/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/dialer/background.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/dialer/middle_key.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/dialer/middle_key.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/dialer/top_left_key.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/dialer/top_left_key.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/dialer_bt_call_over.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/dialer_bt_call_over.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/dialer_bt_contacts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/dialer_bt_contacts.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/dialer_bt_endcall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/dialer_bt_endcall.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/dialer_bt_speaker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/dialer_bt_speaker.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/dialer_bullet_phone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/dialer_bullet_phone.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/list_photo_athila.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/list_photo_athila.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/list_photo_marcia.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/list_photo_marcia.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/menu_bt_navigation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/menu_bt_navigation.png -------------------------------------------------------------------------------- /examples/script/calculator/calculator.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | calculator.js 4 | calculator.ui 5 | 6 | 7 | -------------------------------------------------------------------------------- /examples/widgets/draganddrop/draggabletext/draggabletext.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | words.txt 4 | 5 | 6 | -------------------------------------------------------------------------------- /examples/widgets/draganddrop/fridgemagnets/fridgemagnets.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | words.txt 4 | 5 | 6 | -------------------------------------------------------------------------------- /examples/widgets/graphicsview/diagramscene/images/background1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/graphicsview/diagramscene/images/background1.png -------------------------------------------------------------------------------- /examples/widgets/graphicsview/diagramscene/images/background2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/graphicsview/diagramscene/images/background2.png -------------------------------------------------------------------------------- /examples/widgets/graphicsview/diagramscene/images/background3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/graphicsview/diagramscene/images/background3.png -------------------------------------------------------------------------------- /examples/widgets/graphicsview/diagramscene/images/background4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/graphicsview/diagramscene/images/background4.png -------------------------------------------------------------------------------- /examples/widgets/graphicsview/diagramscene/images/bringtofront.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/graphicsview/diagramscene/images/bringtofront.png -------------------------------------------------------------------------------- /examples/widgets/graphicsview/diagramscene/images/linepointer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/graphicsview/diagramscene/images/linepointer.png -------------------------------------------------------------------------------- /examples/widgets/graphicsview/diagramscene/images/textpointer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/graphicsview/diagramscene/images/textpointer.png -------------------------------------------------------------------------------- /examples/widgets/graphicsview/padnavigator/images/artsfftscope.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/graphicsview/padnavigator/images/artsfftscope.png -------------------------------------------------------------------------------- /examples/widgets/graphicsview/padnavigator/images/kontact_mail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/graphicsview/padnavigator/images/kontact_mail.png -------------------------------------------------------------------------------- /examples/widgets/graphicsview/padnavigator/images/kontact_notes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/graphicsview/padnavigator/images/kontact_notes.png -------------------------------------------------------------------------------- /examples/declarative/photoviewer/PhotoViewerCore/images/cardboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/declarative/photoviewer/PhotoViewerCore/images/cardboard.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/dialer/top_right_key.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/dialer/top_right_key.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/dialer_bk_lineexpand.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/dialer_bk_lineexpand.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/idle_clock_structure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/idle_clock_structure.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/top_bt_back_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/top_bt_back_disabled.png -------------------------------------------------------------------------------- /examples/widgets/animation/animatedtiles/images/Time-For-Lunch-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/animation/animatedtiles/images/Time-For-Lunch-2.jpg -------------------------------------------------------------------------------- /examples/widgets/graphicsview/padnavigator/images/kontact_journal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/graphicsview/padnavigator/images/kontact_journal.png -------------------------------------------------------------------------------- /examples/widgets/graphicsview/padnavigator/images/kopeteavailable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/graphicsview/padnavigator/images/kopeteavailable.png -------------------------------------------------------------------------------- /examples/widgets/richtext/syntaxhighlighter/syntaxhighlighter.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | examples/example 4 | 5 | 6 | -------------------------------------------------------------------------------- /examples/declarative/photoviewer/PhotoViewerCore/images/box-shadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/declarative/photoviewer/PhotoViewerCore/images/box-shadow.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/dialer/bottom_left_key.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/dialer/bottom_left_key.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/dialer/bottom_right_key.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/dialer/bottom_right_key.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/dialer_bt_contacts_over.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/dialer_bt_contacts_over.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/dialer_bt_endcall_over.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/dialer_bt_endcall_over.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/dialer_display_bt_cancel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/dialer_display_bt_cancel.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/idle_clock_pointer_hour.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/idle_clock_pointer_hour.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/top_bt_options_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/top_bt_options_disabled.png -------------------------------------------------------------------------------- /examples/widgets/graphicsview/padnavigator/images/blue_angle_swirl.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/graphicsview/padnavigator/images/blue_angle_swirl.jpg -------------------------------------------------------------------------------- /examples/widgets/graphicsview/padnavigator/images/kontact_contacts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/graphicsview/padnavigator/images/kontact_contacts.png -------------------------------------------------------------------------------- /examples/widgets/graphicsview/padnavigator/images/metacontact_online.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/widgets/graphicsview/padnavigator/images/metacontact_online.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/dialer/middle_key_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/dialer/middle_key_pressed.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/dialer_display_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/dialer_display_background.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/idle_clock_pointer_minutes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/idle_clock_pointer_minutes.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/idle_clock_pointers_middle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/idle_clock_pointers_middle.png -------------------------------------------------------------------------------- /examples/widgets/itemviews/chart/mydata.cht: -------------------------------------------------------------------------------- 1 | London,4,red 2 | Stockholm,5,pink 3 | Paris,2,lightgreen 4 | Rome,11,green 5 | Lisbon,9,blue 6 | Madrid,8,lightblue 7 | Berlin,6,magenta 8 | Vienna,7,purple 9 | -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/dialer/top_left_key_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/dialer/top_left_key_pressed.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/dialer/top_right_key_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/dialer/top_right_key_pressed.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/dialer/bottom_left_key_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/dialer/bottom_left_key_pressed.png -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/resource/images/dialer/bottom_right_key_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyside/pyside2-examples/HEAD/examples/hyperui/hyperuilib/resource/images/dialer/bottom_right_key_pressed.png -------------------------------------------------------------------------------- /examples/webkit/qml-webkit-plugin/index.html: -------------------------------------------------------------------------------- 1 | 2 |

QML Plugin

3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /examples/widgets/painting/basicdrawing/basicdrawing.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | images/brick.png 4 | images/qt-logo.png 5 | 6 | 7 | -------------------------------------------------------------------------------- /examples/widgets/painting/svgviewer/svgviewer.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | files/cubic.svg 4 | files/spheres.svg 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /examples/declarative/signals/qmltopy4/README: -------------------------------------------------------------------------------- 1 | This example illustrates connecting a signal from a specific QML item to 2 | Python. 3 | 4 | When the button is clicked, a notification text is printed out on the 5 | console. 6 | -------------------------------------------------------------------------------- /examples/network/ftp/ftp.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | images/cdtoparent.png 4 | images/dir.png 5 | images/file.png 6 | 7 | 8 | -------------------------------------------------------------------------------- /mobility/feedback/main.qml: -------------------------------------------------------------------------------- 1 | 2 | import QtQuick 1.1 3 | import com.nokia.meego 1.0 4 | 5 | PageStackWindow { 6 | 7 | id: rootWindow 8 | showStatusBar: false 9 | initialPage: MainPage { } 10 | 11 | } 12 | -------------------------------------------------------------------------------- /mobility/gallery/qml/main.qml: -------------------------------------------------------------------------------- 1 | 2 | import QtQuick 1.1 3 | import com.nokia.meego 1.0 4 | 5 | PageStackWindow { 6 | 7 | id: rootWindow 8 | showStatusBar: false 9 | initialPage: MainPage { } 10 | 11 | } 12 | -------------------------------------------------------------------------------- /mobility/organizer/qml/main.qml: -------------------------------------------------------------------------------- 1 | 2 | import QtQuick 1.1 3 | import com.nokia.meego 1.0 4 | 5 | PageStackWindow { 6 | 7 | id: rootWindow 8 | showStatusBar: false 9 | initialPage: OverviewPage { } 10 | } 11 | -------------------------------------------------------------------------------- /mobility/samplephonebook/qml/main.qml: -------------------------------------------------------------------------------- 1 | 2 | import QtQuick 1.1 3 | import com.nokia.meego 1.0 4 | 5 | PageStackWindow { 6 | 7 | id: rootWindow 8 | showStatusBar: false 9 | initialPage: MainPage { } 10 | } 11 | -------------------------------------------------------------------------------- /mobility/sysinfo/qml/main.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 1.1 2 | import com.nokia.meego 1.0 3 | 4 | PageStackWindow { 5 | id: appWindow 6 | 7 | initialPage: tabBarPage 8 | 9 | TabBarPage { id: tabBarPage } 10 | } 11 | -------------------------------------------------------------------------------- /mobility/audiodevices/qml/main.qml: -------------------------------------------------------------------------------- 1 | 2 | import QtQuick 1.1 3 | import com.nokia.meego 1.0 4 | 5 | PageStackWindow { 6 | 7 | id: rootWindow 8 | showStatusBar: false 9 | initialPage: MainPage { } 10 | 11 | } 12 | -------------------------------------------------------------------------------- /mobility/audiooutput/player/main.qml: -------------------------------------------------------------------------------- 1 | 2 | import QtQuick 1.1 3 | import com.nokia.meego 1.0 4 | 5 | PageStackWindow { 6 | 7 | id: rootWindow 8 | showStatusBar: false 9 | initialPage: MainPage { } 10 | 11 | } 12 | -------------------------------------------------------------------------------- /mobility/servicebrowser/qml/main.qml: -------------------------------------------------------------------------------- 1 | 2 | import QtQuick 1.1 3 | import com.nokia.meego 1.0 4 | 5 | PageStackWindow { 6 | 7 | id: rootWindow 8 | showStatusBar: false 9 | initialPage: ServicesPage { } 10 | } 11 | -------------------------------------------------------------------------------- /mobility/sysinfo/examples.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | general_locked.png 4 | 5 | 6 | general_unlock.png 7 | 8 | 9 | -------------------------------------------------------------------------------- /mobility/audiooutput/generator/main.qml: -------------------------------------------------------------------------------- 1 | 2 | import QtQuick 1.1 3 | import com.nokia.meego 1.0 4 | 5 | PageStackWindow { 6 | 7 | id: rootWindow 8 | showStatusBar: false 9 | initialPage: MainPage { } 10 | 11 | } 12 | -------------------------------------------------------------------------------- /examples/widgets/desktop/systray/systray.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | images/bad.svg 4 | images/heart.svg 5 | images/trash.svg 6 | 7 | 8 | -------------------------------------------------------------------------------- /examples/widgets/widgets/tooltips/tooltips.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | images/circle.png 4 | images/square.png 5 | images/triangle.png 6 | 7 | 8 | -------------------------------------------------------------------------------- /examples/widgets/dialogs/configdialog/configdialog.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | images/config.png 4 | images/query.png 5 | images/update.png 6 | 7 | 8 | -------------------------------------------------------------------------------- /examples/declarative/signals/qmltopy1/README: -------------------------------------------------------------------------------- 1 | This example illustrates exposing a Python object to QML and explicitly calling 2 | a Python function from QML. 3 | 4 | When the button is clicked, a few strings and doubles are printed on the 5 | console. 6 | -------------------------------------------------------------------------------- /examples/widgets/draganddrop/draggableicons/draggableicons.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | images/boat.png 4 | images/car.png 5 | images/house.png 6 | 7 | 8 | -------------------------------------------------------------------------------- /examples/corelib/tools/qtdemo/qtdemo.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | demos.xml 4 | examples.xml 5 | images/qt4-logo.png 6 | images/rb-logo.png 7 | 8 | 9 | -------------------------------------------------------------------------------- /examples/widgets/animation/appchooser/appchooser.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | accessories-dictionary.png 4 | akregator.png 5 | digikam.png 6 | k3b.png 7 | 8 | 9 | -------------------------------------------------------------------------------- /examples/declarative/signals/pytoqml1/README: -------------------------------------------------------------------------------- 1 | This example illustrates connecting a signal originating from Python to 2 | a QML function. 3 | 4 | A timer is defined in Python, ticking at 2-second intervals. Whenever 5 | the timer ticks, the rectangle is rotated 45 degrees clockwise. 6 | -------------------------------------------------------------------------------- /examples/widgets/mainwindows/dockwidgets/dockwidgets.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | images/new.png 4 | images/print.png 5 | images/save.png 6 | images/undo.png 7 | 8 | 9 | -------------------------------------------------------------------------------- /examples/demos/qtdemo/qtdemo.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | xml/examples.xml 4 | images/qtlogo_small.png 5 | images/trolltech-logo.png 6 | images/demobg.png 7 | 8 | 9 | -------------------------------------------------------------------------------- /examples/declarative/photoviewer/PhotoViewerCore/qmldir: -------------------------------------------------------------------------------- 1 | AlbumDelegate AlbumDelegate.qml 2 | PhotoDelegate PhotoDelegate.qml 3 | ProgressBar ProgressBar.qml 4 | RssModel RssModel.qml 5 | BusyIndicator BusyIndicator.qml 6 | EditableButton EditableButton.qml 7 | Button Button.qml 8 | Tag Tag.qml 9 | -------------------------------------------------------------------------------- /examples/widgets/animation/states/states.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | accessories-dictionary.png 4 | akregator.png 5 | digikam.png 6 | help-browser.png 7 | k3b.png 8 | kchart.png 9 | 10 | 11 | -------------------------------------------------------------------------------- /examples/opengl/textures/textures.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | images/side1.png 4 | images/side2.png 5 | images/side3.png 6 | images/side4.png 7 | images/side5.png 8 | images/side6.png 9 | 10 | 11 | -------------------------------------------------------------------------------- /examples/widgets/mainwindows/mdi/mdi.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | images/copy.png 4 | images/cut.png 5 | images/new.png 6 | images/open.png 7 | images/paste.png 8 | images/save.png 9 | 10 | 11 | -------------------------------------------------------------------------------- /examples/widgets/mainwindows/sdi/sdi.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | images/copy.png 4 | images/cut.png 5 | images/new.png 6 | images/open.png 7 | images/paste.png 8 | images/save.png 9 | 10 | 11 | -------------------------------------------------------------------------------- /mobility/audiooutput/player/MainPage.qml: -------------------------------------------------------------------------------- 1 | 2 | 3 | import QtQuick 1.1 4 | import com.nokia.meego 1.0 5 | 6 | Page { 7 | id: mainPage 8 | anchors.margins: rootWindow.pageMargin 9 | 10 | Button { 11 | id: play 12 | text: "Play!" 13 | anchors.fill: parent 14 | onClicked: player.play() 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /mobility/sysinfo/qml/ScreenSaverPage.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 1.1 2 | import com.nokia.meego 1.0 3 | 4 | Page { 5 | id: screenSaverTab 6 | orientationLock: PageOrientation.LockLandscape 7 | anchors.margins: UiConstants.DefaultMargin 8 | 9 | RadioButton { text: "Screen saver inhibited"; checked: sysinfo.screenSaverInhibited } 10 | } 11 | -------------------------------------------------------------------------------- /examples/declarative/signals/qmltopy3/README: -------------------------------------------------------------------------------- 1 | This example illustrates connecting signals from QML to Python in 2 | Python using a top-level QML signal. 3 | 4 | When the button is held depressed, the button turns upside down. The 5 | text rotation angle is printed out on the console. Also, a notification 6 | text about the button having been clicked is displayed. 7 | -------------------------------------------------------------------------------- /examples/widgets/mainwindows/application/application.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | images/copy.png 4 | images/cut.png 5 | images/new.png 6 | images/open.png 7 | images/paste.png 8 | images/save.png 9 | 10 | 11 | -------------------------------------------------------------------------------- /examples/hyperui/setup.py: -------------------------------------------------------------------------------- 1 | 2 | from distutils.core import setup 3 | 4 | setup(name='HyperUI Demo', 5 | version='1.0', 6 | description='HyperUI Demo', 7 | author='Renato Filho', 8 | author_email='renato.filho@openbossa.org', 9 | packages=['hyperuilib', 'hyperuilib.shared', 'hyperuilib.resource'], 10 | scripts=['hyperui'] 11 | ) 12 | 13 | -------------------------------------------------------------------------------- /examples/xmlpatterns/schema/files/invalid_contact.xml: -------------------------------------------------------------------------------- 1 | 2 | John 3 | Doe 4 | Prof. 5 | 6 | Sandakerveien 116 7 | N-0550 8 | Oslo 9 | Norway 10 | 11 | 12 | -------------------------------------------------------------------------------- /examples/xmlpatterns/schema/files/valid_contact.xml: -------------------------------------------------------------------------------- 1 | 2 | John 3 | Doe 4 | 1977-12-25 5 | 6 | Sandakerveien 116 7 | N-0550 8 | Oslo 9 | Norway 10 | 11 | 12 | -------------------------------------------------------------------------------- /examples/demos/qtdemo/demoscene.py: -------------------------------------------------------------------------------- 1 | from PySide2 import QtGui 2 | 3 | 4 | class DemoScene(QtGui.QGraphicsScene): 5 | def drawItems(self, painter, items, options, widget): 6 | for item, option in zip(items, options): 7 | painter.save() 8 | painter.setMatrix(item.sceneMatrix(), True) 9 | item.paint(painter, option, widget) 10 | painter.restore() 11 | -------------------------------------------------------------------------------- /examples/xmlpatterns/schema/files/invalid_order.xml: -------------------------------------------------------------------------------- 1 | 2 | 234219 3 |
4 | 21692 5 | 3 6 |
7 |
8 | 24749 9 | 9 10 |
11 | 2009-01-23 12 | yes 13 |
14 | -------------------------------------------------------------------------------- /examples/widgets/dialogs/classwizard/classwizard.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | images/background.png 4 | images/banner.png 5 | images/logo1.png 6 | images/logo2.png 7 | images/logo3.png 8 | images/watermark1.png 9 | images/watermark2.png 10 | 11 | 12 | -------------------------------------------------------------------------------- /examples/widgets/animation/animatedtiles/animatedtiles.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | images/Time-For-Lunch-2.jpg 4 | images/centered.png 5 | images/ellipse.png 6 | images/figure8.png 7 | images/kinetic.png 8 | images/random.png 9 | images/tile.png 10 | 11 | 12 | -------------------------------------------------------------------------------- /mobility/servicebrowser/xmldata/voipdialerservice.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | VoipDialer 4 | serviceframework_voipdialerservice 5 | Voip Dialer 6 | 7 | com.nokia.qt.examples.Dialer 8 | 1.0 9 | VoIP based implementation Dialer 10 | 11 | 12 | -------------------------------------------------------------------------------- /examples/declarative/photoviewer/photoviewer.qmlproject: -------------------------------------------------------------------------------- 1 | import QmlProject 1.0 2 | 3 | Project { 4 | /* Include .qml, .js, and image files from current directory and subdirectories */ 5 | QmlFiles { 6 | directory: "." 7 | } 8 | JavaScriptFiles { 9 | directory: "." 10 | } 11 | ImageFiles { 12 | directory: "." 13 | } 14 | /* List of plugin directories passed to QML runtime */ 15 | // importPaths: [ " ../exampleplugin " ] 16 | } 17 | -------------------------------------------------------------------------------- /examples/widgets/draganddrop/draggabletext/words.txt: -------------------------------------------------------------------------------- 1 | Qt 2 | Quarterly 3 | is 4 | a 5 | paper 6 | based 7 | newsletter 8 | exclusively 9 | available 10 | to 11 | Qt 12 | customers 13 | Every 14 | quarter 15 | we 16 | mail 17 | out 18 | an 19 | issue 20 | that 21 | we 22 | hope 23 | will 24 | bring 25 | added 26 | insight 27 | and 28 | pleasure 29 | to 30 | your 31 | Qt 32 | programming 33 | with 34 | high 35 | quality 36 | technical 37 | articles 38 | written 39 | by 40 | Qt 41 | experts 42 | -------------------------------------------------------------------------------- /examples/webkit/qml-webkit-plugin/HelloWorld.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 1.1 2 | 3 | Rectangle { 4 | id: root 5 | width: 300 6 | height: 300 7 | color: "red" 8 | 9 | Text { 10 | text: "Hello World!" 11 | font.pixelSize: 30 12 | anchors.centerIn: parent 13 | 14 | NumberAnimation on rotation { 15 | from: 0 16 | to: 360 17 | duration: 2000 18 | loops: Animation.Infinite 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /examples/corelib/tools/settingseditor/inifiles/qsa.ini: -------------------------------------------------------------------------------- 1 | [Field%201] 2 | Bottom=65 3 | Left=0 4 | Right=299 5 | Text=QSA Build Options 6 | Top=9 7 | Type=Groupbox 8 | 9 | [Field%202] 10 | Bottom=37 11 | Left=20 12 | Right=284 13 | Text=Don't compile QSA Workbench into QSA. 14 | Top=27 15 | Type=Checkbox 16 | 17 | [Field%203] 18 | Bottom=56 19 | Left=20 20 | Right=247 21 | Text=Don't compile QSA Workbench nor QSA Editor into QSA. 22 | Top=45 23 | Type=Checkbox 24 | 25 | [Settings] 26 | NumFields=3 27 | -------------------------------------------------------------------------------- /examples/widgets/itemviews/chart/qtdata.cht: -------------------------------------------------------------------------------- 1 | Scientific Research,21,#99e600 2 | Engineering & Design,18,#99cc00 3 | Automotive,14,#99b300 4 | Aerospace,13,#9f991a 5 | Automation & Machine Tools,13,#a48033 6 | Medical & Bioinformatics,13,#a9664d 7 | Imaging & Special Effects,12,#ae4d66 8 | Defense,11,#b33380 9 | Test & Measurement Systems,9,#a64086 10 | Oil & Gas,9,#994d8d 11 | Entertainment & Broadcasting,7,#8d5a93 12 | Financial,6,#806699 13 | Consumer Electronics,4,#8073a6 14 | Other,38,#8080b3 15 | -------------------------------------------------------------------------------- /mobility/servicebrowser/xmldata/bluetoothtransferservice.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | BluetoothTransferService 4 | serviceframework_bluetoothtransferplugin 5 | Example Bluetooth transfer service 6 | 7 | com.nokia.qt.examples.FileTransfer 8 | 1.0 9 | Implementation of FileTransferInterface 10 | 11 | 12 | -------------------------------------------------------------------------------- /mobility/servicebrowser/xmldata/notesmanagerservice.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | NotesManagerService 4 | serviceframework_notesmanagerplugin 5 | Notes Manager Service 6 | 7 | com.nokia.qt.examples.NotesManager 8 | 1.0 9 | Notes Management Interface 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /examples/widgets/draganddrop/fridgemagnets/words.txt: -------------------------------------------------------------------------------- 1 | Colorless 2 | green 3 | ideas 4 | sleep 5 | furiously 6 | A 7 | colorless 8 | green 9 | idea 10 | is 11 | a 12 | new 13 | untried 14 | idea 15 | that 16 | is 17 | without 18 | vividness 19 | dull 20 | and 21 | unexciting 22 | To 23 | sleep 24 | furiously 25 | may 26 | seem 27 | a 28 | puzzling 29 | turn 30 | of 31 | phrase 32 | but 33 | the 34 | mind 35 | in 36 | sleep 37 | often 38 | indeed 39 | moves 40 | furiously 41 | with 42 | ideas 43 | and 44 | images 45 | flickering 46 | in 47 | and 48 | out 49 | -------------------------------------------------------------------------------- /examples/xmlpatterns/schema/files/valid_order.xml: -------------------------------------------------------------------------------- 1 | 2 | 194223 3 |
4 | 22242 5 | 5 6 |
7 |
8 | 32372 9 | 12 10 | without stripes 11 |
12 |
13 | 23649 14 | 2 15 |
16 | 2009-01-23 17 | true 18 |
19 | -------------------------------------------------------------------------------- /examples/widgets/graphicsview/padnavigator/padnavigator.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | images/blue_angle_swirl.jpg 4 | images/artsfftscope.png 5 | images/kontact_contacts.png 6 | images/kontact_journal.png 7 | images/kontact_mail.png 8 | images/kontact_notes.png 9 | images/kopeteavailable.png 10 | images/metacontact_online.png 11 | images/minitools.png 12 | images/blue_angle_swirl.jpg 13 | 14 | 15 | -------------------------------------------------------------------------------- /mobility/sysinfo/qml/AvailableLanguages.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 1.1 2 | import com.nokia.meego 1.0 3 | 4 | Page { 5 | id: availableLanguages 6 | anchors.margins: UiConstants.DefaultMargin 7 | orientationLock: PageOrientation.LockPortrait 8 | 9 | ListView { 10 | anchors.fill: parent 11 | anchors.centerIn: parent 12 | model: sysinfo.availableManagers 13 | delegate: Button { 14 | text: modelData 15 | onClicked: { 16 | languageButton.text = text 17 | pageStack.pop() 18 | } 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /examples/xmlpatterns/schema/files/valid_recipe.xml: -------------------------------------------------------------------------------- 1 | 2 | Cheese on Toast 3 | 4 | 5 | 14 | -------------------------------------------------------------------------------- /examples/designer/README: -------------------------------------------------------------------------------- 1 | Qt Designer is a capable graphical user interface designer that lets you 2 | create and configure forms without writing code. GUIs created with 3 | Qt Designer can be converted to Python code or created at run-time. 4 | 5 | 6 | Finding the PyQt Examples and Demos launcher 7 | ============================================ 8 | 9 | On Windows: 10 | 11 | The launcher can be accessed via the Windows Start menu. Select the menu 12 | entry entitled "Examples and Demos" entry in the submenu containing PySide. 13 | 14 | On all platforms: 15 | 16 | The source code for the launcher can be found in the examples/tools/qtdemo 17 | directory in the PyQt package. 18 | -------------------------------------------------------------------------------- /examples/xmlpatterns/schema/files/invalid_recipe.xml: -------------------------------------------------------------------------------- 1 | 2 | Cheese on Toast 3 | 4 | 5 | 15 | -------------------------------------------------------------------------------- /examples/xmlpatterns/schema/schema.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | files/contact.xsd 4 | files/recipe.xsd 5 | files/order.xsd 6 | files/valid_contact.xml 7 | files/invalid_contact.xml 8 | files/valid_recipe.xml 9 | files/invalid_recipe.xml 10 | files/valid_order.xml 11 | files/invalid_order.xml 12 | 13 | 14 | -------------------------------------------------------------------------------- /mobility/servicebrowser/xmldata/filemanagerservice.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | FileManagerService 4 | serviceframework_filemanagerplugin 5 | Example file manager service 6 | 7 | com.nokia.qt.examples.FileStorage 8 | 1.0 9 | Implementation of FileStorageInterface 10 | 11 | 12 | com.nokia.qt.examples.FileTransfer 13 | 1.0 14 | Implementation of FileTransferInterface 15 | 16 | 17 | -------------------------------------------------------------------------------- /examples/corelib/tools/i18n/i18n.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | translations/i18n_ar.qm 4 | translations/i18n_cs.qm 5 | translations/i18n_de.qm 6 | translations/i18n_el.qm 7 | translations/i18n_en.qm 8 | translations/i18n_eo.qm 9 | translations/i18n_fr.qm 10 | translations/i18n_it.qm 11 | translations/i18n_jp.qm 12 | translations/i18n_ko.qm 13 | translations/i18n_no.qm 14 | translations/i18n_ru.qm 15 | translations/i18n_sv.qm 16 | translations/i18n_zh.qm 17 | 18 | 19 | -------------------------------------------------------------------------------- /mobility/servicebrowser/xmldata/landlinedialerservice.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | LandlineDialer 4 | serviceframework_landlinedialerservice 5 | Landline Dialer 6 | 7 | com.nokia.qt.examples.Dialer 8 | 1.0 9 | Landline based implementation of Dialer 10 | 11 | 12 | com.nokia.qt.examples.Dialer 13 | 2.0 14 | Landline based implementation of Dialer 15 | encrypted 16 | 17 | 18 | -------------------------------------------------------------------------------- /examples/widgets/graphicsview/diagramscene/diagramscene.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | images/pointer.png 4 | images/linepointer.png 5 | images/textpointer.png 6 | images/bold.png 7 | images/italic.png 8 | images/underline.png 9 | images/floodfill.png 10 | images/bringtofront.png 11 | images/delete.png 12 | images/sendtoback.png 13 | images/linecolor.png 14 | images/background1.png 15 | images/background2.png 16 | images/background3.png 17 | images/background4.png 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /examples/declarative/photoviewer/PhotoViewerCore/script/script.js: -------------------------------------------------------------------------------- 1 | .pragma library 2 | 3 | function getWidth(string) { 4 | return (string.match(/width=\"([0-9]+)\"/))[1] 5 | } 6 | 7 | function getHeight(string) { 8 | return (string.match(/height=\"([0-9]+)\"/))[1] 9 | } 10 | 11 | function getImagePath(string) { 12 | var pattern = /src=\"http:\/\/(\S+)\"/ 13 | return (string.match(pattern))[1] 14 | } 15 | 16 | function calculateScale(width, height, cellSize) { 17 | var widthScale = (cellSize * 1.0) / width 18 | var heightScale = (cellSize * 1.0) / height 19 | var scale = 0 20 | 21 | if (widthScale <= heightScale) { 22 | scale = widthScale; 23 | } else if (heightScale < widthScale) { 24 | scale = heightScale; 25 | } 26 | return scale; 27 | } 28 | -------------------------------------------------------------------------------- /examples/widgets/tutorials/addressbook/README: -------------------------------------------------------------------------------- 1 | The Address Book Tutorial shows how to put together a simple yet 2 | fully-functioning GUI application. The tutorial chapters can be found in the 3 | Qt documentation, which can be viewed using Qt Assistant or a Web browser. 4 | 5 | The tutorial is also available online at 6 | 7 | http://doc.trolltech.com/tutorial.html 8 | 9 | 10 | Finding the PyQt Examples and Demos launcher 11 | ============================================ 12 | 13 | On Windows: 14 | 15 | The launcher can be accessed via the Windows Start menu. Select the menu 16 | entry entitled "Examples and Demos" entry in the submenu containing PyQt4. 17 | 18 | On all platforms: 19 | 20 | The source code for the launcher can be found in the examples/demos/qtdemo 21 | directory in the PyQt package. 22 | -------------------------------------------------------------------------------- /examples/script/README: -------------------------------------------------------------------------------- 1 | PyQt provides the QtScript module that contains classes that allow Qt's 2 | JavaScript interpreter to be used to script applications. 3 | 4 | 5 | The example launcher provided with PyQt can be used to explore each of the 6 | examples in this directory. 7 | 8 | Documentation for these examples can be found via the Tutorial and Examples 9 | link in the main Qt documentation. 10 | 11 | 12 | Finding the PyQt Examples and Demos launcher 13 | ============================================ 14 | 15 | On Windows: 16 | 17 | The launcher can be accessed via the Windows Start menu. Select the menu 18 | entry entitled "Examples and Demos" entry in the submenu containing PySide. 19 | 20 | On all platforms: 21 | 22 | The source code for the launcher can be found in the examples/tools/qtdemo 23 | directory in the PyQt package. 24 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Examples 2 | ======== 3 | 4 | PySide2 example scripts for PySide2. If you would like to install PySide2, please go to [pyside2-setup](https://github.com/PySide/pyside2-setup) for instructions. 5 | 6 | Resources: 7 | 8 | * [PySide2-setup](https://github.com/PySide/pyside2-setup) 9 | The container-project with the setup.py script. It contains the following sub-projects: 10 | * [PySide2 Wiki](https://github.com/PySide/pyside2/wiki) 11 | Developer information 12 | * [PySide2](https://github.com/PySide/pyside2) 13 | The PySide2 project 14 | * [Shiboken2](https://github.com/PySide/shiboken2) 15 | The Shiboken2 project 16 | * [PySide2-tools](https://github.com/PySide/pyside2-examples) 17 | The PySide2-tools project 18 | * [PySide2-examples](https://github.com/PySide/pyside2-examples) 19 | The PySide2 example scripts 20 | -------------------------------------------------------------------------------- /mobility/location/showcoordinates/showcoordinates.py: -------------------------------------------------------------------------------- 1 | from PySide.QtCore import * 2 | from QtMobility.Location import * 3 | import sys 4 | 5 | class ShowCoordinates: 6 | def __init__(self): 7 | self.source = QGeoPositionInfoSource.createDefaultSource(None) 8 | if self.source is not None: 9 | self.source.setUpdateInterval(5000) 10 | self.source.positionUpdated.connect(self.positionUpdated) 11 | self.source.startUpdates() 12 | print "Waiting for a fix..." 13 | 14 | 15 | def positionUpdated(self, update): 16 | print "position:" 17 | print "%s, %s" % (update.coordinate().latitude(), update.coordinate().longitude()) 18 | 19 | 20 | if __name__ == "__main__": 21 | 22 | app = QCoreApplication([]) 23 | reader = ShowCoordinates() 24 | sys.exit(app.exec_()) 25 | 26 | 27 | -------------------------------------------------------------------------------- /examples/widgets/effects/README: -------------------------------------------------------------------------------- 1 | PyQt supports a number of graphics effects including blurring, drop shadows, 2 | opacity and colorizing. 3 | 4 | These examples demonstrate these different effects. 5 | 6 | 7 | The example launcher provided with PyQt can be used to explore each of the 8 | examples in this directory. 9 | 10 | Documentation for these examples can be found via the Tutorial and Examples 11 | link in the main Qt documentation. 12 | 13 | 14 | Finding the PyQt Examples and Demos launcher 15 | ============================================ 16 | 17 | On Windows: 18 | 19 | The launcher can be accessed via the Windows Start menu. Select the menu 20 | entry entitled "Examples and Demos" entry in the submenu containing PyQt4. 21 | 22 | On all platforms: 23 | 24 | The source code for the launcher can be found in the examples/demos/qtdemo 25 | directory in the PyQt package. 26 | -------------------------------------------------------------------------------- /mobility/sysinfo/sysinfo.pro: -------------------------------------------------------------------------------- 1 | QT += network 2 | 3 | TARGET = qsysinfo 4 | TEMPLATE = app 5 | 6 | 7 | SOURCES += main.cpp\ 8 | dialog.cpp 9 | 10 | HEADERS += dialog.h 11 | RESOURCES = examples.qrc 12 | 13 | INCLUDEPATH += ../../src/systeminfo 14 | 15 | include(../examples.pri) 16 | CONFIG += mobility 17 | MOBILITY = systeminfo 18 | 19 | CONFIG += console 20 | 21 | win32 { 22 | FORMS += dialog.ui 23 | } 24 | 25 | unix: { 26 | linux-*: { 27 | maemo* { 28 | FORMS += dialog_landscape.ui 29 | } else { 30 | FORMS += dialog.ui 31 | } 32 | } 33 | 34 | mac: { 35 | FORMS += dialog.ui 36 | } 37 | } 38 | 39 | symbian { 40 | TARGET.CAPABILITY = LocalServices NetworkServices ReadUserData UserEnvironment Location ReadDeviceData 41 | TARGET.UID3 = 0x2002ac7e 42 | FORMS += dialog_s60.ui 43 | } 44 | -------------------------------------------------------------------------------- /examples/widgets/graphicsview/README: -------------------------------------------------------------------------------- 1 | PyQt is provided with a comprehensive canvas through the GraphicsView 2 | classes. 3 | 4 | These examples demonstrate the fundamental aspects of canvas programming 5 | with PyQt. 6 | 7 | 8 | The example launcher provided with PyQt can be used to explore each of the 9 | examples in this directory. 10 | 11 | Documentation for these examples can be found via the Tutorial and Examples 12 | link in the main Qt documentation. 13 | 14 | 15 | Finding the PyQt Examples and Demos launcher 16 | ============================================ 17 | 18 | On Windows: 19 | 20 | The launcher can be accessed via the Windows Start menu. Select the menu 21 | entry entitled "Examples and Demos" entry in the submenu containing PyQt4. 22 | 23 | On all platforms: 24 | 25 | The source code for the launcher can be found in the examples/demos/qtdemo 26 | directory in the PyQt package. 27 | -------------------------------------------------------------------------------- /mobility/audiodevices/qml/SelectEnd.qml: -------------------------------------------------------------------------------- 1 | 2 | import QtQuick 1.1 3 | import com.nokia.meego 1.0 4 | 5 | Page { 6 | id: selectDevice 7 | anchors.margins: UiConstants.DefaultMargin 8 | orientationLock: PageOrientation.LockLandscape 9 | 10 | ListView { 11 | anchors.fill: parent 12 | anchors.centerIn: parent 13 | model: audioPlayer.availableEnds 14 | delegate: Button { 15 | text: modelData 16 | onClicked: { 17 | audioPlayer.endChanged(modelData) 18 | endBut.text = modelData 19 | cleanupNearest() 20 | pageStack.pop() 21 | } 22 | } 23 | } 24 | 25 | tools: ToolBarLayout { 26 | id: mainTools 27 | ToolButton { 28 | text: "Cancel" 29 | onClicked: { 30 | pageStack.pop() 31 | } 32 | } 33 | } 34 | } 35 | 36 | -------------------------------------------------------------------------------- /examples/widgets/dialogs/README: -------------------------------------------------------------------------------- 1 | PyQt includes standard dialogs for many common operations, such as file 2 | selection, printing, and color selection. 3 | 4 | Custom dialogs can also be created for specialized modal or modeless 5 | interactions with users. 6 | 7 | 8 | The example launcher provided with PyQt can be used to explore each of the 9 | examples in this directory. 10 | 11 | Documentation for these examples can be found via the Tutorial and Examples 12 | link in the main Qt documentation. 13 | 14 | 15 | Finding the PyQt Examples and Demos launcher 16 | ============================================ 17 | 18 | On Windows: 19 | 20 | The launcher can be accessed via the Windows Start menu. Select the menu 21 | entry entitled "Examples and Demos" entry in the submenu containing PyQt4. 22 | 23 | On all platforms: 24 | 25 | The source code for the launcher can be found in the examples/demos/qtdemo 26 | directory in the PyQt package. 27 | -------------------------------------------------------------------------------- /mobility/audiodevices/qml/SelectFreq.qml: -------------------------------------------------------------------------------- 1 | 2 | import QtQuick 1.1 3 | import com.nokia.meego 1.0 4 | 5 | Page { 6 | id: selectDevice 7 | anchors.margins: UiConstants.DefaultMargin 8 | orientationLock: PageOrientation.LockLandscape 9 | 10 | ListView { 11 | anchors.fill: parent 12 | anchors.centerIn: parent 13 | model: audioPlayer.availableFreqs 14 | delegate: Button { 15 | text: modelData 16 | onClicked: { 17 | audioPlayer.freqChanged(modelData) 18 | freqBut.text = modelData 19 | cleanupNearest() 20 | pageStack.pop() 21 | } 22 | } 23 | } 24 | 25 | tools: ToolBarLayout { 26 | id: mainTools 27 | ToolButton { 28 | text: "Cancel" 29 | onClicked: { 30 | pageStack.pop() 31 | } 32 | } 33 | } 34 | } 35 | 36 | -------------------------------------------------------------------------------- /mobility/audiodevices/qml/SelectSize.qml: -------------------------------------------------------------------------------- 1 | 2 | import QtQuick 1.1 3 | import com.nokia.meego 1.0 4 | 5 | Page { 6 | id: selectDevice 7 | anchors.margins: UiConstants.DefaultMargin 8 | orientationLock: PageOrientation.LockLandscape 9 | 10 | ListView { 11 | anchors.fill: parent 12 | anchors.centerIn: parent 13 | model: audioPlayer.availableSizes 14 | delegate: Button { 15 | text: modelData 16 | onClicked: { 17 | audioPlayer.sizeChanged(modelData) 18 | sizeBut.text = modelData 19 | cleanupNearest() 20 | pageStack.pop() 21 | } 22 | } 23 | } 24 | 25 | tools: ToolBarLayout { 26 | id: mainTools 27 | ToolButton { 28 | text: "Cancel" 29 | onClicked: { 30 | pageStack.pop() 31 | } 32 | } 33 | } 34 | } 35 | 36 | -------------------------------------------------------------------------------- /mobility/audiodevices/qml/SelectType.qml: -------------------------------------------------------------------------------- 1 | 2 | import QtQuick 1.1 3 | import com.nokia.meego 1.0 4 | 5 | Page { 6 | id: selectDevice 7 | anchors.margins: UiConstants.DefaultMargin 8 | orientationLock: PageOrientation.LockLandscape 9 | 10 | ListView { 11 | anchors.fill: parent 12 | anchors.centerIn: parent 13 | model: audioPlayer.availableTypes 14 | delegate: Button { 15 | text: modelData 16 | onClicked: { 17 | audioPlayer.typeChanged(modelData) 18 | typeBut.text = modelData 19 | cleanupNearest() 20 | pageStack.pop() 21 | } 22 | } 23 | } 24 | 25 | tools: ToolBarLayout { 26 | id: mainTools 27 | ToolButton { 28 | text: "Cancel" 29 | onClicked: { 30 | pageStack.pop() 31 | } 32 | } 33 | } 34 | } 35 | 36 | -------------------------------------------------------------------------------- /examples/corelib/tools/qtdemo/demos.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /mobility/audiodevices/qml/SelectCodec.qml: -------------------------------------------------------------------------------- 1 | 2 | import QtQuick 1.1 3 | import com.nokia.meego 1.0 4 | 5 | Page { 6 | id: selectDevice 7 | anchors.margins: UiConstants.DefaultMargin 8 | orientationLock: PageOrientation.LockLandscape 9 | 10 | ListView { 11 | anchors.fill: parent 12 | anchors.centerIn: parent 13 | model: audioPlayer.availableCodecs 14 | delegate: Button { 15 | text: modelData 16 | onClicked: { 17 | audioPlayer.codecChanged(modelData) 18 | codecBut.text = modelData 19 | cleanupNearest() 20 | pageStack.pop() 21 | } 22 | } 23 | } 24 | 25 | tools: ToolBarLayout { 26 | id: mainTools 27 | ToolButton { 28 | text: "Cancel" 29 | onClicked: { 30 | pageStack.pop() 31 | } 32 | } 33 | } 34 | } 35 | 36 | -------------------------------------------------------------------------------- /mobility/audiodevices/qml/SelectDevice.qml: -------------------------------------------------------------------------------- 1 | 2 | import QtQuick 1.1 3 | import com.nokia.meego 1.0 4 | 5 | Page { 6 | id: selectDevice 7 | anchors.margins: UiConstants.DefaultMargin 8 | orientationLock: PageOrientation.LockLandscape 9 | 10 | ListView { 11 | anchors.fill: parent 12 | anchors.centerIn: parent 13 | model: audioPlayer.availableDevices 14 | delegate: Button { 15 | text: modelData 16 | onClicked: { 17 | audioPlayer.deviceChanged(modelData) 18 | deviceBut.text = modelData 19 | cleanupNearest() 20 | pageStack.pop() 21 | } 22 | } 23 | } 24 | 25 | tools: ToolBarLayout { 26 | id: mainTools 27 | ToolButton { 28 | text: "Cancel" 29 | onClicked: { 30 | pageStack.pop() 31 | } 32 | } 33 | } 34 | } 35 | 36 | -------------------------------------------------------------------------------- /examples/network/README: -------------------------------------------------------------------------------- 1 | PySide is provided with an extensive set of network classes to support both 2 | client-based and server side network programming. 3 | 4 | These examples demonstrate the fundamental aspects of network programming 5 | with PySide. 6 | 7 | 8 | The example launcher provided with PySide can be used to explore each of the 9 | examples in this directory. 10 | 11 | Documentation for these examples can be found via the Tutorial and Examples 12 | link in the main Side documentation. 13 | 14 | 15 | Finding the PySide Examples and Demos launcher 16 | ============================================== 17 | 18 | On Windows: 19 | 20 | The launcher can be accessed via the Windows Start menu. Select the menu 21 | entry entitled "Examples and Demos" entry in the submenu containing PySide. 22 | 23 | On all platforms: 24 | 25 | The source code for the launcher can be found in the examples/demos/qtdemo 26 | directory in the PySide package. 27 | -------------------------------------------------------------------------------- /mobility/audiodevices/qml/SelectChannel.qml: -------------------------------------------------------------------------------- 1 | 2 | import QtQuick 1.1 3 | import com.nokia.meego 1.0 4 | 5 | Page { 6 | id: selectDevice 7 | anchors.margins: UiConstants.DefaultMargin 8 | orientationLock: PageOrientation.LockLandscape 9 | 10 | ListView { 11 | anchors.fill: parent 12 | anchors.centerIn: parent 13 | model: audioPlayer.availableChannels 14 | delegate: Button { 15 | text: modelData 16 | onClicked: { 17 | audioPlayer.channelChanged(modelData) 18 | channelBut.text = modelData 19 | cleanupNearest() 20 | pageStack.pop() 21 | } 22 | } 23 | } 24 | 25 | tools: ToolBarLayout { 26 | id: mainTools 27 | ToolButton { 28 | text: "Cancel" 29 | onClicked: { 30 | pageStack.pop() 31 | } 32 | } 33 | } 34 | } 35 | 36 | -------------------------------------------------------------------------------- /examples/xml/README: -------------------------------------------------------------------------------- 1 | XML parsing and handling is supported through SAX and DOM compliant APIs. 2 | 3 | PyQt's SAX compliant classes allow you to parse XML incrementally; the DOM 4 | classes enable more complex document-level operations to be performed on 5 | XML files. 6 | 7 | 8 | The example launcher provided with PyQt can be used to explore each of the 9 | examples in this directory. 10 | 11 | Documentation for these examples can be found via the Tutorial and Examples 12 | link in the main Qt documentation. 13 | 14 | 15 | Finding the PyQt Examples and Demos launcher 16 | ============================================ 17 | 18 | On Windows: 19 | 20 | The launcher can be accessed via the Windows Start menu. Select the menu 21 | entry entitled "Examples and Demos" entry in the submenu containing PySide. 22 | 23 | On all platforms: 24 | 25 | The source code for the launcher can be found in the examples/tools/qtdemo 26 | directory in the PyQt package. 27 | -------------------------------------------------------------------------------- /examples/corelib/tools/README: -------------------------------------------------------------------------------- 1 | PyQt is equipped with a range of capable tool classes, from containers and 2 | iterators to classes for string handling and manipulation. 3 | 4 | Other classes provide application infrastructure support, handling plugin 5 | loading and managing configuration files. 6 | 7 | The example launcher provided with PyQt can be used to explore each of the 8 | examples in this directory. 9 | 10 | Documentation for these examples can be found via the Tutorial and Examples 11 | link in the main Qt documentation. 12 | 13 | 14 | Finding the PyQt Examples and Demos launcher 15 | ============================================ 16 | 17 | On Windows: 18 | 19 | The launcher can be accessed via the Windows Start menu. Select the menu 20 | entry entitled "Examples and Demos" entry in the submenu containing PySide. 21 | 22 | On all platforms: 23 | 24 | The source code for the launcher can be found in the examples/tools/qtdemo 25 | directory in the PyQt package. 26 | -------------------------------------------------------------------------------- /examples/sql/README: -------------------------------------------------------------------------------- 1 | PyQt provides extensive database interoperability, with support for products 2 | from both open source and proprietary vendors. 3 | 4 | SQL support is integrated with PyQt's model/view architecture, making it easier 5 | to provide GUI integration for your database applications. 6 | 7 | 8 | The example launcher provided with PyQt can be used to explore each of the 9 | examples in this directory. 10 | 11 | Documentation for these examples can be found via the Tutorial and Examples 12 | link in the main Qt documentation. 13 | 14 | 15 | Finding the PyQt Examples and Demos launcher 16 | ============================================ 17 | 18 | On Windows: 19 | 20 | The launcher can be accessed via the Windows Start menu. Select the menu 21 | entry entitled "Examples and Demos" entry in the submenu containing PySide. 22 | 23 | On all platforms: 24 | 25 | The source code for the launcher can be found in the examples/tools/qtdemo 26 | directory in the PyQt package. 27 | -------------------------------------------------------------------------------- /examples/widgets/draganddrop/README: -------------------------------------------------------------------------------- 1 | PyQt supports native drag and drop on all platforms via an extensible 2 | MIME-based system that enables applications to send data to each other in the 3 | most appropriate formats. 4 | 5 | Drag and drop can also be implemented for internal use by applications. 6 | 7 | 8 | The example launcher provided with PyQt can be used to explore each of the 9 | examples in this directory. 10 | 11 | Documentation for these examples can be found via the Tutorial and Examples 12 | link in the main Qt documentation. 13 | 14 | 15 | Finding the PyQt Examples and Demos launcher 16 | ============================================ 17 | 18 | On Windows: 19 | 20 | The launcher can be accessed via the Windows Start menu. Select the menu 21 | entry entitled "Examples and Demos" entry in the submenu containing PyQt4. 22 | 23 | On all platforms: 24 | 25 | The source code for the launcher can be found in the examples/demos/qtdemo 26 | directory in the PyQt package. 27 | -------------------------------------------------------------------------------- /examples/README: -------------------------------------------------------------------------------- 1 | PySide comes with a plenty of example applications, illustrating the 2 | usage and functionality of different Qt functionality and concepts from 3 | Python. 4 | 5 | The examples are organized into topical subdirectories within the 6 | current directory. To browse and run the examples, change to the 7 | relevant directory and run the example there, either on the command line 8 | or by using your favourite file manager. 9 | 10 | The majority of the examples have been ported as-is from PyQt, in which 11 | case the original boilerplates have been retained. Hence, although 12 | PySide itself is licensed under LGPLv2.1, most of the examples are 13 | licensed under GPLv2. 14 | 15 | We have tried to ensure that every example works with PySide. If you 16 | experience unexpected results when running any of the examples, PLEASE 17 | report the issue at PySide Bugzilla [1]. This will greatly help us 18 | improve the quality of PySide future releases. 19 | 20 | [1] http://bugs.openbossa.org/ 21 | -------------------------------------------------------------------------------- /examples/widgets/itemviews/README: -------------------------------------------------------------------------------- 1 | Item views are widgets that typically display data sets. PyQt's model/view 2 | framework lets you handle large data sets by separating the underlying data 3 | from the way it is represented to the user, and provides support for 4 | customized rendering through the use of delegates. 5 | 6 | 7 | The example launcher provided with PyQt can be used to explore each of the 8 | examples in this directory. 9 | 10 | Documentation for these examples can be found via the Tutorial and Examples 11 | link in the main Qt documentation. 12 | 13 | 14 | Finding the PyQt Examples and Demos launcher 15 | ============================================ 16 | 17 | On Windows: 18 | 19 | The launcher can be accessed via the Windows Start menu. Select the menu 20 | entry entitled "Examples and Demos" entry in the submenu containing PySide. 21 | 22 | On all platforms: 23 | 24 | The source code for the launcher can be found in the examples/tools/qtdemo 25 | directory in the PyQt package. 26 | -------------------------------------------------------------------------------- /examples/xmlpatterns/schema/files/order.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /examples/corelib/threads/README: -------------------------------------------------------------------------------- 1 | PyQt makes it easier than ever to write multithreaded applications. More 2 | classes have been made usable from non-GUI threads, and the signals and slots 3 | mechanism can now be used to communicate between threads. 4 | 5 | Additionally, it is now possible to move objects between threads. 6 | 7 | 8 | The example launcher provided with PyQt can be used to explore each of the 9 | examples in this directory. 10 | 11 | Documentation for these examples can be found via the Tutorial and Examples 12 | link in the main Qt documentation. 13 | 14 | 15 | Finding the PyQt Examples and Demos launcher 16 | ============================================ 17 | 18 | On Windows: 19 | 20 | The launcher can be accessed via the Windows Start menu. Select the menu 21 | entry entitled "Examples and Demos" entry in the submenu containing PySide. 22 | 23 | On all platforms: 24 | 25 | The source code for the launcher can be found in the examples/tools/qtdemo 26 | directory in the PyQt package. 27 | -------------------------------------------------------------------------------- /examples/widgets/layouts/README: -------------------------------------------------------------------------------- 1 | PyQt uses a layout-based approach to widget management. Widgets are arranged in 2 | the optimal positions in windows based on simple layout rules, leading to a 3 | consistent look and feel. 4 | 5 | Custom layouts can be used to provide more control over the positions and 6 | sizes of child widgets. 7 | 8 | 9 | The example launcher provided with PyQt can be used to explore each of the 10 | examples in this directory. 11 | 12 | Documentation for these examples can be found via the Tutorial and Examples 13 | link in the main Qt documentation. 14 | 15 | 16 | Finding the PyQt Examples and Demos launcher 17 | ============================================ 18 | 19 | On Windows: 20 | 21 | The launcher can be accessed via the Windows Start menu. Select the menu 22 | entry entitled "Examples and Demos" entry in the submenu containing PyQt4. 23 | 24 | On all platforms: 25 | 26 | The source code for the launcher can be found in the examples/demos/qtdemo 27 | directory in the PyQt package. 28 | -------------------------------------------------------------------------------- /examples/demos/README: -------------------------------------------------------------------------------- 1 | These demonstrations are intended to highlight PyQt's capabilities in different 2 | application areas, and provide examples that are more advanced than other 3 | examples. 4 | 5 | Beginners to PyQt may wish to try out the PyQt tutorial and some of the other 6 | examples before examining the demonstrations in detail. 7 | 8 | The examples and demos launcher can be used to explore the different categories 9 | available. It provides an overview of each example, lets you view the 10 | documentation in Qt Assistant, and is able to launch the examples and demos. 11 | 12 | 13 | Finding the PyQt Examples and Demos launcher 14 | ============================================ 15 | 16 | On Windows: 17 | 18 | The launcher can be accessed via the Windows Start menu. Select the menu 19 | entry entitled "Examples and Demos" entry in the submenu containing PyQt4. 20 | 21 | On all platforms: 22 | 23 | The source code for the launcher can be found in the examples/demos/qtdemo 24 | directory in the PyQt package. 25 | -------------------------------------------------------------------------------- /examples/declarative/photoviewer/i18n/qml_fr.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AlbumDelegate 6 | 7 | 8 | Remove 9 | Supprimer 10 | 11 | 12 | 13 | photoviewer 14 | 15 | 16 | Add 17 | Ajouter 18 | 19 | 20 | 21 | Edit 22 | Éditer 23 | 24 | 25 | 26 | Back 27 | Retour 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /examples/opengl/README: -------------------------------------------------------------------------------- 1 | PyQt provides support for integration with OpenGL implementations on all 2 | platforms, giving developers the opportunity to display hardware accelerated 3 | 3D graphics alongside a more conventional user interface. 4 | 5 | These examples demonstrate the basic techniques used to take advantage of 6 | OpenGL in PyQt applications. 7 | 8 | The example launcher provided with PyQt can be used to explore each of the 9 | examples in this directory. 10 | 11 | Documentation for these examples can be found via the Tutorial and Examples 12 | link in the main Qt documentation. 13 | 14 | 15 | Finding the PyQt Examples and Demos launcher 16 | ============================================ 17 | 18 | On Windows: 19 | 20 | The launcher can be accessed via the Windows Start menu. Select the menu 21 | entry entitled "Examples and Demos" entry in the submenu containing PySide. 22 | 23 | On all platforms: 24 | 25 | The source code for the launcher can be found in the examples/tools/qtdemo 26 | directory in the PyQt package. 27 | -------------------------------------------------------------------------------- /mobility/location/satellitedialog/main.py: -------------------------------------------------------------------------------- 1 | from QtMobility.Location import * 2 | from PySide.QtGui import * 3 | import sys 4 | 5 | from satellitedialog import * 6 | 7 | app = QApplication(sys.argv) 8 | 9 | dialog = SatelliteDialog(None, 10 | 30, 11 | SatelliteDialog.ExitOnCancel, 12 | SatelliteDialog.OrderByPrnNumber, 13 | SatelliteDialog.ScaleToMaxPossible) 14 | 15 | posSource = QGeoPositionInfoSource.createDefaultSource(None) 16 | satSource = QGeoSatelliteInfoSource.createDefaultSource(None) 17 | 18 | if posSource == None or satSource == None: 19 | QMessageBox.critical(None, "SatelliteDialog", "This examples requires a valid location source and no valid location sources are available on this platform.") 20 | sys.exit(-1) 21 | 22 | posSource.setUpdateInterval(5000) 23 | dialog.connectSources(posSource, satSource) 24 | 25 | posSource.startUpdates() 26 | satSource.startUpdates() 27 | 28 | dialog.show() 29 | 30 | result = app.exec_() 31 | 32 | posSource.stopUpdates(); 33 | satSource.stopUpdates(); 34 | -------------------------------------------------------------------------------- /examples/corelib/tools/settingseditor/inifiles/licensepage.ini: -------------------------------------------------------------------------------- 1 | [Field%201] 2 | Bottom=89 3 | Flags=MULTILINE|VSCROLL|READONLY 4 | Left=4 5 | Right=296 6 | State=No license agreement file found. Please contact support. 7 | Top=14 8 | Type=Text 9 | 10 | [Field%202] 11 | Bottom=8 12 | Left=4 13 | Right=294 14 | Text=Press Page Down to see the rest of the agreement. 15 | Top=0 16 | Type=Label 17 | 18 | [Field%203] 19 | Bottom=111 20 | Left=4 21 | Right=297 22 | Text=If you accept the terms of the agreement, select the first option below. You must accept the agreement to install this software. Click Next to continue. 23 | Top=92 24 | Type=Label 25 | 26 | [Field%204] 27 | Bottom=129 28 | Flags=GROUP|NOTIFY 29 | Left=4 30 | Right=299 31 | Text=I &accept the terms in the License Agreement 32 | Top=120 33 | Type=RadioButton 34 | 35 | [Field%205] 36 | Bottom=140 37 | Flags=NOTIFY 38 | Left=4 39 | Right=300 40 | State=1 41 | Text=I &do not accept the terms in the License Agreement 42 | Top=129 43 | Type=RadioButton 44 | 45 | [Settings] 46 | NumFields=5 47 | -------------------------------------------------------------------------------- /examples/widgets/desktop/README: -------------------------------------------------------------------------------- 1 | PyQt provides features to enable applications to integrate with the user's 2 | preferred desktop environment. 3 | 4 | Features such as system tray icons, access to the desktop widget, and 5 | support for desktop services can be used to improve the appearance of 6 | applications and take advantage of underlying desktop facilities. 7 | 8 | 9 | The example launcher provided with PyQt can be used to explore each of the 10 | examples in this directory. 11 | 12 | Documentation for these examples can be found via the Tutorial and Examples 13 | link in the main Qt documentation. 14 | 15 | 16 | Finding the PyQt Examples and Demos launcher 17 | ============================================ 18 | 19 | On Windows: 20 | 21 | The launcher can be accessed via the Windows Start menu. Select the menu 22 | entry entitled "Examples and Demos" entry in the submenu containing PyQt4. 23 | 24 | On all platforms: 25 | 26 | The source code for the launcher can be found in the examples/demos/qtdemo 27 | directory in the PyQt package. 28 | -------------------------------------------------------------------------------- /examples/widgets/mainwindows/README: -------------------------------------------------------------------------------- 1 | All the standard features of application main windows are provided by PySide2. 2 | 3 | Main windows can have pull down menus, tool bars, and dock windows. These 4 | separate forms of user input are unified in an integrated action system that 5 | also supports keyboard shortcuts and accelerator keys in menu items. 6 | 7 | 8 | The example launcher provided with PySide2 can be used to explore each of the 9 | examples in this directory. 10 | 11 | Documentation for these examples can be found via the Tutorial and Examples 12 | link in the main Qt documentation. 13 | 14 | 15 | Finding the PySide2 Examples and Demos launcher 16 | ============================================ 17 | 18 | On Windows: 19 | 20 | The launcher can be accessed via the Windows Start menu. Select the menu 21 | entry entitled "Examples and Demos" entry in the submenu containing PySide2. 22 | 23 | On all platforms: 24 | 25 | The source code for the launcher can be found in the examples/demos/qtdemo 26 | directory in the PySide2 package. 27 | -------------------------------------------------------------------------------- /mobility/feedback/MainPage.qml: -------------------------------------------------------------------------------- 1 | 2 | 3 | import QtQuick 1.1 4 | import com.nokia.meego 1.0 5 | 6 | Page { 7 | id: mainPage 8 | anchors.margins: rootWindow.pageMargin 9 | 10 | Flow { 11 | anchors.top: parent.top 12 | anchors.right: parent.right 13 | anchors.left: parent.left 14 | anchors.margins: 10 15 | 16 | spacing: 10 17 | 18 | Button { 19 | id: rumble 20 | text: "Rumble" 21 | onClicked: effectPlayer.playRumble() 22 | } 23 | 24 | Button { 25 | id: ocean 26 | text: "Ocean" 27 | onClicked: effectPlayer.playOcean() 28 | } 29 | 30 | Button { 31 | id: buttonClick 32 | text: "Button Click" 33 | onClicked: effectPlayer.playButtonClick() 34 | } 35 | 36 | Button { 37 | id: negativeEffect 38 | text: "Negative Effect" 39 | onClicked: effectPlayer.playNegativeEffect() 40 | } 41 | } 42 | 43 | } 44 | -------------------------------------------------------------------------------- /examples/declarative/photoviewer/i18n/base.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AlbumDelegate 6 | 7 | 8 | Remove 9 | 10 | 11 | 12 | 13 | photoviewer 14 | 15 | 16 | Add 17 | 18 | 19 | 20 | 21 | Edit 22 | 23 | 24 | 25 | 26 | Back 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /mobility/audiooutput/player/simpleplayer.py: -------------------------------------------------------------------------------- 1 | 2 | import os 3 | import sys 4 | 5 | from PySide.QtCore import QUrl 6 | from PySide.QtGui import QApplication, QPushButton, QMainWindow 7 | from QtMobility.MultimediaKit import QMediaPlayer 8 | 9 | class AudioTest(QMainWindow): 10 | 11 | 12 | def __init__(self, filename): 13 | QMainWindow.__init__(self) 14 | 15 | self.playButton = QPushButton('Play!') 16 | self.source = QUrl.fromLocalFile(filename) 17 | self.player = QMediaPlayer() 18 | 19 | self.player.setMedia(self.source) 20 | 21 | self.playButton.clicked.connect(self.play) 22 | 23 | self.setCentralWidget(self.playButton) 24 | self.playButton.show() 25 | 26 | def play(self): 27 | self.player.play() 28 | 29 | def main(): 30 | 31 | app = QApplication([]) 32 | app.setApplicationName('Simple Audio player') 33 | 34 | window = AudioTest(os.path.abspath(sys.argv[1])) 35 | window.show() 36 | 37 | return app.exec_() 38 | 39 | if __name__ == '__main__': 40 | main() 41 | -------------------------------------------------------------------------------- /examples/widgets/painting/README: -------------------------------------------------------------------------------- 1 | PyQt's painting system is able to render vector graphics, images, and outline 2 | font-based text with sub-pixel accuracy accuracy using anti-aliasing to 3 | improve rendering quality. 4 | 5 | These examples show the most common techniques that are used when painting 6 | with PyQt, from basic concepts such as drawing simple primitives to the use of 7 | transformations. 8 | 9 | 10 | The example launcher provided with PyQt can be used to explore each of the 11 | examples in this directory. 12 | 13 | Documentation for these examples can be found via the Tutorial and Examples 14 | link in the main Qt documentation. 15 | 16 | 17 | Finding the PyQt Examples and Demos launcher 18 | ============================================ 19 | 20 | On Windows: 21 | 22 | The launcher can be accessed via the Windows Start menu. Select the menu 23 | entry entitled "Examples and Demos" entry in the submenu containing PySide. 24 | 25 | On all platforms: 26 | 27 | The source code for the launcher can be found in the examples/tools/qtdemo 28 | directory in the PyQt package. 29 | -------------------------------------------------------------------------------- /examples/widgets/richtext/README: -------------------------------------------------------------------------------- 1 | PyQt provides powerful document-oriented rich text engine that supports Unicode 2 | and right-to-left scripts. Documents can be manipulated using a cursor-based 3 | API, and their contents can be imported and exported as both HTML and in a 4 | custom XML format. 5 | 6 | Text is rendered using anti-aliased outline fonts to provide the best 7 | possible on-screen representation. 8 | 9 | 10 | The example launcher provided with PyQt can be used to explore each of the 11 | examples in this directory. 12 | 13 | Documentation for these examples can be found via the Tutorial and Examples 14 | link in the main Qt documentation. 15 | 16 | 17 | Finding the PyQt Examples and Demos launcher 18 | ============================================ 19 | 20 | On Windows: 21 | 22 | The launcher can be accessed via the Windows Start menu. Select the menu 23 | entry entitled "Examples and Demos" entry in the submenu containing PySide. 24 | 25 | On all platforms: 26 | 27 | The source code for the launcher can be found in the examples/tools/qtdemo 28 | directory in the PyQt package. 29 | -------------------------------------------------------------------------------- /examples/xmlpatterns/schema/files/contact.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /examples/widgets/README: -------------------------------------------------------------------------------- 1 | PyQt comes with a large range of standard widgets that users of modern 2 | application have come to expect. 3 | 4 | You can also develop your own custom widgets and controls, and use them 5 | alongside standard widgets. 6 | 7 | It is even possible to provide custom styles and themes for widgets that can 8 | be used to change the appearance of standard widgets and appropriately 9 | written custom widgets. 10 | 11 | 12 | The example launcher provided with PyQt can be used to explore each of the 13 | examples in this directory. 14 | 15 | Documentation for these examples can be found via the Tutorial and Examples 16 | link in the main Qt documentation. 17 | 18 | 19 | Finding the PyQt Examples and Demos launcher 20 | ============================================ 21 | 22 | On Windows: 23 | 24 | The launcher can be accessed via the Windows Start menu. Select the menu 25 | entry entitled "Examples and Demos" entry in the submenu containing PyQt4. 26 | 27 | On all platforms: 28 | 29 | The source code for the launcher can be found in the examples/demos/qtdemo 30 | directory in the PyQt package. 31 | -------------------------------------------------------------------------------- /mobility/samplephonebook/qml/SelectBackend.qml: -------------------------------------------------------------------------------- 1 | 2 | import QtQuick 1.1 3 | import com.nokia.meego 1.0 4 | 5 | Page { 6 | id: selectBackend 7 | anchors.margins: UiConstants.DefaultMargin 8 | orientationLock: PageOrientation.LockPortrait 9 | 10 | 11 | ListView { 12 | anchors.fill: parent 13 | anchors.centerIn: parent 14 | model: manager.availableManagers 15 | delegate: Button { 16 | text: modelData 17 | onClicked: { 18 | manager.selectManager(modelData) 19 | pageStack.pop() 20 | } 21 | } 22 | } 23 | 24 | tools: ToolBarLayout { 25 | id: mainTools 26 | ToolButton { 27 | text: "Select" 28 | onClicked: { 29 | console.log("Selected new backend") 30 | pageStack.pop() 31 | } 32 | } 33 | ToolButton { 34 | text: "Cancel" 35 | onClicked: { 36 | console.log("Cancel edit/add") 37 | pageStack.pop() 38 | } 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /mobility/sysinfo/qml/TabBarPage.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 1.1 2 | import com.nokia.meego 1.0 3 | 4 | Page { 5 | id: tabBarPage 6 | anchors.margins: UiConstants.DefaultMargin 7 | orientationLock: PageOrientation.LockLandscape 8 | 9 | tools: ToolBarLayout { 10 | id: toolBarLayout 11 | ButtonRow { 12 | platformStyle: TabButtonStyle { } 13 | TabButton { text: "General"; tab: generalTab } 14 | TabButton { text: "Device"; tab: deviceTab } 15 | TabButton { text: "Display"; tab: displayTab } 16 | TabButton { text: "Storage"; tab: storageTab } 17 | TabButton { text: "Network"; tab: networkTab } 18 | TabButton { text: "Screen saver"; tab: screenSaverTab } 19 | } 20 | } 21 | TabGroup { 22 | anchors.fill: parent 23 | currentTab: generalTab 24 | GeneralPage { id: generalTab } 25 | DevicePage { id: deviceTab } 26 | DisplayPage { id: displayTab } 27 | StoragePage { id: storageTab } 28 | NetworkPage { id: networkTab } 29 | ScreenSaverPage { id: screenSaverTab } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /mobility/servicebrowser/qml/HoldButton.qml: -------------------------------------------------------------------------------- 1 | 2 | import QtQuick 1.1 3 | import com.nokia.meego 1.0 4 | 5 | Button { 6 | text: "" 7 | 8 | property int holdTime: 800 // Hold time in msecs 9 | 10 | signal held 11 | signal clickedWithoutHold // Replace the original clicked signal, which keeps being emitted. 12 | 13 | onPressedChanged: { 14 | if (pressed) { 15 | // Start counting 16 | holdTimer.wasTriggered = false; 17 | holdTimer.start(); 18 | } else { 19 | // Just stop the timer 20 | holdTimer.restart(); 21 | holdTimer.stop(); 22 | } 23 | 24 | if (!pressed && !holdTimer.wasTriggered) { 25 | // Replaces the clicked signal 26 | clickedWithoutHold(); 27 | holdTimer.restart(); 28 | holdTimer.stop(); 29 | } 30 | } 31 | 32 | Timer { 33 | property bool wasTriggered: false 34 | id: holdTimer 35 | interval: holdTime 36 | running: false 37 | repeat: false 38 | onTriggered: { 39 | wasTriggered = true 40 | held(); 41 | restart(); 42 | stop(); 43 | } 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /examples/widgets/dialogs/findfiles_test.py: -------------------------------------------------------------------------------- 1 | from findfiles import Window 2 | from PySide2 import QtCore 3 | 4 | 5 | #=================================================================================================== 6 | # test_basic_search 7 | #=================================================================================================== 8 | def test_basic_search(qtbot, tmpdir): 9 | ''' 10 | test to ensure basic find files functionality is working. 11 | ''' 12 | tmpdir.join('video1.avi').ensure() 13 | tmpdir.join('video1.srt').ensure() 14 | 15 | tmpdir.join('video2.avi').ensure() 16 | tmpdir.join('video2.srt').ensure() 17 | 18 | window = Window() 19 | window.show() 20 | qtbot.addWidget(window) 21 | 22 | window.fileComboBox.clear() 23 | qtbot.keyClicks(window.fileComboBox, '*.avi') 24 | 25 | window.directoryComboBox.clear() 26 | qtbot.keyClicks(window.directoryComboBox, str(tmpdir)) 27 | 28 | qtbot.mouseClick(window.findButton, QtCore.Qt.LeftButton) 29 | 30 | assert window.filesTable.rowCount() == 2 31 | assert window.filesTable.item(0, 0).text() == 'video1.avi' 32 | assert window.filesTable.item(1, 0).text() == 'video2.avi' 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /examples/webkit/hellowebkit.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | #-*- coding:utf-8 -*- 3 | 4 | # hellowebkit.py 5 | 6 | 7 | # Copyright 2009 Piotr Maliński, riklaunim@gmail.com 8 | # 9 | # This program is free software; you can redistribute it and/or modify 10 | # it under the terms of the GNU General Public License as published by 11 | # the Free Software Foundation; either version 2 of the License, or 12 | # (at your option) any later version. 13 | # 14 | # This program is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | # GNU General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU General Public License 20 | # along with this program; if not, write to the Free Software 21 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 22 | # MA 02110-1301, USA. 23 | 24 | import sys 25 | from PySide.QtCore import * 26 | from PySide.QtGui import * 27 | from PySide.QtWebKit import * 28 | 29 | app = QApplication(sys.argv) 30 | 31 | web = QWebView() 32 | web.load(QUrl("http://google.com")) 33 | web.show() 34 | 35 | sys.exit(app.exec_()) 36 | -------------------------------------------------------------------------------- /examples/demos/qtdemo/guideline.py: -------------------------------------------------------------------------------- 1 | from PySide2 import QtCore 2 | 3 | from guide import Guide 4 | 5 | 6 | class GuideLine(Guide): 7 | def __init__(self, line_or_point, follows=None): 8 | super(GuideLine, self).__init__(follows) 9 | 10 | if isinstance(line_or_point, QtCore.QLineF): 11 | self.line = line_or_point 12 | elif follows is not None: 13 | self.line = QtCore.QLineF(self.prevGuide.endPos(), line_or_point) 14 | else: 15 | self.line = QtCore.QLineF(QtCore.QPointF(0, 0), line_or_point) 16 | 17 | def length(self): 18 | return self.line.length() 19 | 20 | def startPos(self): 21 | return QtCore.QPointF(self.line.p1().x() * self.scaleX, 22 | self.line.p1().y() * self.scaleY) 23 | 24 | def endPos(self): 25 | return QtCore.QPointF(self.line.p2().x() * self.scaleX, 26 | self.line.p2().y() * self.scaleY) 27 | 28 | def guide(self, item, moveSpeed): 29 | frame = item.guideFrame - self.startLength 30 | endX = (self.line.p1().x() + (frame * self.line.dx() / self.length())) * self.scaleX 31 | endY = (self.line.p1().y() + (frame * self.line.dy() / self.length())) * self.scaleY 32 | pos = QtCore.QPointF(endX, endY) 33 | self.move(item, pos, moveSpeed) 34 | -------------------------------------------------------------------------------- /mobility/samplephonebook/qml/MainPage.qml: -------------------------------------------------------------------------------- 1 | 2 | 3 | import QtQuick 1.1 4 | import com.nokia.meego 1.0 5 | import com.nokia.extras 1.1 6 | 7 | Page { 8 | id: mainPage 9 | anchors.margins: UiConstants.DefaultMargin 10 | orientationLock: PageOrientation.LockPortrait 11 | 12 | Flickable { 13 | anchors.fill: parent 14 | 15 | ButtonColumn { 16 | Repeater { 17 | model: manager.contactsNames 18 | Button { 19 | text: modelData 20 | onClicked: { 21 | console.log("Editing existing contact") 22 | manager.selectContact(index) 23 | pageStack.push(Qt.createComponent("ContactEdit.qml")) 24 | } 25 | } 26 | } 27 | } 28 | } 29 | 30 | tools: ToolBarLayout { 31 | id: mainTools 32 | ToolButton { 33 | text: "Add..." 34 | onClicked: { 35 | console.log("Add new contact") 36 | pageStack.push(Qt.createComponent("ContactEdit.qml")) 37 | } 38 | } 39 | ToolButton { 40 | text: "Select backend..." 41 | onClicked: { 42 | pageStack.push(Qt.createComponent("SelectBackend.qml")) 43 | } 44 | } 45 | } 46 | 47 | } 48 | -------------------------------------------------------------------------------- /examples/demos/qtdemo/scanitem.py: -------------------------------------------------------------------------------- 1 | from PySide2 import QtCore, QtGui 2 | 3 | from colors import Colors 4 | from demoitem import DemoItem 5 | 6 | 7 | class ScanItem(DemoItem): 8 | ITEM_WIDTH = 16 9 | ITEM_HEIGHT = 16 10 | 11 | def __init__(self, scene=None, parent=None): 12 | super(ScanItem, self).__init__(scene, parent) 13 | 14 | self.useSharedImage(__file__) 15 | 16 | def createImage(self, matrix): 17 | scaledRect = matrix.mapRect(QtCore.QRect(0, 0, ScanItem.ITEM_WIDTH, ScanItem.ITEM_HEIGHT)) 18 | image = QtGui.QImage(scaledRect.width(), scaledRect.height(), 19 | QtGui.QImage.Format_ARGB32_Premultiplied) 20 | image.fill(QtGui.QColor(0, 0, 0, 0).rgba()) 21 | painter = QtGui.QPainter(image) 22 | painter.setRenderHint(QtGui.QPainter.Antialiasing) 23 | 24 | if Colors.useEightBitPalette: 25 | painter.setPen(QtGui.QPen(QQtGui.Color(100, 100, 100), 2)) 26 | painter.setBrush(QQtGui.Color(206, 246, 117)) 27 | painter.drawEllipse(1, 1, scaledRect.width() - 2, 28 | scaledRect.height() - 2) 29 | else: 30 | painter.setPen(QtGui.QPen(QtGui.QColor(0, 0, 0, 15), 1)) 31 | painter.setBrush(QtGui.QColor(0, 0, 0, 15)) 32 | painter.drawEllipse(1, 1, scaledRect.width() - 2, 33 | scaledRect.height() - 2) 34 | 35 | return image 36 | -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/qt_global.py: -------------------------------------------------------------------------------- 1 | """ 2 | /* 3 | * This file is part of PySide: Python for Qt 4 | * 5 | * Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 6 | * 7 | * Contact: PySide team 8 | * 9 | * This library is free software; you can redistribute it and/or 10 | * modify it under the terms of the GNU Lesser General Public License 11 | * version 2.1 as published by the Free Software Foundation. 12 | * 13 | * This library is distributed in the hope that it will be useful, but 14 | * WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 | * Lesser General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU Lesser General Public 19 | * License along with this library; if not, write to the Free Software 20 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 21 | * 02110-1301 USA 22 | * 23 | */ 24 | """ 25 | 26 | from PySide.QtCore import * 27 | from PySide.QtGui import * 28 | 29 | 30 | def drawTextWithShadow(painter, x, y, text, color): 31 | painter.setPen(QColor(30, 30, 30)); 32 | painter.drawText(x + 2, y + 2, text); 33 | 34 | painter.setPen(color) 35 | painter.drawText(x, y, text) 36 | 37 | def propertyAnimation(obj, property, time, type = QEasingCurve.Linear): 38 | result = QPropertyAnimation(obj, property) 39 | result.setDuration(int(time)) 40 | result.setEasingCurve(QEasingCurve(type)) 41 | return result 42 | -------------------------------------------------------------------------------- /mobility/organizer/qml/OverviewPage.qml: -------------------------------------------------------------------------------- 1 | 2 | import QtQuick 1.1 3 | import com.nokia.meego 1.0 4 | import com.nokia.extras 1.1 5 | 6 | Page { 7 | id: overviewPage 8 | anchors.margins: UiConstants.DefaultMargin 9 | orientationLock: PageOrientation.LockPortrait 10 | 11 | Label { 12 | anchors.centerIn: parent 13 | text: "No tasks" 14 | visible: manager.todos.length == 0 15 | } 16 | 17 | Flickable { 18 | anchors.fill: parent 19 | clip: true 20 | 21 | flickableDirection: Flickable.VerticalFlick 22 | contentHeight: todoButtons.height 23 | contentWidth: todoButtons.width 24 | 25 | ButtonColumn { 26 | id: todoButtons 27 | 28 | // On N9 it seems that displayWidth keeps pointing to the larger 29 | // side of the screen, even in portrait mode... 30 | width: screen.displayHeight - 2 * UiConstants.DefaultMargin 31 | 32 | Repeater { 33 | model: manager.todos 34 | Button { 35 | text: modelData 36 | onClicked: { 37 | manager.editExistingTodo(index) 38 | pageStack.push(Qt.createComponent("TodoEdit.qml")) 39 | } 40 | } 41 | } 42 | } 43 | } 44 | 45 | tools: ToolBarLayout { 46 | id: mainTools 47 | ToolButton { 48 | text: "Add Task" 49 | onClicked: { 50 | manager.editNewTodo() // Prepare new todo info 51 | pageStack.push(Qt.createComponent("TodoEdit.qml")) 52 | } 53 | } 54 | } 55 | 56 | } 57 | -------------------------------------------------------------------------------- /examples/corelib/tools/i18n/translations/i18n_ko.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | MainWindow 4 | 5 | &File 6 | 파일&F 7 | 8 | 9 | E&xit 10 | 종료&X 11 | 12 | 13 | First 14 | 첫번째 15 | 16 | 17 | Internationalization Example 18 | 국제화 예제 19 | 20 | 21 | Isometric 22 | 등측도 23 | 24 | 25 | Language: %1 26 | 언어 : %1 27 | 28 | 29 | English 30 | 한국어 31 | 32 | 33 | Oblique 34 | 빗각 35 | 36 | 37 | Perspective 38 | 원근화법 39 | 40 | 41 | Second 42 | 두번째 43 | 44 | 45 | Third 46 | 세번째 47 | 48 | 49 | View 50 | 보기 51 | 52 | 53 | LTR 54 | LTR 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /examples/corelib/tools/i18n/translations/i18n_zh.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | MainWindow 4 | 5 | View 6 | 视图 7 | 8 | 9 | &File 10 | 文件[&F] 11 | 12 | 13 | E&xit 14 | 退出[&x] 15 | 16 | 17 | First 18 | 第一个 19 | 20 | 21 | Third 22 | 第三个 23 | 24 | 25 | Language: %1 26 | 语言: %1 27 | 28 | 29 | English 30 | 简体中文 31 | 32 | 33 | Oblique 34 | 斜投影 35 | 36 | 37 | Second 38 | 第二个 39 | 40 | 41 | Isometric 42 | 等角投影 43 | 44 | 45 | Perspective 46 | 透视投影 47 | 48 | 49 | Internationalization Example 50 | 国际化范例 51 | 52 | 53 | LTR 54 | LTR 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /examples/widgets/itemviews/dirview.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | 3 | ############################################################################ 4 | ## 5 | ## Copyright (C) 2004-2005 Trolltech AS. All rights reserved. 6 | ## 7 | ## This file is part of the example classes of the Qt Toolkit. 8 | ## 9 | ## This file may be used under the terms of the GNU General Public 10 | ## License version 2.0 as published by the Free Software Foundation 11 | ## and appearing in the file LICENSE.GPL included in the packaging of 12 | ## this file. Please review the following information to ensure GNU 13 | ## General Public Licensing requirements will be met: 14 | ## http://www.trolltech.com/products/qt/opensource.html 15 | ## 16 | ## If you are unsure which license is appropriate for your use, please 17 | ## review the following information: 18 | ## http://www.trolltech.com/products/qt/licensing.html or contact the 19 | ## sales department at sales@trolltech.com. 20 | ## 21 | ## This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 22 | ## WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 23 | ## 24 | ############################################################################ 25 | 26 | import sys 27 | from PySide2 import QtCore, QtGui 28 | 29 | 30 | if __name__ == '__main__': 31 | 32 | import sys 33 | 34 | app = QtGui.QApplication(sys.argv) 35 | 36 | model = QtGui.QDirModel() 37 | tree = QtGui.QTreeView() 38 | tree.setModel(model) 39 | 40 | tree.setAnimated(False) 41 | tree.setIndentation(20) 42 | tree.setSortingEnabled(True) 43 | 44 | tree.setWindowTitle("Dir View") 45 | tree.resize(640, 480) 46 | tree.show() 47 | 48 | sys.exit(app.exec_()) 49 | -------------------------------------------------------------------------------- /examples/corelib/tools/i18n/translations/i18n_ar.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | MainWindow 4 | 5 | First 6 | أول 7 | 8 | 9 | Internationalization Example 10 | مثال التدويل 11 | 12 | 13 | Isometric 14 | متماثل 15 | 16 | 17 | Language: %1 18 | اللغة: %1 19 | 20 | 21 | English 22 | العربية 23 | 24 | 25 | Oblique 26 | مصمت 27 | 28 | 29 | Perspective 30 | منظور 31 | 32 | 33 | Second 34 | ثانى 35 | 36 | 37 | Third 38 | ثالث 39 | 40 | 41 | View 42 | مرئى 43 | 44 | 45 | E&xit 46 | أخرج 47 | 48 | 49 | &File 50 | الملف 51 | 52 | 53 | LTR 54 | RTL 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /examples/corelib/tools/i18n/translations/i18n_jp.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | MainWindow 4 | 5 | &File 6 | ファイル(&F) 7 | 8 | 9 | E&xit 10 | 終了(&X) 11 | 12 | 13 | First 14 | 第一行 15 | 16 | 17 | Internationalization Example 18 | 国際化(i18n)の例 19 | 20 | 21 | Isometric 22 | 等角投影法 23 | 24 | 25 | Language: %1 26 | 言語: %1 27 | 28 | 29 | English 30 | 日本語 31 | 32 | 33 | Oblique 34 | 斜め投影法 35 | 36 | 37 | Perspective 38 | 遠近法 39 | 40 | 41 | Second 42 | 第二行 43 | 44 | 45 | Third 46 | 第三行 47 | 48 | 49 | View 50 | 表示方式 51 | 52 | 53 | LTR 54 | LTR 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /examples/xmlpatterns/schema/files/recipe.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /mobility/sysinfo/qml/StoragePage.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 1.1 2 | import com.nokia.meego 1.0 3 | 4 | Page { 5 | id: storageTab 6 | orientationLock: PageOrientation.LockLandscape 7 | anchors.margins: UiConstants.DefaultMargin 8 | 9 | Flickable { 10 | anchors.fill: parent 11 | flickableDirection: Flickable.VerticalFlick 12 | contentHeight: columnStorage.height + toolBarLayout.height 13 | contentWidth: width 14 | Column { 15 | id: columnStorage 16 | anchors.top: parent.top 17 | width: parent.width 18 | 19 | spacing: 25 20 | 21 | Repeater { 22 | 23 | model: sysinfo.volumeNames 24 | 25 | Column { 26 | 27 | width: parent.width 28 | 29 | Label { 30 | width: parent.width 31 | text: "Volume: " + modelData 32 | platformStyle: LabelStyle { 33 | fontPixelSize: 32 34 | } 35 | } 36 | 37 | Row { 38 | spacing: 30 39 | Label { 40 | text: "Type: " + sysinfo.storageType(modelData) 41 | } 42 | 43 | Label { 44 | text: "Total size: " + sysinfo.totalStorageSize(modelData) 45 | } 46 | 47 | Label { 48 | text: "Available: " + sysinfo.availableStorageSize(modelData) 49 | } 50 | } 51 | } 52 | } 53 | } 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /examples/corelib/tools/i18n/translations/i18n_ru.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | MainWindow 4 | 5 | View 6 | Вид 7 | 8 | 9 | &File 10 | Файл 11 | 12 | 13 | E&xit 14 | Выход 15 | 16 | 17 | First 18 | Первый 19 | 20 | 21 | Third 22 | Третий 23 | 24 | 25 | Language: %1 26 | Язык: %1 27 | 28 | 29 | English 30 | Русский 31 | 32 | 33 | Oblique 34 | Курсив 35 | 36 | 37 | Second 38 | Второй 39 | 40 | 41 | Isometric 42 | Изометрический 43 | 44 | 45 | Perspective 46 | Перспектива 47 | 48 | 49 | Internationalization Example 50 | Пример интернациноализации 51 | 52 | 53 | LTR 54 | LTR 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /examples/corelib/tools/i18n/translations/i18n_cs.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | MainWindow 4 | 5 | View 6 | Pohled 7 | 8 | 9 | &File 10 | &Soubor 11 | 12 | 13 | E&xit 14 | &Konec 15 | 16 | 17 | First 18 | První 19 | 20 | 21 | Third 22 | Třetí 23 | 24 | 25 | Language: %1 26 | Jayzk: %1 27 | 28 | 29 | English 30 | Český 31 | 32 | 33 | Oblique 34 | Nakloněný 35 | 36 | 37 | Second 38 | Druhý 39 | 40 | 41 | Isometric 42 | Isometrický 43 | 44 | 45 | Perspective 46 | Perspektivní 47 | 48 | 49 | Internationalization Example 50 | Ukázka lokalizace 51 | 52 | 53 | LTR 54 | LTR 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /examples/corelib/tools/i18n/translations/i18n_el.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | MainWindow 4 | 5 | &File 6 | &Αρχείο 7 | 8 | 9 | E&xit 10 | Έ&ξοδος 11 | 12 | 13 | First 14 | Πρώτο 15 | 16 | 17 | Internationalization Example 18 | Παράδειγμα διεθνοποίησης 19 | 20 | 21 | Isometric 22 | Ισομετρική 23 | 24 | 25 | Language: %1 26 | Γλώσσα: %1 27 | 28 | 29 | English 30 | Ελληνικά 31 | 32 | 33 | Oblique 34 | Πλάγια 35 | 36 | 37 | Perspective 38 | Προοπτική 39 | 40 | 41 | Second 42 | Δεύτερο 43 | 44 | 45 | Third 46 | Τρίτο 47 | 48 | 49 | View 50 | Όψη 51 | 52 | 53 | LTR 54 | LTR 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /examples/corelib/tools/i18n/translations/i18n_en.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | MainWindow 4 | 5 | E&xit 6 | E&xit 7 | 8 | 9 | &File 10 | &File 11 | 12 | 13 | Internationalization Example 14 | Internationalization Example 15 | 16 | 17 | Language: %1 18 | Language: %1 19 | 20 | 21 | English 22 | English 23 | 24 | 25 | View 26 | View 27 | 28 | 29 | Perspective 30 | Perspective 31 | 32 | 33 | Isometric 34 | Isometric 35 | 36 | 37 | Oblique 38 | Oblique 39 | 40 | 41 | First 42 | First 43 | 44 | 45 | Second 46 | Second 47 | 48 | 49 | Third 50 | Third 51 | 52 | 53 | LTR 54 | LTR 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /examples/corelib/tools/i18n/translations/i18n_eo.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | MainWindow 4 | 5 | &File 6 | &Dosiero 7 | 8 | 9 | First 10 | Unue 11 | 12 | 13 | Internationalization Example 14 | Ekzemplo pri internaciigo 15 | 16 | 17 | Isometric 18 | Isometria 19 | 20 | 21 | Language: %1 22 | Lingvo: %1 23 | 24 | 25 | English 26 | Esperanto 27 | 28 | 29 | Oblique 30 | Oblikva 31 | 32 | 33 | Perspective 34 | Perspektiva 35 | 36 | 37 | Second 38 | Due 39 | 40 | 41 | Third 42 | Trie 43 | 44 | 45 | View 46 | Aspekto 47 | 48 | 49 | E&xit 50 | &Fini 51 | 52 | 53 | LTR 54 | LTR 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /examples/corelib/tools/i18n/translations/i18n_it.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | MainWindow 4 | 5 | First 6 | Primo 7 | 8 | 9 | Internationalization Example 10 | Esempio di localizzazione 11 | 12 | 13 | Isometric 14 | Isometrica 15 | 16 | 17 | Language: %1 18 | Lingua: %1 19 | 20 | 21 | English 22 | Italiano 23 | 24 | 25 | Oblique 26 | Obliqua 27 | 28 | 29 | Perspective 30 | Prospettica 31 | 32 | 33 | Second 34 | Secondo 35 | 36 | 37 | Third 38 | Terzo 39 | 40 | 41 | View 42 | Vista 43 | 44 | 45 | E&xit 46 | &Esci 47 | 48 | 49 | &File 50 | &File 51 | 52 | 53 | LTR 54 | LTR 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /examples/corelib/tools/i18n/translations/i18n_no.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | MainWindow 4 | 5 | View 6 | Vis 7 | 8 | 9 | &File 10 | &Fil 11 | 12 | 13 | E&xit 14 | &Avslutt 15 | 16 | 17 | First 18 | Første 19 | 20 | 21 | Third 22 | Tredje 23 | 24 | 25 | Language: %1 26 | Språk: %1 27 | 28 | 29 | English 30 | Norsk 31 | 32 | 33 | Oblique 34 | Skjevt 35 | 36 | 37 | Second 38 | Andre 39 | 40 | 41 | Isometric 42 | Isometrisk 43 | 44 | 45 | Perspective 46 | Perspektiv 47 | 48 | 49 | Internationalization Example 50 | Internasjonaliseringseksempel 51 | 52 | 53 | LTR 54 | LTR 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /examples/corelib/tools/i18n/translations/i18n_sv.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | MainWindow 4 | 5 | View 6 | Visa 7 | 8 | 9 | &File 10 | &Arkiv 11 | 12 | 13 | E&xit 14 | &Avsluta 15 | 16 | 17 | First 18 | Första 19 | 20 | 21 | Third 22 | Tredje 23 | 24 | 25 | Language: %1 26 | Språk: %1 27 | 28 | 29 | English 30 | Svenska 31 | 32 | 33 | Oblique 34 | Skevt 35 | 36 | 37 | Second 38 | Andra 39 | 40 | 41 | Isometric 42 | Isometriskt 43 | 44 | 45 | Perspective 46 | Perspektivt 47 | 48 | 49 | Internationalization Example 50 | Internationaliseringsexempel 51 | 52 | 53 | LTR 54 | LTR 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /examples/corelib/tools/i18n/translations/i18n_pt.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | MainWindow 4 | 5 | E&xit 6 | &Sair 7 | 8 | 9 | &File 10 | &Arquivo 11 | 12 | 13 | Internationalization Example 14 | Exemplo de Internacionalização 15 | 16 | 17 | Language: %1 18 | Idioma: %1 19 | 20 | 21 | English 22 | Português 23 | 24 | 25 | View 26 | Visão 27 | 28 | 29 | Perspective 30 | Perspectiva 31 | 32 | 33 | Isometric 34 | Isométrico 35 | 36 | 37 | Oblique 38 | Oblíquo 39 | 40 | 41 | First 42 | Primeiro 43 | 44 | 45 | Second 46 | Segundo 47 | 48 | 49 | Third 50 | Terceiro 51 | 52 | 53 | LTR 54 | LTR 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /examples/corelib/tools/i18n/translations/i18n_de.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | MainWindow 4 | 5 | View 6 | Ansicht 7 | 8 | 9 | &File 10 | &Datei 11 | 12 | 13 | E&xit 14 | Be&enden 15 | 16 | 17 | First 18 | Erstens 19 | 20 | 21 | Third 22 | Drittens 23 | 24 | 25 | English 26 | Deutsch 27 | 28 | 29 | Language: %1 30 | Sprache: %1 31 | 32 | 33 | Oblique 34 | Schief 35 | 36 | 37 | Second 38 | Zweitens 39 | 40 | 41 | Isometric 42 | Isometrisch 43 | 44 | 45 | Perspective 46 | Perspektivisch 47 | 48 | 49 | Internationalization Example 50 | Internationalisierungsbeispiel 51 | 52 | 53 | LTR 54 | LTR 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /examples/corelib/tools/i18n/translations/i18n_fr.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | MainWindow 4 | 5 | View 6 | Vue 7 | 8 | 9 | &File 10 | &Fichier 11 | 12 | 13 | E&xit 14 | &Quitter 15 | 16 | 17 | First 18 | Premier 19 | 20 | 21 | Third 22 | Troisième 23 | 24 | 25 | Language: %1 26 | Langue : %1 27 | 28 | 29 | English 30 | Français 31 | 32 | 33 | Oblique 34 | Oblique 35 | 36 | 37 | Second 38 | Deuxième 39 | 40 | 41 | Isometric 42 | Isométrique 43 | 44 | 45 | Perspective 46 | Perspective 47 | 48 | 49 | Internationalization Example 50 | Exemple d'internationalisation 51 | 52 | 53 | LTR 54 | LTR 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/view.py: -------------------------------------------------------------------------------- 1 | """ 2 | /* 3 | * This file is part of PySide: Python for Qt 4 | * 5 | * Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 6 | * 7 | * Contact: PySide team 8 | * 9 | * This library is free software; you can redistribute it and/or 10 | * modify it under the terms of the GNU Lesser General Public License 11 | * version 2.1 as published by the Free Software Foundation. 12 | * 13 | * This library is distributed in the hope that it will be useful, but 14 | * WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 | * Lesser General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU Lesser General Public 19 | * License along with this library; if not, write to the Free Software 20 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 21 | * 02110-1301 USA 22 | * 23 | */ 24 | """ 25 | 26 | from PySide.QtCore import * 27 | from PySide.QtGui import * 28 | 29 | class View(QGraphicsWidget): 30 | def __init__(self, parent): 31 | QGraphicsWidget.__init__(self, parent) 32 | self._pageView = None 33 | self._title = None 34 | 35 | def pageView(self): 36 | return self._pageView 37 | 38 | def setPageView(self, widget): 39 | self._pageView = widget 40 | 41 | def title(self): 42 | return self._title 43 | 44 | def setTitle(self, title): 45 | if self._title != title: 46 | self._title = title 47 | self.emit(SIGNAL("titleChanged()")) 48 | 49 | def doTransitionIn(self): 50 | self.emit(SIGNAL("transitionInStarted()")) 51 | 52 | def doTransitionOut(self): 53 | self.emit(SIGNAL("transitionOutStarted()")) 54 | -------------------------------------------------------------------------------- /examples/corelib/tools/qtdemo/qtdemo.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | ############################################################################ 3 | ## 4 | ## Copyright (C) 2004-2005 Trolltech AS. All rights reserved. 5 | ## 6 | ## This file is part of the example classes of the Qt Toolkit. 7 | ## 8 | ## This file may be used under the terms of the GNU General Public 9 | ## License version 2.0 as published by the Free Software Foundation 10 | ## and appearing in the file LICENSE.GPL included in the packaging of 11 | ## this file. Please review the following information to ensure GNU 12 | ## General Public Licensing requirements will be met: 13 | ## http://www.trolltech.com/products/qt/opensource.html 14 | ## 15 | ## If you are unsure which license is appropriate for your use, please 16 | ## review the following information: 17 | ## http://www.trolltech.com/products/qt/licensing.html or contact the 18 | ## sales department at sales@trolltech.com. 19 | ## 20 | ## This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 21 | ## WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 22 | ## 23 | ############################################################################ 24 | 25 | import sys 26 | import os 27 | 28 | from PySide2 import QtGui 29 | 30 | import qtdemo_rc 31 | 32 | from displaywidget import DisplayWidget 33 | from displayshape import PanelShape 34 | from launcher import Launcher 35 | 36 | if __name__ == "__main__": 37 | # Make sure we run from the right directory. (I don't think this should be 38 | # necessary.) 39 | dir = os.path.dirname(__file__) 40 | 41 | if dir: 42 | os.chdir(dir) 43 | 44 | app = QtGui.QApplication(sys.argv) 45 | launcher = Launcher() 46 | if not launcher.setup(): 47 | sys.exit(1) 48 | launcher.show() 49 | sys.exit(app.exec_()) 50 | -------------------------------------------------------------------------------- /examples/demos/qtdemo/letteritem.py: -------------------------------------------------------------------------------- 1 | from PySide2 import QtCore, QtGui 2 | 3 | from colors import Colors 4 | from demoitem import DemoItem 5 | 6 | 7 | class LetterItem(DemoItem): 8 | def __init__(self, letter, scene=None, parent=None): 9 | super(LetterItem, self).__init__(scene, parent) 10 | 11 | self.letter = letter 12 | 13 | self.useSharedImage(__file__ + letter) 14 | 15 | def createImage(self, matrix): 16 | scaledRect = matrix.mapRect(QtCore.QRect(0, 0, 25, 25)) 17 | image = QtGui.QImage(scaledRect.width(), scaledRect.height(), 18 | QtGui.QImage.Format_ARGB32_Premultiplied) 19 | image.fill(0) 20 | painter = QtGui.QPainter(image) 21 | painter.scale(matrix.m11(), matrix.m22()) 22 | painter.setRenderHints(QtGui.QPainter.TextAntialiasing | QtGui.QPainter.Antialiasing | QtGui.QPainter.SmoothPixmapTransform) 23 | painter.setPen(QtCore.Qt.NoPen) 24 | 25 | if Colors.useEightBitPalette: 26 | painter.setBrush(QtGui.QColor(102, 175, 54)) 27 | painter.drawEllipse(0, 0, 25, 25) 28 | painter.setFont(Colors.tickerFont()) 29 | painter.setPen(QtGui.QColor(255, 255, 255)) 30 | painter.drawText(10, 15, self.letter) 31 | else: 32 | brush = QtGui.QLinearGradient(0, 0, 0, 25) 33 | brush.setSpread(QtGui.QLinearGradient.PadSpread) 34 | brush.setColorAt(0.0, QtGui.QColor(102, 175, 54, 200)) 35 | brush.setColorAt(1.0, QtGui.QColor(102, 175, 54, 60)) 36 | painter.setBrush(brush) 37 | painter.drawEllipse(0, 0, 25, 25) 38 | painter.setFont(Colors.tickerFont()) 39 | painter.setPen(QtGui.QColor(255, 255, 255, 255)) 40 | painter.drawText(10, 15, self.letter) 41 | 42 | return image 43 | -------------------------------------------------------------------------------- /examples/hyperui/hyperuilib/shared/qt_system.py: -------------------------------------------------------------------------------- 1 | """ 2 | /* 3 | * This file is part of PySide: Python for Qt 4 | * 5 | * Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 6 | * 7 | * Contact: PySide team 8 | * 9 | * This library is free software; you can redistribute it and/or 10 | * modify it under the terms of the GNU Lesser General Public License 11 | * version 2.1 as published by the Free Software Foundation. 12 | * 13 | * This library is distributed in the hope that it will be useful, but 14 | * WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 | * Lesser General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU Lesser General Public 19 | * License along with this library; if not, write to the Free Software 20 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 21 | * 02110-1301 USA 22 | * 23 | */ 24 | """ 25 | 26 | from PySide.QtCore import * 27 | from PySide.QtGui import * 28 | 29 | try: 30 | from PySide.QtMaemo5 import * 31 | USE_MAEMO_5 = True 32 | except: 33 | USE_MAEMO_5 = False 34 | 35 | class System(QObject): 36 | _instance_ = None 37 | 38 | LandscapeMode = 0 39 | PortraitMode = 1 40 | 41 | def __init__(self): 42 | QObject.__init__(self) 43 | 44 | @staticmethod 45 | def instance(): 46 | if not System._instance_: 47 | _instance_ = System() 48 | 49 | return _instance_ 50 | 51 | @staticmethod 52 | def setViewMode(window, mode): 53 | if USE_MAEMO_5: 54 | enabled = (mode == System.PortraitMode) 55 | window.setAttribute(Qt.WA_Maemo5ForcePortraitOrientation, enabled) 56 | window.setAttribute(Qt.WA_Maemo5ForceLandscapeOrientation, not enabled) 57 | -------------------------------------------------------------------------------- /examples/webkit/qml-webkit-plugin/main.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | '''QML PLugin for WebKit. 4 | 5 | Adapted from QtLabs[1]. 6 | 7 | Usage: python main.py index.html 8 | 9 | [1] http://blog.qtlabs.org.br/2011/05/30/transformando-o-qml-no-proximo-flash/ 10 | ''' 11 | import sys 12 | 13 | from PySide.QtCore import QUrl 14 | from PySide.QtGui import QApplication 15 | from PySide.QtDeclarative import QDeclarativeView 16 | from PySide.QtWebKit import QWebPluginFactory, QWebView, QWebSettings 17 | 18 | class PluginFactory(QWebPluginFactory): 19 | 20 | def plugins(self): 21 | plugins = [] 22 | 23 | mime = self.MimeType() 24 | mime.name = 'QmlFile' 25 | mime.fileExtensions = ['.qml'] 26 | 27 | plugin = self.Plugin() 28 | plugin.name = 'QmlPlugin' 29 | plugin.mimeTypes = [mime] 30 | 31 | plugins.append(plugin) 32 | 33 | return plugins 34 | 35 | def create(self, mimeType, url, argumentNames, argumentValues): 36 | if mimeType != 'application/x-qml': 37 | return None 38 | 39 | for name, value in zip(argumentNames, argumentValues): 40 | if name == 'width': 41 | width = int(value) 42 | elif name == 'height': 43 | height = int(value) 44 | 45 | view = QDeclarativeView() 46 | view.resize(width, height) 47 | view.setSource(url) 48 | 49 | return view 50 | 51 | def main(): 52 | 53 | app = QApplication([]) 54 | 55 | view = QWebView() 56 | fac = PluginFactory() 57 | view.page().setPluginFactory(fac) 58 | QWebSettings.globalSettings().setAttribute(QWebSettings.PluginsEnabled, True) 59 | 60 | view.load(QUrl(sys.argv[1])) 61 | 62 | view.resize(840, 600) 63 | view.show() 64 | 65 | return app.exec_() 66 | if __name__ == '__main__': 67 | main() 68 | -------------------------------------------------------------------------------- /mobility/audiooutput/generator/MainPage.qml: -------------------------------------------------------------------------------- 1 | 2 | 3 | import QtQuick 1.1 4 | import com.nokia.meego 1.0 5 | import com.nokia.extras 1.1 6 | 7 | Page { 8 | id: mainPage 9 | anchors.margins: rootWindow.pageMargin 10 | anchors.fill: parent 11 | 12 | Flow { 13 | anchors.fill: parent 14 | 15 | Flickable { 16 | width: deviceButtons.width 17 | height: screen.displayHeight 18 | contentHeight: deviceButtons.height 19 | ButtonColumn { 20 | id: deviceButtons 21 | Repeater { 22 | model: deviceModel 23 | Button { 24 | text: modelData 25 | onClicked: { 26 | player.deviceChanged(index) 27 | } 28 | } 29 | } 30 | } 31 | } 32 | 33 | Column { 34 | CheckBox { 35 | anchors.left: parent.left 36 | id: play 37 | checked: true 38 | text: "Play when checked" 39 | onClicked: { player.toggleSuspendResume() } 40 | 41 | Connections { 42 | target: player 43 | onPlaybackResumed: { 44 | play.checked = true 45 | } 46 | } 47 | } 48 | 49 | CheckBox { 50 | anchors.left: parent.left 51 | id: pushpull 52 | checked: true 53 | text: "Pull mode when checked" 54 | onClicked: { player.toggleMode() } 55 | } 56 | } 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /mobility/servicebrowser/qml/ImplementationDetails.qml: -------------------------------------------------------------------------------- 1 | 2 | import QtQuick 1.1 3 | import com.nokia.meego 1.0 4 | import com.nokia.extras 1.1 5 | 6 | Page { 7 | 8 | property string implementationSpec: "" 9 | property int implementationIndex: -1 10 | property string serviceName: "" 11 | property int serviceIndex: -1 12 | 13 | id: implementationDetails 14 | anchors.margins: UiConstants.DefaultMargin 15 | //orientationLock: PageOrientation.LockPortrait 16 | 17 | Label { 18 | id: titleLabel 19 | anchors.top: parent.top 20 | width: parent.width 21 | anchors.horizontalCenter: parent.horizontalCenter 22 | text: "Implementation: " + implementationSpec 23 | } 24 | 25 | Flickable { 26 | anchors.top: titleLabel.bottom 27 | anchors.horizontalCenter: parent.horizontalCenter 28 | width: parent.width 29 | contentHeight: servicesButtons.height 30 | 31 | ButtonColumn { 32 | id: servicesButtons 33 | width: parent.width 34 | anchors.horizontalCenter: parent.horizontalCenter 35 | Repeater { 36 | model: manager.implementationDetails(implementationSpec, implementationIndex, 37 | serviceName, serviceIndex); 38 | Button { 39 | width: parent.width 40 | text: modelData 41 | onClicked: { 42 | console.log("Selecting service") 43 | //manager.selectService(index) 44 | } 45 | } 46 | } 47 | } 48 | } 49 | 50 | tools: ToolBarLayout { 51 | id: implementationPageTools 52 | ToolButton { 53 | text: "Back" 54 | onClicked: { 55 | pageStack.pop(); 56 | } 57 | } 58 | } 59 | 60 | } 61 | -------------------------------------------------------------------------------- /mobility/sysinfo/qml/NetworkDetails.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 1.1 2 | import com.nokia.meego 1.0 3 | import com.nokia.extras 1.1 4 | 5 | Sheet { 6 | 7 | id: sheet 8 | 9 | property string networkMode: "" 10 | 11 | acceptButtonText: "Close" 12 | rejectButtonText: "" 13 | 14 | title: Label { 15 | text: "Details for network mode " + sheet.networkMode 16 | } 17 | 18 | content: Flickable { 19 | anchors.fill: parent 20 | anchors.margins: UiConstants.DefaultMargin 21 | contentWidth: col.width 22 | contentHeight: col.height 23 | flickableDirection: Flickable.VerticalFlick 24 | 25 | Column { 26 | id: col 27 | 28 | anchors.top: parent.top 29 | // anchors.left: parent.left 30 | // anchors.right: parent.right 31 | spacing: 10 32 | 33 | Label { 34 | text: "Network status: " + sysinfo.networkStatus(networkMode) 35 | } 36 | 37 | Label { 38 | text: "Network name: " + sysinfo.networkName(networkMode) 39 | } 40 | 41 | Label { 42 | text: "Interface name: " + sysinfo.networkInterfaceName(networkMode) 43 | } 44 | 45 | Label { 46 | text: "MAC Address: " + sysinfo.networkMacAddress(networkMode) 47 | } 48 | 49 | Row { 50 | anchors.left: col.left 51 | anchors.right: col.right 52 | 53 | spacing: 10 54 | Label { 55 | text: "Signal strength:" 56 | } 57 | 58 | ProgressBar { 59 | width: 600 60 | minimumValue: -1 61 | maximumValue: 100 62 | value: sysinfo.networkSignalStrength(networkMode) 63 | } 64 | } 65 | } 66 | } 67 | } 68 | -------------------------------------------------------------------------------- /mobility/servicebrowser/qml/ServicesPage.qml: -------------------------------------------------------------------------------- 1 | 2 | 3 | import QtQuick 1.1 4 | import com.nokia.meego 1.0 5 | import com.nokia.extras 1.1 6 | 7 | Page { 8 | id: servicePage 9 | anchors.margins: UiConstants.DefaultMargin 10 | //orientationLock: PageOrientation.LockPortrait 11 | 12 | Label { 13 | id: titleLabel 14 | anchors.top: parent.top 15 | anchors.horizontalCenter: parent.horizontalCenter 16 | text: "Services available" 17 | } 18 | 19 | Flickable { 20 | anchors.top: titleLabel.bottom 21 | anchors.horizontalCenter: parent.horizontalCenter 22 | width: parent.width 23 | contentHeight: servicesButtons.height 24 | 25 | ButtonColumn { 26 | id: servicesButtons 27 | width: parent.width 28 | anchors.horizontalCenter: parent.horizontalCenter 29 | Repeater { 30 | model: manager.servicesNames 31 | Button { 32 | text: modelData 33 | onClicked: { 34 | console.log("Selecting service") 35 | pageStack.push(Qt.createComponent("ServiceImplementations.qml"), 36 | { serviceName: modelData, 37 | serviceIndex: index }) 38 | } 39 | } 40 | } 41 | } 42 | } 43 | 44 | /*tools: ToolBarLayout { 45 | id: mainTools 46 | ToolButton { 47 | text: "Add..." 48 | onClicked: { 49 | console.log("Add new contact") 50 | pageStack.push(Qt.createComponent("ContactEdit.qml")) 51 | } 52 | } 53 | ToolButton { 54 | text: "Select backend..." 55 | onClicked: { 56 | pageStack.push(Qt.createComponent("SelectBackend.qml")) 57 | } 58 | } 59 | }*/ 60 | 61 | } 62 | -------------------------------------------------------------------------------- /examples/demos/qtdemo/dockitem.py: -------------------------------------------------------------------------------- 1 | from PySide2 import QtGui 2 | 3 | from colors import Colors 4 | from demoitem import DemoItem 5 | 6 | 7 | class DockItem(DemoItem): 8 | UP, DOWN, LEFT, RIGHT = range(4) 9 | 10 | def __init__(self, orien, x, y, width, length, scene=None, parent=None): 11 | super(DockItem, self).__init__(scene, parent) 12 | 13 | self.orientation = orien 14 | self.width = width 15 | self.length = length 16 | self.setPos(x, y) 17 | self.setZValue(40) 18 | self.setupPixmap() 19 | 20 | def setupPixmap(self): 21 | self.pixmap = QtGui.QPixmap(int(self.boundingRect().width()), 22 | int(self.boundingRect().height())) 23 | self.pixmap.fill(QtGui.QColor(0, 0, 0, 0)) 24 | 25 | painter = QtGui.QPainter(self.pixmap) 26 | 27 | # Create brush. 28 | background = Colors.sceneBg1 29 | brush = QtGui.QLinearGradient(0, 0, 0, self.boundingRect().height()) 30 | brush.setSpread(QtGui.QGradient.PadSpread) 31 | 32 | if self.orientation == DockItem.DOWN: 33 | brush.setColorAt(0.0, background) 34 | brush.setColorAt(0.2, background) 35 | background.setAlpha(0) 36 | brush.setColorAt(1.0, background) 37 | elif self.orientation == DockItem.UP: 38 | brush.setColorAt(1.0, background) 39 | brush.setColorAt(0.8, background) 40 | background.setAlpha(0) 41 | brush.setColorAt(0.0, background) 42 | 43 | painter.fillRect(0, 0, int(self.boundingRect().width()), 44 | int(self.boundingRect().height()), brush) 45 | 46 | def boundingRect(self): 47 | if self.orientation in (DockItem.UP, DockItem.DOWN): 48 | return QtCore.QRectF(0, 0, self.length, self.width) 49 | else: 50 | return QtCore.QRectF(0, 0, self.width, self.length) 51 | 52 | def paint(self, painter, option, widget): 53 | painter.drawPixmap(0, 0, self.pixmap) 54 | -------------------------------------------------------------------------------- /mobility/sysinfo/qml/GeneralPage.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 1.1 2 | import com.nokia.meego 1.0 3 | 4 | Page { 5 | id: generalPage 6 | orientationLock: PageOrientation.LockLandscape 7 | anchors.margins: UiConstants.DefaultMargin 8 | 9 | Column { 10 | anchors.fill: parent 11 | spacing: 25 12 | Row { 13 | spacing: 20 14 | Label { text: "Current language:" } 15 | Label { id: currentLanguage; text: sysinfo.currentLanguage } 16 | } 17 | Row { 18 | spacing: 20 19 | Label { text: "Current country:" } 20 | Label { id: currentCountry; text: "currentCountry" } 21 | } 22 | Row { 23 | spacing: 20 24 | Label { text: "Available languages:"; anchors.verticalCenter: parent.verticalCenter } 25 | Button { 26 | id: languageButton 27 | text: "Select a language" 28 | onClicked: { 29 | pageStack.push(Qt.createComponent("AvailableLanguages.qml")) 30 | } 31 | } 32 | } 33 | Row { 34 | spacing: 20 35 | Label { text: "Version"; anchors.verticalCenter: parent.verticalCenter } 36 | Button { 37 | id: versionButton 38 | text: "Select version" 39 | onClicked: pageStack.push(Qt.createComponent("AvailableVersions.qml")) 40 | 41 | } 42 | TextField { 43 | text: "" 44 | } 45 | } 46 | 47 | Row { 48 | spacing: 20 49 | Label { text: "Feature supported"; anchors.verticalCenter: parent.verticalCenter } 50 | Button { 51 | id: featureButton 52 | text: "Select feature" 53 | onClicked: pageStack.push(Qt.createComponent("AvailableFeatures.qml")) 54 | } 55 | TextField { 56 | text: "" 57 | } 58 | } 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /examples/widgets/richtext/syntaxhighlighter/examples/example: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | LANGUAGE = C++ 3 | TARGET = assistant 4 | 5 | CONFIG += qt warn_on 6 | QT += xml network 7 | 8 | PROJECTNAME = Assistant 9 | DESTDIR = ../../bin 10 | 11 | FORMS += finddialog.ui \ 12 | helpdialog.ui \ 13 | mainwindow.ui \ 14 | settingsdialog.ui \ 15 | tabbedbrowser.ui \ 16 | topicchooser.ui 17 | 18 | SOURCES += main.cpp \ 19 | helpwindow.cpp \ 20 | topicchooser.cpp \ 21 | docuparser.cpp \ 22 | settingsdialog.cpp \ 23 | index.cpp \ 24 | profile.cpp \ 25 | config.cpp \ 26 | finddialog.cpp \ 27 | helpdialog.cpp \ 28 | mainwindow.cpp \ 29 | tabbedbrowser.cpp 30 | 31 | HEADERS += helpwindow.h \ 32 | topicchooser.h \ 33 | docuparser.h \ 34 | settingsdialog.h \ 35 | index.h \ 36 | profile.h \ 37 | finddialog.h \ 38 | helpdialog.h \ 39 | mainwindow.h \ 40 | tabbedbrowser.h \ 41 | config.h 42 | 43 | RESOURCES += assistant.qrc 44 | 45 | DEFINES += QT_KEYWORDS 46 | #DEFINES += QT_PALMTOPCENTER_DOCS 47 | !network:DEFINES += QT_INTERNAL_NETWORK 48 | else:QT += network 49 | !xml: DEFINES += QT_INTERNAL_XML 50 | else:QT += xml 51 | include( ../../src/qt_professional.pri ) 52 | 53 | win32 { 54 | LIBS += -lshell32 55 | RC_FILE = assistant.rc 56 | } 57 | 58 | mac { 59 | ICON = assistant.icns 60 | TARGET = assistant 61 | # QMAKE_INFO_PLIST = Info_mac.plist 62 | } 63 | 64 | #target.path = $$[QT_INSTALL_BINS] 65 | #INSTALLS += target 66 | 67 | #assistanttranslations.files = *.qm 68 | #assistanttranslations.path = $$[QT_INSTALL_TRANSLATIONS] 69 | #INSTALLS += assistanttranslations 70 | 71 | TRANSLATIONS = assistant_de.ts \ 72 | assistant_fr.ts 73 | 74 | 75 | unix:!contains(QT_CONFIG, zlib):LIBS += -lz 76 | 77 | 78 | target.path=$$[QT_INSTALL_BINS] 79 | INSTALLS += target 80 | -------------------------------------------------------------------------------- /examples/designer/calculatorform/calculatorform.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | ############################################################################# 4 | ## 5 | ## Copyright (C) 2004-2005 Trolltech AS. All rights reserved. 6 | ## 7 | ## This file is part of the example classes of the Qt Toolkit. 8 | ## 9 | ## This file may be used under the terms of the GNU General Public 10 | ## License version 2.0 as published by the Free Software Foundation 11 | ## and appearing in the file LICENSE.GPL included in the packaging of 12 | ## this file. Please review the following information to ensure GNU 13 | ## General Public Licensing requirements will be met: 14 | ## http://www.trolltech.com/products/qt/opensource.html 15 | ## 16 | ## If you are unsure which license is appropriate for your use, please 17 | ## review the following information: 18 | ## http://www.trolltech.com/products/qt/licensing.html or contact the 19 | ## sales department at sales@trolltech.com. 20 | ## 21 | ## This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 22 | ## WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 23 | ## 24 | ############################################################################# 25 | 26 | import sys 27 | from PySide2 import QtCore, QtGui 28 | 29 | from ui_calculatorform import Ui_CalculatorForm 30 | 31 | 32 | class CalculatorForm(QtGui.QWidget): 33 | def __init__(self, parent=None): 34 | QtGui.QWidget.__init__(self, parent) 35 | 36 | self.ui = Ui_CalculatorForm() 37 | 38 | self.ui.setupUi(self) 39 | 40 | @QtCore.Slot(int) 41 | def on_inputSpinBox1_valueChanged(self, value): 42 | self.ui.outputWidget.setText(str(value + self.ui.inputSpinBox2.value())) 43 | 44 | @QtCore.Slot(int) 45 | def on_inputSpinBox2_valueChanged(self, value): 46 | self.ui.outputWidget.setText(str(value + self.ui.inputSpinBox1.value())) 47 | 48 | 49 | if __name__ == "__main__": 50 | app = QtGui.QApplication(sys.argv) 51 | calculator = CalculatorForm() 52 | calculator.show() 53 | sys.exit(app.exec_()) 54 | -------------------------------------------------------------------------------- /examples/demos/qtdemo/guidecircle.py: -------------------------------------------------------------------------------- 1 | import math 2 | 3 | from PySide2 import QtCore 4 | 5 | from guide import Guide 6 | 7 | 8 | PI2 = 2 * math.pi 9 | 10 | 11 | class GuideCircle(Guide): 12 | CW = 1 13 | CCW = -1 14 | 15 | def __init__(self, rect, startAngle=0.0, span=360.0, dir=CCW, follows=None): 16 | super(GuideCircle, self).__init__(follows) 17 | 18 | self.radiusX = rect.width() / 2.0 19 | self.radiusY = rect.height() / 2.0 20 | self.posX = rect.topLeft().x() 21 | self.posY = rect.topLeft().y() 22 | self.spanRad = span * PI2 / -360.0 23 | 24 | if dir == GuideCircle.CCW: 25 | self.startAngleRad = startAngle * PI2 / -360.0 26 | self.endAngleRad = self.startAngleRad + self.spanRad 27 | self.stepAngleRad = self.spanRad / self.length() 28 | else: 29 | self.startAngleRad = self.spanRad + (startAngle * PI2 / -360.0) 30 | self.endAngleRad = startAngle * PI2 / -360.0 31 | self.stepAngleRad = -self.spanRad / self.length() 32 | 33 | def length(self): 34 | return abs(self.radiusX * self.spanRad) 35 | 36 | def startPos(self): 37 | return QtCore.QPointF((self.posX + self.radiusX + self.radiusX * math.cos(self.startAngleRad)) * self.scaleX, 38 | (self.posY + self.radiusY + self.radiusY * math.sin(self.startAngleRad)) * self.scaleY) 39 | 40 | def endPos(self): 41 | return QtCore.QPointF((self.posX + self.radiusX + self.radiusX * math.cos(self.endAngleRad)) * self.scaleX, 42 | (self.posY + self.radiusY + self.radiusY * math.sin(self.endAngleRad)) * self.scaleY) 43 | 44 | def guide(self, item, moveSpeed): 45 | frame = item.guideFrame - self.startLength 46 | end = QtCore.QPointF((self.posX + self.radiusX + self.radiusX * math.cos(self.startAngleRad + (frame * self.stepAngleRad))) * self.scaleX, 47 | (self.posY + self.radiusY + self.radiusY * math.sin(self.startAngleRad + (frame * self.stepAngleRad))) * self.scaleY) 48 | self.move(item, end, moveSpeed) 49 | -------------------------------------------------------------------------------- /mobility/sysinfo/qml/DisplayPage.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 1.1 2 | import com.nokia.meego 1.0 3 | 4 | Page { 5 | id: displayPage 6 | anchors.margins: UiConstants.DefaultMargin 7 | orientationLock: PageOrientation.LockLandscape 8 | Flickable { 9 | id: flickableDisplay 10 | anchors.fill: parent 11 | flickableDirection: Flickable.VerticalFlick 12 | contentHeight: columnDisplay.height + toolBarLayout.height 13 | contentWidth: flickableDisplay.width 14 | Column { 15 | id: columnDisplay 16 | anchors.top: parent.top 17 | anchors.topMargin: 20 18 | anchors.left: parent.left 19 | anchors.leftMargin: 20 20 | spacing: 25 21 | Row { 22 | Label { text: "Brightness: " } 23 | Label { id: labelBrightness; text: sysinfo.displayBrightness } 24 | } 25 | Row { 26 | Label { text: "Color depth: " } 27 | Label { id: labelColorDepth; text: sysinfo.colorDepth } 28 | } 29 | /* Row { 30 | Label { text: "Orientation: " } 31 | Label { id: labelOrientation; text: "" } 32 | } 33 | Row { 34 | Label { text: "Contrast: " } 35 | Label { id: labelContrast; text: "" } 36 | } 37 | Row { 38 | Label { text: "DPI Width: " } 39 | Label { id: labelDPIWidth; text: "" } 40 | } 41 | Row { 42 | Label { text: "DPI Height: " } 43 | Label { id: labelDPIHeight; text: "" } 44 | } 45 | Row { 46 | Label { text: "Physical Width: " } 47 | Label { id: labelPhysicalWidth; text: "" } 48 | } 49 | Row { 50 | Label { text: "Physical Height: " } 51 | Label { id: labelPhysicalHeight; text: "" } 52 | }*/ 53 | } 54 | } 55 | ScrollDecorator { 56 | flickableItem: flickableDisplay 57 | } 58 | } 59 | --------------------------------------------------------------------------------