Access from C++ to a textbox created in C++... no qml in sight...

Greetings to all... I have just joined the community... and I just receive an alpha of dev - I was able to download some raw samples to experiment on this device... I can write in a text box or label, but I seem to be impossible to read from a text box... I tried using the connect command as shown in the example of lightning

Boolean result = QObject::connect (opacitySlider, SIGNAL (immediateValueChanged (float)), day, SLOT (setOpacity (float)));

and even if I have an error of syntax on this line, it works well...

but I get a polite message that I use an illegal Sub in the variations of

Connect (textfield, SIGNAL (textChanging(const Qstring &)), this, SLOT (onTextChanging(const QString &)));))

I'd like to just be able to do a strcpy (mystring, textfield.text)... is such a simple thing possible... ???

I guess that 'this' and '&' are signature tokens to spend within the connection settings?

I would avoid qml intra-coding if I may... so if anyone can give me a good push in the right direction, I would be grateful... Is there a manual online reference that deals with these extensions c ++? Cheers, rich

Thank you very much for your help. It has been quite a week and the learning curve... I appreciate the great advice that I received from you... Since I am just acclimate me to this medium, I build I know is to say C... the development environment is different from what I'm used to... but the most problems that he had to crawl the bowels of the development framework. I need to dig through QT and clever code to C extensions it represents... I have a problem I set but I think I'll give it a go using the resources you have made me. I hope I can return the favor at some point. Once again, Bravo and thanks, rich

Tags: BlackBerry Developers

Similar Questions

  • I'm not able to access my Google and Mozilla Gmail account, but be able to access from the internet explore.

    Last 5-6 months, I'm not able to access my Mozilla firefox google account, but access from IE.
    Following error messages appear...

    "We have detected a problem with your cookies settings.
    Enable cookies
    Make sure that your cookies are enabled. To enable cookies, follow these browser-specific instructions.
    Cookies and empty the cache
    If you have cookies enabled but are still having problems, clear the cache and cookies of your browser.
    Adjust your privacy settings
    If your cache and clearing cookies doesn't resolve the issue, try adjusting the privacy settings of your browser. If your settings are up, manually add www.google.com to your list of allowed sites. Learn more. »

     ... Kindly resolve my issue
    

    Kind regards
    Amit

    Another way to check the specific permissions for the site is to use the Page Info dialog box. While on a Google.com page, either:

    • Right click and select View Page Info > permissions
    • ALT + t (open the classic Tools menu) > Page Info > permissions

    In the dialog box that opens, check the permissions to "Set Cookies" and "Maintain offline storage" and adjust as required. (Example screenshot attached.)

  • I want to remove access from my computer it does not turn off

    somehow my computer won't come until I close magnifying glass. I want to remove it from my computer

    Hello

    Click on start - go to the ease of Panel - easy access - from the center of control - make the computer easier to see - now uncheck turn on Magnifier - to finish click on apply.

    http://www.Vistax64.com/tutorials/125037-Magnifier-turn-off.html

    also read the tutorial above while turning the magnifying power.

  • Of SSL VPN is not able to access from the outside

    Configuration SSL VPN, unable to access from outside, when trying to access the browser site, it says "cannot display the Page.

    Area basic firewall is configured, there must be something that I'm missing, please see the attached config.

    Any help please

    Looks like you will have to allow SSL VPN from the WAN traffic to the free zone (ZP-WAN-to-self), so you need to update the political map (PMAP-JM-WAN) in particular the ACL (ACL-VPN-PROTOCOL), must allow access to port 443 of any source IP address:

    permit tcp any  eq 443
    .. .should do the trick. Cheers, Seb.
  • I want to spend my access from a mac (which I am getting rid of) to my PC - how?

    Hello

    Bought it is not if long - pdf services now to get rid of my mac and you want to access from a PC - how do I do this - doesn't seem like I can download it again.

    Hi deniseg42120976,

    May I know what are the services that you have purchased? Is - this subscription Pack PDF, export to PDF or Acrobat. Pack of PDF and export to PDF are online services that can be used by going to the web regardless of operating system. But if you have Acrobat subscription, you must install it on the PC from here: download Acrobat DC (DC) | Company or VIP

    Thank you

    Abhishek

  • LDAP and APEX for access from home

    I am new to LDAP and only familiar with concepts so bear with me. I would like to know if I can use LDAP with an APEX application so that employees can access the LAN/intranet working system as well from home (or anywhere on the internet). They have access to the intranet via the LAN by signing on the use of their Novell username and password. I'm assuming that they can connect to the House using the same Novell username and password. (BTW-I don't want to set up APEX user ID or database user ID for users of 1800-1900). This can be accomplished? If so, how?

    I have a meeting with the vice-principal of the week next to discuss this project which it can manage access from the internet.


    Thank you in advance.

    Robert
    http://apexjscss.blogspot.com

    Hi Robert,.

    Yes, he is indifferent to the APEX where a user comes from. As I mentioned above, authentication is performed in the database by data that shows through the front. As long as the front-end server reaches the end back, your users can connect.
    The onlyl restriction that can be there is the Novell (LDAP) server not accepting does not request to the database server. But if you have LDAP works on your APEX for a LAN/WAN access, he will work with the reverse proxy as well.

    -Udo

  • Import an Access from Oracle database

    Hello

    I would like to know if there is a way to import an Access from Oracle database


    Thanks forward

    The easy and simple way to do this is using Sql Developer

    Please see the link is a guide step by step to achieve what you want

    http://www.Oracle.com/technology/tech/Migration/Workbench/Viewlets/accessconnlauncher.html

    http://www.Oracle.com/technology/tech/Migration/Workbench/Viewlets/msaccesslauncher.html

    Concerning

  • Mapping to a Windows 7 disc from a XP platform, it creates the connection but it says "share: denied \Access.»

    Original title: mapping to a Windows 7 disc for XP platform

    Hi all is there anyone who can help me with the mapping a drive of windows 7 from my xp machine? I shared the drive on the computer 7 and everyone has permissions with full game. I can map other machines windows 7 itself but not some xp machines. I can ping the machine 7 machine xp with the address and the name of the computer. Now when I map the drive to create the connection but it says "share: denied \Access.»
    Any help is greatly appreciated.

    Hello Jgg5037,

    Double check to make sure that all computers are part of the same working group:
    Disable host group on the Windows 7 computer:
    Let us know if any of these methods help you resolve the error "access denied."
  • Cannot access documents or electronic messages from the user account, account created test.

    Original title: IUser account Test

    I had problems with windows install somehow I do not know how I took to microsoft remote assistance and my computer has been taken over, in the

    process of a test user account has been created and then I lost the site so now I don't have any document or email and do not know how to get back to my user account please someone help

    Hello

    1. What is the exact problem you are facing with Windows Installer?

    2 are you able to start the computer in the log on screen?

    Please provide more information on the issue so that we can better help you.

    Resolution

    I suggest that you start the computer in safe mode , and then try the steps in the link below to retrieve the damaged Windows XP user profile.

    How to recover damaged Windows XP user profile

    http://support.Microsoft.com/kb/555473

  • Access a drop-down list component created in fom runtime C++

    Hello everyone.

    I included a file "Settings.qml" as a ComponentDefinition in my file "main.qml" as follows:

    *******************************
    main.qml
    *******************************
    
    Page {
        id: page
    
        //App menu
        Menu.definition: MenuDefinition {
            settingsAction: SettingsActionItem {
                title: "Settings"
                imageSource: "asset:///icons/ic_settings.png"
                onTriggered: {
                    var settings = settingsSheet.createObject(_cam);
                    settings.open();
                }
            }
        }
    
        //Main container
        Container {        Camera {            id: cameraQML            objectName: "cameraQML"        }    }
    
        //Attached objects
        attachedObjects: [
            //*****this is the component definition****
            ComponentDefinition {
                id: settingsSheet
                source: "Settings.qml"
            }
        ]
    }
    

    Then, in the "Settings.qml" file, I have something like that.

    On the crack of onCreationCompleted I call you access of wich C++ function to the cameraQML component and gets the available resolution values and add them to the drop down list component.

    ***********************Settings.qml***********************
    
    Sheet {
        id: settingsSheet
        objectName: "settingsSheet"
        peekEnabled: true
        content: Page {        Container {            DropDown {
                    title: "Capture Resolution"
                    objectName: "resolution"
    
                    options: [
                        Option {
                            text: "16:9"
                            value: 16/9
                        }
                    ]
    
                    onCreationCompleted: {
                        _cam.loadResolutionValues();
                    }
    
                    onSelectedValueChanged: {
                        //_cam.selectResolution(selectedValue);
                    }
                }
            }    }}
    

    The PROBLEM comes when I try to access the menu item drop down because, even if I get error when you call the function findChild(), I do when I try to add Options by calling the add() function:

    ******************applicationui.cpp******************
    
    AbstractPane* root;Camera* cameraQML;DropDown* resolutionsDD;
    
    void AppliactionUI::ApplicationUI() {    //code...    QmlDocument *qml = QmlDocument::create("asset:///main.qml").parent(this);    qml->setContextProperty("_cam", this);    root = qml->createRootObject();    cameraQML = root->findChild("camera");    //code...}void ApplicationUI::loadResolutionValues() {
        QVariantList reslist = camaraQML->supportedCaptureResolutions(CameraMode::Photo);
                    //**I don't get error by calling this function
            resolutionsDD = root->findChild("resolution");
    
            //**The app do crashes when calling any of these three functions
        //resolutionsDD->setTitle("Choose an option");        //resolutionsDD->removeAll();
        //resolutionsDD->remove(resolutionsDD->at(0));    for (int i = 0; i < reslist.count(); i++) {
            qDebug()<<"QVatiant value:"<add(Option::create().text(res.width()+"x"+res.height()).value(reslist[i]));
        }
    }
    

    I thought it was a problem with the type of value, I was put in the service. value() when you create an option, but then I realized that, while trying to change the title from the drop-down list, or delete i ' ts options that the application crashed also.

    This makes me think that the problem is that I'm not a correct reference for component drop-down menu QML due to the fact that this drop-down list does not exist when the application starts and is created until the user opens the Settings.qml file. Also, I think that this is a problem with all that stuff parent and child, but of course, it's just a feeling.

    I'd really appreciate your help on this type of problem. I'm not experienced enough to know what is the right way to get a reference of work to the drop down list component in question in a situation like this

    Thank you very much in advance!

    P.D. I'm sorry, I know that my English is not very good. Hope you do not misunderstand

    Hello
    Very probably findChild returns NULL and a NULL pointer dereference causes the crash. I remember there was problems with findChild during the use of the leaves.

    Try from the drop-down list directly to the function as an argument:

    (1) in applicationui.cpp:

    After:
    QmlDocument *qml = QmlDocument::create("asset:///main.qml").parent(this);
    
    Add:
        // This is needed for passing DropDown in function parameters from QML to C++
        qmlRegisterType("bb.cascades", 1, 0, "DropDown");
    

    (2) modify the function declaration for:

    Q_INVOKABLE void loadResolutionValues(bb::cascades::DropDown *dropDown);
    

    (3) in QML:

    DropDown {
      id: dropDown
      ...
      onCreationCompleted: {
         _cam.loadResolutionValues(dropDown)
    
         // _cam.loadResolutionValues(this) // maybe this will also work, but I haven't checked
    
      }
    }
    
  • Receive the error message "you have been connected with a temporary profile, in this profile, you can access saved files and something new created or added to this profile will not be saved"

    Original title: temporary profile

    I was wondering if anyone can help... I have a compaq laptop, windows 8 and the last few times ive turned on n signed in its took much longer than usual and connect to a temporary profile where it seems that everything I had there before such as files and photos have already disappeared. But it then opens with a message saying something along the lines of. . "You have been logged on with a temporary profile, in this profile, you can access saved files and any new tjing created or added to this profile will not be saved" does anyone know how solve this...

    Hi Lucie,.

    Activation of the built-in Administrator account can help get the problem solved.

    Perform the steps suggested by Pinaki displayed from the link below and see if it helps.

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_8-system/Windows-8-keeps-loading-with-temporary-profile/583abee6-645D-42a1-88da-063547c6eea0

    Answer please if you have any questions.

  • Bootstrap menu navbar dropdown menu - no access from the home page

    I have a website created with Dreamweaver CC 2015.1. The Bootstrap navigation bar contains 3 links and 1 menu drop-down. These are: home, about, Contact, available movies (drop-down). I'm unable to access the drop-down list directly from the homepage. It works very well in any of the other pages on the site. How can I fix?

    Take a look at the lines 55-61 of index.html that says

    <a>Bruce Shooting Onboard</a>

      

      

      

  • Can access us the BC base if creating an app for iPhone or Android

    I have a client who is interested in creating an iOS/Android application for his company. Our application developer uses the REST / JASON to make calls to the database. Is it possible for him to extract data from the BC for the site database so it can display data in the application? If this is not the case, what do you recommend?

    At the moment it is possible to access the data in British Colombia (CRM and e-commerce data only) using the SOAP API calls: CRMand e-commerce

    The v3 API are available at the moment only for the applications of BC, they cannot be used to make calls-server or application server immediately.

    Thank you

    Mihai

  • Control of accessibility from the figures without alt text

    I was watching a number of PDF files for my institution and have disocvered full Acrobat XI option in the check (although I've seen this in Acrobat X as well), isn't marking errors in figures without alternative text.  It will be on some files, but on most marks just the test as adopted when it should be impossible.

    I've rechecked 'Figures require alternative text' is checked in the menu text replacement and topics.  Did I miss an option somewhere?  I am trying to create a workflow for my staff, and I had a rather error get correctly marked in order to try and get them to do not forget to handle.

    If I take the same file that passes from Acrobat and then run it through another program, such as the PDF accessibility checker, it correctly reports all these images Acrobat transmitted as images without alternative text.

    Any thoughts?

    Thank you.

    The figures have a text in the text instead of an alternative text field? I've seen this passage of the audit tool Acrobat XI but fail CAP 1.3 (surprisingly, he seems to spend CAP 2.0). The other thing, I would check is the content pane to make sure that the figures are not hidden in containers of the artifact.

  • Error connecting to the Access from Oracle database

    Dear all,

    I am trying to connect to Oracle 9i in the Access database.

    but im getting error when running query below.
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    NCRO: Failed to make RSLV connection
    ORA-02063: preceding 2 lines from MYSQL
    I did the next thing through to connect to the database.

    (1) first of all I did called ODBC1 odbc driver
    (2) I create the following file on the oracle C:\oracle\ora9I\hs\admin\initodbc1.ora Server
    I have change the thing below in initodbc1.ora
    HS_FDS_CONNECT_INFO =ODBC1
    HS_FDS_TRACE_LEVEL = ON
    (3) I made a few changes in sqlnet.ora
    SQLNET.AUTHENTICATION_SERVICES= NONE
    before it was *NTS*
    (4) here's the entries in tnsnames.ora I changed the port of 1521 to 1522 cos 1521 already exists.
    ODBC1.TADAWI.LOC =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1522))
        )
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = ODBC1)
        )
      )
    ODBC1.WORLD =
      (DESCRIPTION =
         (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.251) (PORT = 1522)
      )
      (CONNECT_DATA =
          (SID = ODBC1)
      )
      (HS=OK)
     )
    (5) the code in the file listener
    ODBC1 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1522))
      )
    
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1521))
        )
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2))
        )
      )
    
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = C:\oracle\ora9I)
          (PROGRAM = extproc)
        )
        (SID_DESC =
          (GLOBAL_DBNAME = orcl)
          (ORACLE_HOME = C:\oracle\ora9I)
          (SID_NAME = orcl)
         )
         (SID_DESC =
          (PROGRAM = hsodbc)
          (ORACLE_HOME = C:\oracle\ora9I)
          (SID_NAME = ODBC1)
        )
      )
    (6) after that I created
    SQL> CREATE DATABASE LINK MYSQL CONNECT TO XTRACK IDENTIFIED BY XTRACK USING 'ODBC1.WORLD'
    
    Database link created.
    (7) the listener status
    LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 04-MAR-2012 21:26:16
    
    Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.
    
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=admin-amc)(PORT=1521)))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Production
    Start Date                04-MAR-2012 20:52:33
    Uptime                    0 days 0 hr. 33 min. 44 sec
    Trace Level               off
    Security                  OFF
    SNMP                      OFF
    Listener Parameter File   C:\oracle\ora9I\network\admin\listener.ora
    Listener Log File         C:\oracle\ora9I\network\log\listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=admin-amc.tadawi.loc)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC2ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=admin-amc.tadawi.loc)(PORT=8080))(Presentation=HTTP)(Session=RAW))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=admin-amc.tadawi.loc)(PORT=2100))(Presentation=FTP)(Session=RAW))
    Services Summary...
    Service "ODBC1" has 1 instance(s).
      Instance "ODBC1", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl" has 2 instance(s).
      Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    I did exactly what documents said, and it will not be through any error but atlast when I try to access access database tables it gives me the error below
    SELECT * FROM DBO_COMPANY@MYSQL
                              *
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    NCRO: Failed to make RSLV connection
    ORA-02063: preceding 2 lines from MYSQL
    I use Oracle9i Enterprise Edition Release 9.2.0.1.0 any help will be appreciate.

    Concerning

    Houda

    Published by: houda Shareef on 4 March 2012 10:25

    I guess that your listener.ora always has a section of SID and you did not copy paste... Then please post the entire file

    Please open a command line window and do:
    C:\oracle\ora9I\bin\hsodbc
    After all output including the call.

    Published by: kgronau on March 6, 2012 18:31
    When the listener above is still correct, the cause would be that you have 2 SID with the same name in your listener.ora:
    SID_LIST_ODBC1 =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = ODBC1)
    (ORACLE_HOME = C:\oracle\ora9I)
    (PROGRAM = hsodbc)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = ODBC1)
    (ORACLE_HOME = C:\oracle\ora9I)
    (SID_NAME = ODBC1)
    )
    )

    Please change to:
    SID_LIST_ODBC1 =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = ODBC1)
    (ORACLE_HOME = C:\oracle\ora9I)
    (PROGRAM = hsodbc)
    )
    )

    Published by: kgronau on March 6, 2012 18:34
    Once you change the listener, please stop and start the listener called odbc1: odbc1 stop lsnrctl and lsnrctl start odbc1

Maybe you are looking for