problems with signal activeTabChanged

Hello

Ive tried to trigger an action when some tabs are launched for this that I though "Hey the activeTabChanged signal is perfect!", but for some reason any (I may implement the wrong way) it ever triggers the signal.

That's how I apply:

QObject::connect (tabbedPane, SIGNAL (activeTabChanged(Tab*)), this, SLOT (sectionTriggered(Tab*)));

void App: {sectionTriggered (bb::cascades:Tab * activeTab)}

activeListURL = activeTab-> objectName();

getList();

}

Am I missing something? I have debug and put a breakpoint in the slot, but he never reached the point...

OK, I found that the solution just had to connect the signal like this:

QObject::connect (tabbedPane, SIGNAL (activeTabChanged(bb::cascades::Tab*)), this, SLOT (sectionTriggered(bb::cascades::Tab*)));)

(including the "bb::cascades:" part) even though the qde described it as an error...

Tags: BlackBerry Developers

Similar Questions

  • Problems with signal followed during sampling of the signal

    Hello

    I'm relatively new to LabVIEW 8.0 and I'm having a problem with being able to monitor the signals that I am gaining two simultaneous analog signals.  I have the user to input the frequency of sampling and the length of the sample, and then I starts the scan, but when running the analysis, I don't see no result on the chart if the duration of the sample is passed, at which point all data comes.  Previously, I could see the acquisition of real-time data and I don't know what I've done since then have possibly that stop working.  I tried to introduce a kind of late for may allow the software to apply the data to the graphics, but I had no success.

    I have attached the VI of the data acquisition component.

    Thank you so much for reading this.

    Hello

    I suggest you try these two options:

    1. in each iteration of the while loop, add your data to the data of the previous iteration, IE use a shift register to create an Adrien to data that you have acquired. When you save the data in a file, read data from the table and not the current value of the waveform. You can read the data in the table by using a queue, or by using any simple method to pass data between the blocks.

    When you use a local variable of the waveform card, you only read the current value in the array, not its history.

    2. use a property of waveform graphs node to read the history of the ranking, convert the picture from picture to picture 1 d 2D using cluster of waveform ungroup functions and write to the file, click on "Save".

  • Problem with signal sony z2

    Hello, I have problem with my Sony z2 that I have weak signal mobile after update to new android 5.1.1 build number 23.4.A.1.264

    Before the updates signal was better.

    @Izaaa

    You can't unless you use flashtool or xperiafirm, or contact your Local support

    If I were you, I would repair the phone with PCC

    software repair

    PC Companion (CCP)

    Bridge (for Mac)

    Alternatives on how to backup Xperias

    http://talk.sonymobile.com/thread/36355

  • New Dell Inspiron 1764: Problems with signal low connection to wireless networks.

    I have a new laptop Dell Inspiron 1764 I received on 25 June. It is "replace" a Dell Inspiron 9100, who has learned to be too slow and too bulky for my needs. For the purposes of support, the two laptops are running on Windows 7.

    Overall, I love my new Inspiron 1764. However, I noticed the connection/signal strength seriously degraded, with wireless (Dell Wireless 1397 WLAN Mini card) card, compared to my Inspiron 9100 (Dell Wireless 1350 WLAN Mini-PCI card).

    In areas of my home that my 9100 can obtain the power of the complete signal (5 bars), my new 1764 bars 2 or less. This behavior is not as limited to only my house as I have tested in my work and in an area of less than 10 feet away from the wireless router, I have 'Internet connectivity problems.

    I tried twice this morning talk with Dell technical support. The first person I talked to tried to be helpful and initiated at least a DellConnect session with me so that he can check out some of my settings and such (However, why they went twice in my sharing settings I could not determine as they have absolutely nothing to do with the intensity of the signal).

    Unfortunately, I was disconnected from the session when I went to a place that had less signal than just next to my wireless router.

    I then go on the chat support with Dell and received another technician to speak with. I explained my problem, told them that I was in a DellConnect session with the other technician, and they looked to the top of my support contract.

    They then told me that my warranty does not cover software issues and referred me to the software Department and said it would be a supplement. I told them that I did not believe that it is a problem of software in any way, shape, or form. They told me that it must be a matter of adjustment. I spent several hours scouring the internet forums on Dell and other sites check those who have had similar problems. Some of their questions were certainly the software settings, but I still don't yet to find anything that tells me I have an incorrect setting of software.

    So far, I'm standing in my kitchen, tapping on my Inspiron 9100 with a full 5 bars, while my Inspiron 1764 is sitting next to me with a skinny 2 bars, and I am literally standing 7 feet above the room which houses my Linksys WRTU54G-TM router.

    Personally, I suspect a faulty wireless card, but how to convince Dell to hear my case and replace it instead of trying to bilk me for support of useless software?

    I hope Dell Tech Support bed actually this post, or people with the same problem can Dell refer to my previous post describing the problem and the fix.

    It IS a PROBLEM of MATERIAL WITH the ANTENNA, AND VERY PROBABLY THE DIFFERENCE BETWEEN a DECK CONNECTION at the ANTENNA of the PLATE, from connections TAPE FOIL INDIVIDUAL at the ANTENNA of the PLATE, THAT DELL MUST HAVE RESPONSE BETWEEN WHAT MINE PORTABLE has BEEN CARRIED OUT AND THE SPARE ROOM WAS MADE. THE PROBLEM IS NOT SOFTWARE, PROVIDER OR ROUTER, IT IS THE PLASTIC WITH THE ANTENNA CASE!

    Dell is in fact losing more money with the hours of technical support through software patches and sending technicians with new wireless cards that does not solve the problem. They need to send and replace the plastic case behind the LCD screen with the updating of antenna and connections.

    Good luck!

  • Problem with signals TTL metering: confused with counting

    Hello

    I use a TTL of 0.2 Hz signal to synchronize two devices. I use a Usb-6210 card to count the pulses TTL. The meter goes off when it detects the edges increase. In my case, the meter was sometimes triggered at low altitude, which causes wrong results (see attached pictures, the TTL signal is sampled at 20 Hz and the dots represent an increment of the counter). How can I solve this problem?

    In addition, the cable that connects the TTL output was welded by myself, would that be a problem of bad contact?

    Thank you very much

    K-X

    What is the nature of the device producing the TTL trigger signal?  Is it possible, for example, that it could produce a 1 microsecond pulse (which might not be visible on your signal ground) that would trigger the meter?  You really produce a digital pulse (i.e. your something circuit which is 'on' or 'off' as opposed to 'product analog voltage in the range of 0 to 5 volts')?  Are there any other devices around that could produce the impulses that are "picked up" by your meter?  The cable connecting the TTL is armored pulse for the meter?  The shield is based at one end?

    These questions (and the previous) suggest that the problem may be 'electronic' rather than 'LabVIEW '...

  • Problem with signals slots ToggleButton

    Trying to connect a signal to a slot:

    connect(myToggleButton, SIGNAL(checkChanged(bool)), myDataClass, SLOT(setMyValueOn(bool)));
    

    In myDataClass.hpp:

    public slots:
      void setMyValueOn(bool valueOn);
    

    In the cpp file:

    void MyDataClass::setMyValueOn(bool valueOn)
    {
      // never called
    }
    

    I have the MyDataClass is a subclass of QObject and Q_OBJECT at the appropriate place in the file of the hpp.

    I think that I incorrectly use the toggle switch.

    The signal is called checkedChanged (bool).

    BTW, I suggest using Qt Creator, if you develop mostly in C++. It has the very practical signals AutoComplete functionality.

  • Problem, the signals and Slots

    Hi, as I posted in one of my other posts I have following problem with signals and messages and would be nice if someone could clarify anything that I don't seem to be able to find what the problem of the outputs.

    I have the code:

    void MYNetworkClass::requestFinished(QNetworkReply* reply)
    {
    
          // Check the network reply for errors
          if (reply->error() == QNetworkReply::NoError)
          {
             // read response
             const QByteArray response(reply->readAll());
             qDebug() <<"Response: "<< response;
    
             JsonDataAccess jda;
             QVariantMap results = jda.loadFromBuffer(response).toMap();
    
             QVariantMap data = results.value("SomeData").toMap();
    
             emit signalSuccess(data); // I reach here .... 
    
    // however actually when I click "Step Over" in debug mode, and try to exit the function// afterwards I get such "error" saying: No source available for "QMetaObject::activate() at  0xb9668da7" - highlighted in red.
    
         }
         else
         {
             qDebug() << "\n Problem with the network";
             qDebug() << "\n" << reply->errorString();
         }
    

    In MyNetwork class I also added the definition of signal in the header file:

    signals:
    
        void signalSuccess(QVariantMap result);
    

    Now also when someone calls an object MyNetworkClass method which calls requestFinished,.

    I want to catch the signal which is emitted by the requestFinished - as shown above.

         MyNetworkClass *network = new MyNetworkClass();
    
        QMap params;
        params.insert("username", userEmail);
    
        bool res = QObject::connect(network, SIGNAL(signalSuccess(QVariantMap)), this, SLOT(SomeSlotForSignal(QVariantMap)));
    
            Q_ASSERT(res);
        Q_UNUSED(res);
            network->makePostRequest("Login");
    

    My problem is that the SomeSlotForSignal slot never is called... (even if the signal is issued constitute requestFinished method and as I stated SomeSlotForSignal as a crack in the header file...) What can be problem? Any help? Thank you.

    I guess I solved the problem.

    The code I presented previously registered function

    F of a class B:

     void B::f()
    {
    MyNetworkClass *network = new MyNetworkClass();
    
        QMap params;
        params.insert("username", userEmail);
    
        bool res = QObject::connect(network, SIGNAL(signalSuccess(QVariantMap)), this, SLOT(SomeSlotForSignal(QVariantMap)));
    
            Q_ASSERT(res);
        Q_UNUSED(res);
    
    network->makePostRequest("Login");
    }
    

    Then the function f is called to:

        B object;
        object.f();
    
    The problem was I think that when the server responded "object" was destroyed from the stack. When I replaced the above code, with 
    
         B* object = new B();
        object->f();
    
    I think it works now......
    
  • Error: 200279. Problems with playback of three signals with NI 9234

    I try to read three signals at the same time with the NI 9234. But I have the problem with the buffer, I have read about this error and tried all the solution they gave (sample of Crescent by channel, increasing the number of samples per channel or decrease rate) but still nothing. I also try architecture design of producer/consumer model, but nothing, it always get this error. Someone knows how to fix this?

    lincoln1991 wrote:

    Well, I realized that the error only occurred when I was to "highlight the execution", it's wear and tear

    So problem solved.  Now you know why.

  • [FPGA] Problem with the sinusoidal signal generator

    Hello!

    At first I want to apologize for my English is not my mother tongue.

    Hardware and software I use is:

    LabVIEW 8.5

    NEITHER RIO 2.4.1

    NEITHER cRIO-9014 (controller in time real CompactRIO)

    NEITHER cRIO-9104 (chassis and FPGA)

    NEITHER 9264 (16 channels, +-10V, 16-bit voltage analogue output Module)

    I made a very simple FPGA VI: a while loop, generator of sinusoidal signal and a FPGA of e/s node in the loop. I've specified the Gnerator settings by following the path:

    Frequency = 50 Hz
    Amplitude = 1
    Phase shift = 0.00
    Size of the table look-up = 1024
    = 16-bit amplitude resolution

    FPGA clock frequency (40 MHz)

    But the wave of "sine" I got is not what I wanted to get. First of all, its amplitude is 1 V. shouldn't it be coded on 16 bits? If I wanted to get 1V I should have specified Amplitude as a 3277. In addition, 'sine' is not very detailed, it's look like "steps", as many samples vere missing. What I did wrong? I checked the samples and tutorials, I did everything the same way. A I forgot something or not has not specify other parameters?

    Thanks a lot for your help!

    OK, I solved a problem. It's embarrassing to admit, but maybe this will help someone else I blame my inexperience

    The main solution to the problem was changing calibration of calibrated RAW Mode. After that, everythoing works as expected. I had a problem with a sample because I was using a multiplier to control the generated sine wave amplitude. But... She was set to 1 in the sinusoidal signal generator. That was the reason for waveform Gradin. Please, don't laugh too much

    In any case, thank you for an answer! It is now resolved

  • I am facing a problem with the beep.vi. I have a DAQ program, which acquired the signal and compare it to a threshold value. When a signal is out of range, a Visual and sound alarm has occurred. I use the VI beep.vi to generate the sound.

    I am facing a problem with the beep.vi.  I have a DAQ program, which acquired the signal and compare it to a threshold value. When a signal is out of range, a Visual and sound alarm has occurred. I use the VI beep.vi to generate the sound. Everything works fine except the sound alarm. It gives the table 1 d of type mismatch. I tried to fix this by placing it in a box structure. But it still does not work. If someone could help? Please find attached my VI. Best wishes to all visitors to the Forums of Discussion OR.

    Ihab El-Sayed

    published here: http://forums.ni.com/t5/LabVIEW/Playing-sound-based-on-exceeding-a-threshold-value-1D-array-data/m-p...

  • Anyone having problems with the new iPhone LTE connection 7 on Verizon?

    I am now on my iPhone second 7 with Verizon. I had four phones for me and my family. I have now had issues where I have no signal in the same areas where my signal allows to be strong. I can't solve the problem with the activation/deactivation of the airplane and then mode again in normal mode. My phone will rest with no signal for 5 minutes, then going to LTE with three bars. I also had the problem where I had only 1 x signal, while my son standing right next to me has LTE. And he had the same questions, where I'm on LTE and it gets no signal. I use to have LTE where I live and work all the time, now it's spotty at best. Apple has replaced me and my sons iPhones but not luck. Still do. Any ideas or an any other suffering?

    (1) go to settings/cell phone/cellular data Options/enable LTE and select ONLY the DATA. This seems to solve the problem (as a temporary solution) for most of the people affected by this problem. The bad part is your request might not be as clear (since they cannot use the highest LTE signals) and you can make calls and data at the same time. But it does not solve the issue.

    (2) there are rumors (but you didn't hear that from me that we only are not supposed to discuss beta software program Apple in this forum) that the new version of Apple Beta for iOS (which also includes an update of the software carrier Verizon to 26.0) seems to solve this problem. So, there's a light at the end of the tunnel.

  • Problem with iPhone 6 more 'no service '.

    update my iPhone iOS IOS 10 9.3.5 6 more. not always shows 'no service' him! No phone call, no data after only came out of my toolbox.and signal is after about 10 to 20 minutes. But never happened before with iOS 9.3.4 and earlier versions. Has happened with 9.3.5 iOS and iOS 10. And now another problem with my phone after updating to iOS 10. The above icons on my phone are all disappear. Something like Bluetooth battery icon battery percentage and cellular clock are all disappear.

    Have you ever tried the General troubleshooting steps?

    1 force restart the phone now sleep and home for 10 seconds, button until the Apple logo comes back again. You won't lose data.

    2. in case that does not work, set back to factory settings, without using the last backup. Test the phone. If it works, restore the backup.

    Use iTunes to restore your device to factory settings - Support Apple iOS

    3. If the factory reset does not help, get the phone checked by Apple:

    Launch a service request

    Find an Apple authorized service provider

    Make an appointment at the Apple Store

  • What is the problem with my iMac mid-2011

    Hello

    Need help find out what is the problem with my iMac to mid-2011.

    Yesterday during a reboot it just never came to life.

    On turning the power on, I get the RINGTONE to start and that's it. The screen is totally black. Nothing behind tried with a torch.

    VRAM rearmament so far I tried repeatedly, unplug and plug, all kinds of combinations of keys in the carillon and nothing.

    Connected to an external monitor and shows nothing of too - no signal.

    Any way that I can know what is wrong with it before sending it to the service tech? I suspect bad graphics card but how do you ensure?

    From what you describe, it looks like a hardware issue that Apple will only be able to resolve, but not to despair immediately.

    Read it please get help with graphics issues on external displays connected to your Mac - Apple Support.

    I know that the title and subject are not suitable to your concern, but buried in this document is the following passage that contains three links describing the steps to follow.

    If you can not change the resolution of your screen because you see no image, restart your Mac in safe mode to reset the default display resolution.

    If booting safe mode doesn't resolve the problem, reset your Mac NVRAM and SMC to reset the video ports on your Mac to their default values.

    That first, then write again for additional suggestions if you are still having problems.

  • Problem with external hard drive (an unexpected error - 50)

    I've had this problem for a few months now. Sometimes, I can't delete a file from my external hard drive, or export a file to it. The process is impossible, and I get a message "Cannot perform the action due to an unexpected error - 50". Ejecting the disc gives the message "eject impossible because another program can use it." Ejection force becomes the only option. After re-login, the problem goes away, like nothing ever happened.

    The question is not constant, but quite common to become a nuisance, the one I want stopped.

    That's what I think it is (a bad connection with the cable, defective contact), or is this a virus? I need to know.

    The hard drive is 1 TB Toshiba Canvio Basics and is formatted as Mac OS extended (Journalized).

    not a virus, and not only because there is no virus mac at this time.

    negative errors on the discs can be a signal indicating that the file is corrupted or worse still, the drive is failing. While it can also be a problem with the cable or the connector that it commonly goes back on the disc itself.

    Currently, it is recommended that you backup your data if a backup fails, you may need to save what you can manually and sometimes that means go to this folder by folder or file by file

    Use Time Machine to back up or restore your Mac - Apple Support

    All HARD drives (and SSD') eventually fail and while this isn't a your statement you should check the drive with disk utility (Macintosh HD/Applications/Utilities/Disk Utility) after you got what you possibly can off and consider replacing the disk with a new one.

  • Problem with HBO go App on Iphone 6 s

    I am unable to play a video on the HBO Go app.  Instead, I get "error video, operation canceled."  I contacted the support HBO and they said that they were unable to reproduce my problem on their end, and that's why it must be a problem with my phone or apple.  I have an iphone more than 6 s.

    I tried the usual things, restart my phone. delete the app and reinstall, nothing works.  Videos of games apps fine (CBS, ABC, Comedy Central), so this isn't a problem with lack of power or my phone provider wifi.  I am able to read HBO video on my computer, so my internet provider account doesn't seem to be the problem either.

    Any suggestions?

    Also did you watch your content on another WiFi signal? Have you reset your network settings? I have this iPhone even with the same application, and when running on the same iOS 9.3.2,and I do not have the problem you describe, although I have experienced it in the past in a singular event. If none of these work for you move in the right direction to solve this, you can always go so far as to load a new installation of the operating system on your iPhone. I would recommend that you back up before make, but restore your iPhone to factory settings and do not restore the backup in order to test the service when your iPhone is free of any settings, settings or software. If the problem persists, I would potentially look at the configuration of the router.

    The backup of your iPhone, iPad and iPod touch - Apple Support

    Use iTunes on your Mac or PC to restore your iPhone, iPad or iPod settings - Apple Support

    Recommended settings for the WiFi routers and access points - Apple supported

Maybe you are looking for