Search Results

Search found 2649 results on 106 pages for 'signal slot'.

Page 6/106 | < Previous Page | 2 3 4 5 6 7 8 9 10 11 12 13  | Next Page >

  • QT clicked signal dosnt work on QStandardItemModel with tree view

    - by user63898
    Hello i have this code in QT and all i want to to catch the clicked event when some one clicking in one of the treeview rows without success here is my code: (parant is the qMmainwindow) m_model = new QStandardItemModel(0, 5, parent); // then later in the code i have proxyModel = new QSortFilterProxyModel; proxyModel->setDynamicSortFilter(true); setSourceModel(createMailModel(parent)); ui.treeView->setModel(proxyModel); ui.treeView->setSortingEnabled(true); ui.treeView->sortByColumn(4, Qt::DescendingOrder); // and my signal/slot looks like this but its not working //and im not getting eny clicked event fired connect(ui.treeView,SIGNAL(Clicked(const QModelIndex& ) ), this,SLOT( treeViewSelectedRow(const QModelIndex& ) ) ); also how can i debug QT signal/slots so i can see some debug massages printing when something is wrong ?

    Read the article

  • Deferring signal handling in Linux

    - by EpsilonVector
    I'm trying to figure out how to block a signal in Linux kernel 2.4 (user space) from invoking its handler, but keep it available to be handled later, preferably as soon as I re activate the handling of said signal. The function sigprocmask seem to come up in all my search results, but I can't find a good, clear description that explains whether the blocked signal gets "saved" to be handled later, and if so where and how do I handle it when I'm ready for it. Can someone please clarify what's going on, preferably with a code example? Thanks in advance.

    Read the article

  • Asus Z8NA-D6, not powering up/no signal for monitor

    - by s093294
    I have a Asus Z8NA-D6 motherboard. Been running fine so far with one E5504 Xeon processor. I have added another Xeon E5504 CPU to the second slot and it will not power up (or there is no signal to the monitor). The status lights turn on as normal. no error led. Nothing happens other then the leds start and both cpus/fans power up. HDD power up. I tried clearing CMOS. Any sugestions? http://www.asus.com/Server_Workstation/Server_Motherboards/Z8NAD6/#download Update. Removing ram for second cpu makes it boot atleast. itboots with memory pluged in for cpu 1. (2 4gb modules) when addin one more to the second cpu it still boots but bios only see the 2 blocks at cpu 1)

    Read the article

  • The report belongs to a package that is not installed

    - by user71700
    I have gotten the error message "The report belongs to a package that is not installed." Generally I would just ignore that since seemingly there is no problem except I got a crash report and then I said to report the problem and then I get this. Now, how can a package or program crash that is not even installed? Sounds a little paradox, isn't it? What should I do with this? Why does this even come up?

    Read the article

  • PyGtk: Scrolllist with Entry, can I set an Id

    - by max246
    I have a scroll list on my window that I am going to insert 2 entry for each row, I am trying to understand how I can catch the entry that has been changed and update my array with this value. I will explain what is my code: I have an array that has 2 fields: Name and Description Each row has 2 entry, Name and Description When I am going to modify the row number 2 I want to update my object on my array: rows[1].name = XXX rows[1].description = YYY

    Read the article

  • Why do I get rows of zeros in my 2D fft?

    - by Nicholas Pringle
    I am trying to replicate the results from a paper. "Two-dimensional Fourier Transform (2D-FT) in space and time along sections of constant latitude (east-west) and longitude (north-south) were used to characterize the spectrum of the simulated flux variability south of 40degS." - Lenton et al(2006) The figures published show "the log of the variance of the 2D-FT". I have tried to create an array consisting of the seasonal cycle of similar data as well as the noise. I have defined the noise as the original array minus the signal array. Here is the code that I used to plot the 2D-FT of the signal array averaged in latitude: import numpy as np from numpy import ma from matplotlib import pyplot as plt from Scientific.IO.NetCDF import NetCDFFile ### input directory indir = '/home/nicholas/data/' ### get the flux data which is in ### [time(5day ave for 10 years),latitude,longitude] nc = NetCDFFile(indir + 'CFLX_2000_2009.nc','r') cflux_southern_ocean = nc.variables['Cflx'][:,10:50,:] cflux_southern_ocean = ma.masked_values(cflux_southern_ocean,1e+20) # mask land nc.close() cflux = cflux_southern_ocean*1e08 # change units of data from mmol/m^2/s ### create an array that consists of the seasonal signal fro each pixel year_stack = np.split(cflux, 10, axis=0) year_stack = np.array(year_stack) signal_array = np.tile(np.mean(year_stack, axis=0), (10, 1, 1)) signal_array = ma.masked_where(signal_array > 1e20, signal_array) # need to mask ### average the array over latitude(or longitude) signal_time_lon = ma.mean(signal_array, axis=1) ### do a 2D Fourier Transform of the time/space image ft = np.fft.fft2(signal_time_lon) mgft = np.abs(ft) ps = mgft**2 log_ps = np.log(mgft) log_mgft= np.log(mgft) Every second row of the ft consists completely of zeros. Why is this? Would it be acceptable to add a randomly small number to the signal to avoid this. signal_time_lon = signal_time_lon + np.random.randint(0,9,size=(730, 182))*1e-05 EDIT: Adding images and clarify meaning The output of rfft2 still appears to be a complex array. Using fftshift shifts the edges of the image to the centre; I still have a power spectrum regardless. I expect that the reason that I get rows of zeros is that I have re-created the timeseries for each pixel. The ft[0, 0] pixel contains the mean of the signal. So the ft[1, 0] corresponds to a sinusoid with one cycle over the entire signal in the rows of the starting image. Here are is the starting image using following code: plt.pcolormesh(signal_time_lon); plt.colorbar(); plt.axis('tight') Here is result using following code: ft = np.fft.rfft2(signal_time_lon) mgft = np.abs(ft) ps = mgft**2 log_ps = np.log1p(mgft) plt.pcolormesh(log_ps); plt.colorbar(); plt.axis('tight') It may not be clear in the image but it is only every second row that contains completely zeros. Every tenth pixel (log_ps[10, 0]) is a high value. The other pixels (log_ps[2, 0], log_ps[4, 0] etc) have very low values.

    Read the article

  • S5000XVN Intel Motherboard - Only sees 12 out of 16GB of RAM

    - by Richie086
    So I have an older Intel S5000XVN motherboard, here are the specs CPU Arch : 2 CPU - 2 Cores - 2 Threads CPU PSN : Intel Xeon CPU 5160 @ 3.00GHz CPU EXT : MMX, SSE (1, 2, 3, 3S), EM64T, VT-x CPUID : 6.F.6 / Extended : 6.F CPU Cache : L1 : 2 x 32 / 2 x 32 KB - L2 : 4096 KB Core : Woodcrest (65 nm) / Stepping : B2 Freq : 2985.21 MHz (331.69 * 9) MB Brand : Intel MB Model : S5000XVN NB : Intel 5000X rev 31 SB : Intel 6321ESB rev 09 RAM : 16384 MB FB-DDR2 RAM Speed : 331.7 MHz (1:1) @ N/A Slot 1 : 2048MB (5300) Slot 1 Manufacturer : Kingston Slot 2 : 2048MB (5300) Slot 2 Manufacturer : Qimonda Slot 3 : 2048MB (5300) Slot 3 Manufacturer : Kingston Slot 4 : 2048MB (5300) Slot 4 Manufacturer : Qimonda Slot 5 : 2048MB (5300) Slot 5 Manufacturer : Kingston Slot 6 : 2048MB (5300) Slot 6 Manufacturer : Qimonda As you can clearly see, CPU-Z says I have 16GB of PC2-5300 RAM installed. For some reason in both BIOS and in Windows the maximum usable RAM is 12GB instead of 16GB. I have a dedicated video card connnected, so it can't be stealing RAM to use for the GPU (the S5000XVN does not have any onboard video). I am running Windows Server 2008 R2 x64 as the primary OS - so there should not be a memory limitation imposed on me from the OS. Has anyone experienced this before? Any ideas on how I can actually use all 16GB of RAM? I plan on using this machine to use for a Hyper-V server and have x2 Quad Core Xeon CPUs on the way as I write this post.

    Read the article

  • Using a Netgear WGR614v9 to extend wireless signal from Netgear DG934GT

    - by moorcroft
    I'm wondering if someone could please provide me the steps for extending/repeating my wirless signal so that I can have greater wireless range throughout my house. I have 2 wirless Netgear routers, a DG934GT ADSL router (base unit) and WGR614v9 cable router (repeater). I've flashed both routers with the latest firmware and have turned on the wireless repeating function in the WGR614v9 but I can't get internet access when connected to the repeater, I can only get it when connected to the base unit. Can this be achieved by running an ethernet cable between the two routers as thus far I've only tried to get them to contact each other wirelessly. Any help would be appreciated

    Read the article

  • Blurry Digital TV Signal in Media Center

    - by hazmat
    I recently reformatted my box and I reinstalled XP Media Center 2005. My TV signal is perfect if I plug it directly into the tv; and at any rate even shows I recorded previous to the reformat are blury. I have installed all updates (including Media Player 11) and I have installed a codec pack for different file types. I have no clue why it wouldn't display right. When I play the previously recorded shows in VLC they come out perfectly clear... Any ideas?

    Read the article

  • How to stabilize PCIe sound card in its card slot?

    - by Josh
    I have a Soundblaster Recon 3d Fatal1ty sound card and randomly every once in a while my computer won't recognize it. I am almost 100% sure it is something to do with its PCIe slot. After I turn off the computer and just wiggle the card a bit, the computer recognizes the card once I restart. I can't really try it in the other PCIe slot because the video card gets in the way. It is a Biostar TA970XE motherboard. I don't know if it is something to do with the pins on the actual card or if it is something to do with the slot. I couldn't find any related issues about this card on Google. Is there anything I can do to help secure the card in its slot so that my computer will recognize it? Any help is appreciated.

    Read the article

  • Using MythTV to Stream Satellite Signal to multiple users

    - by Ammar
    I'm planning on setting up a small media center to achieve the following: I have multiple users who want to watch satellite channels I want them to be able to change the channel remotely I'm going to buy an external DVB to capture the signal Use some software to stream the channel that is selected I want to have 2 different channels at the same time, I assume I will need two DVB cards Users use VLC or Windows Media Player or whatever to view the channels How can I achieve this? I heard MythTV can do it? I tried to do some research I couldn't find enough information. Note: There's no copyright issue here. I'm streaming Free-To-Air (FTA) channels.

    Read the article

  • VGA no signal on LCD monitor attached to laptop

    - by Paul
    I bought a new Asus vh242h LCD monitor for use with my lenevo T60 laptop running XP professional. Display info under control panel says "Intel(R) 945GM Express Chipset Family". I am connecting via VGA. When I connect the monitor I get "VGA no signal" and the monitor screen stays blank. I have selected the monitor as the display device on the laptop. The information on the monitor displays the correct screen resolution from the laptop, so the monitor is communicating in some way with the laptop. I've successfully tried the monitor with my Dell inspirion 1525 running Windows Vista. I've change the VGA cable to one I know works. Tried different resolutions. I cannot find and specific drivers on the internet for this monitor, so I assume it should work with Plug and Play. Does anyone know what the problem could be?

    Read the article

  • Laptop loses signal from WiFi router, but mobile phone holds it fine

    - by Anton
    I have an extremely weird issue with my WiFi router. Both Ubuntu & Windows 7 can connect to it fine, but after 5-10 minutes browser (any one) stops opening pages and tells me it cannot resolve host address. But, at the same time, tools like Skype or BitTorrent work without any issues. I can also browse Internet on my mobile phone connected to the very same router. If I reset router it helps, but after 5-10 minutes I see just the same problem... Ubuntu tells me that WiFi signal is lost (mobile sees it), Windows 7 just won't let me browse anywhere. Can anyone give me a suggestion on this, please? Thanks

    Read the article

  • PCI Tv Tuner not receiving signal

    - by C-dizzle
    I inherited an Angel II PCI Dual TV Tuner card, popped it into my computer's PCI slot, plugged in my coax cable, but am having trouble getting any type of signal to it. The computer I am using is Windows 7 Ultimate 32 bit, I know the card works because the computer recognizes it and installs the drivers, or at least I assume it works because of that. I'm trying to use Windows Media Center to watch/record tv. Here are a few things I have tried to get it working: Uninstalled/Reinstalled the newest drivers Tried hooking up an antenna to the coax input instead of my cable Instead of using cable splitter, went directly from wall output into card with coax cable Tried using different output on splitter in case the out port was bad I haven't tried a different coax cable yet, it should be fine since it's pretty new. Since this is my first time setting up a TV Tuner card, is there anything specific that I need to do with it? Is there any configuration that needs to be done on it? Do I need to have a digial receiver? I was getting pretty frustrated with it so I wanted to turn here to the experts, I'm sure someone can help me figure it out.

    Read the article

  • Laptop loses signal from WiFi router, but mobile phone holds it fine

    - by Anton
    Hi, I have an extremely weird issue with my WiFi router. Both Ubuntu & Windows 7 can connect to it fine, but after 5-10 minutes browser (any one) stops opening pages and tells me it cannot resolve host address. But, at the same time, tools like Skype or BitTorrent work without any issues. I can also browse Internet on my mobile phone connected to the very same router. If I reset router it helps, but after 5-10 minutes I see just the same problem... Ubuntu tells me that WiFi signal is lost (mobile sees it), Windows 7 just won't let me browse anywhere. Can anyone give me a suggestion on this, please? Thanks

    Read the article

  • MacMini giving "no signal" when using the television resolutions (480p, 720p, 1080i)

    - by chum of chance
    I have a Mac Mini (10.6) with a DVI out to my 720p television. It shows the options for 480p, 720p and 1080i with a little television next to the icons, along with the stand resolutions like 1024x768. The standard resolutions work fine with overscan checked, but I can't get any of the native television resolutions to work. I only get a "no signal" on my television. The input on the television is marked with 1080i/720p/480p and yet only 480p (and the PC native resolutions like 1024x768) work. What's happening?

    Read the article

  • Can i connect my modem's ethernet and usb slot to two computers simultaneously??

    - by Rajasekar
    I have NETGEAR BROADBAND MODEM. I had a desktop and laptop. I had connected internet to dekstop by using Ehternet slot on my modem to my ethernet slot on my Desktop. I need internet connection on my Laptop too. There is another slot in modem which can be connect using USB cable. Whether i can connect the laptop with that USB slot in my modem and use both the computer's internet? whether it will work??

    Read the article

  • How to "signal" interested child processes (without signals)?

    - by Teddy
    I'm trying to find a good and simple method to signal child processes (created through SocketServer with ForkingMixIn) from the parent process. While Unix signals could be used, I want to avoid them since only children who are interested should receive the signal, and it would be overkill and complicated to require some kind of registration mechanism to identify to the parent process who is interested. (Please don't suggest threads, as this particular program won't work with threads, and thus has to use forks.)

    Read the article

  • how to find Signal Strength of connected bluetooth devices

    - by Rajendar
    Hi, In one of my application I need to display all the Wifi and bluetooth devices which are paired to my mobile and it's Signal Strengths .Wifi side it is ok for me to display signal strength(RSSI).But i got a problem at Bluetooth side.I searched for the method which is suitable for this task,i found one method that is intent.getShortExtra(BluetoothDevice.EXTRA_RSSI, Short.MIN_VALUE); It is displaying only the new device RSSI which is not paired to my mobile.Is there any idea for getting all bluetooth devices RSSI.Plz give me idea or source code ?

    Read the article

  • Connecting click signal to QGraphicsView

    - by viraptor
    Hi, how can I connect a clicked() signal to a widget which doesn't seem to handle it (like QGraphicsView). If I try to rely on autoconnect, I get only: QMetaObject::connectSlotsByName: No matching signal for on_xxx_clicked() What's the solution for situations like that? Thanks

    Read the article

  • Sending signal to daemon in php

    - by Riz
    Hi, I have a daemon written in PHP which is running on my linux machine. I am trying to send a signal to it through another php file. For this purpose I am trying posix_kill function. But its not working. When I run the php page, I get an error that php is compiled without --enable-grep I want to know how to enable it? OR what is the alternate way of sending signal to daemon?

    Read the article

  • Qt send signal to main application window

    - by dumbquestion
    I need a QDialog to send a signal to redraw the main window. But connect needs an object to connect to. So I must create each dialog with new and explicitly put a connect() every time. What I really need is a way of just sending MainWindow::Redraw() from inside any function and having a single connect() inside Mainwindow to receive them. But you can't make a signal static and dialogs obviously don't inherit from MainWindow.

    Read the article

< Previous Page | 2 3 4 5 6 7 8 9 10 11 12 13  | Next Page >