I would like to have one column in QTableWidget NOT editable. I forums have read a lot about some flags bould could not manage to implement.
Thanks in advance!
I must have done something wrong. I have a C# project in Visual Studio 2008. All of a sudden I see a lock on my classes and when I hover the class names on the top tab I see the class name as : C:\Myprojects\Oder.cs[Read Only] !
Has something weird like that happened to you before ?
Thanks
I am trying to write to a bluetooth device on MAC OSX using the unistd.h Linux functions in c. I am connecting fine and writing the first few bytes with success. When I try to write other commands to it (there are bytes added to the write buffer every 15ms), I don't see any results even though the write() function returns 1 (write success).
If you…
this is my problem. I have a USB drive which somehow was set as read-only. I want to set it as readwrite then format it.
sudo chown -R eric /dev/sdb
Seems to go through, but when I view the drive in Nautilius it says
Error mounting: mount: block device /dev/sdb1 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad…
I have a game which I deployed for desktop and android, I can read json data and create my levels, but the problem is, when it comes to reading json files from web app, I get an error that logs, cannot read the json file, I researched a lot and I found out that I should add my json config class to configurations, I added this line to…
I have a game which I deployed for desktop and Android. I can read JSON data and create my levels, but when it comes to reading JSON files from web app, I get an error that logs, "cannot read the json file".
I researched a lot and I found out that I should add my JSON config class to configurations, so I added this line to…
Hallo, i have a txt file which contains many chinese characters, and the txt file is in the directory res/raw/test.txt. I want to read the file but somehow i can't make the chinese characters displayed correctly. Here is my code:
try {
InputStream inputstream = getResources().openRawResource(R.raw.test);
BufferedReader…
I have a txt file on the server which contains 10 lines of text. The text file is rewritten sometimes, and I get new lines using "\r\n". My problem shows when I want to load the lines in javascript variables. I do it like this, but this work only for numbers or for the last line of the file, because its not using the…
I'm currently working on a program to generate the hashes of files, in Delphi 2010. As part of this I have a option to create User Presets, e.g. pre-defined choice of hashing algo's which the user can create/save/delete. I have the create and load code working fine. It uses a ComboBox and loads from a file…
Windows Azure is a platform that has you covered, whether you need to write software, run software that is already written, or Install and use “canned” software whether you or someone else wrote it. Like any platform, it’s a set of tools you can use where it makes sense to solve a problem.
The primary…
Hello. I'm learning Boost::asio and all that async stuff. How can I asynchronously read to variable user_ of type std::string? Boost::asio::buffer(user_) works only with async_write(), but not with async_read(). It works with vector, so what is the reason for it not to work with string? Is there…
I have a macbook that I erased the original iOS on to restart with Ubuntu but when I put in my home burned disk it doesn't read it correctly and makes loud clicking noises.
I burned it on a TDK CD-R80 700 MB CD from Windows 7 and even did the confirm to make sure it burned correctly. It has…
I am running Ubuntu 12.04 LTS. I only have the one user which I created when I installed Ubuntu. Everything has been fine - love it - until I updated a software package recently from the command line using sudo (not gksudo). I was having a little bother which did not make sense to me and in a…
From BOL, " Key-Range Locking " article: Key-range locks protect a range of rows implicitly included in a record set being read by a Transact-SQL statement while using the serializable transaction isolation level . The serializable isolation level requires that any query executed during a…
I'm looking for an existing PHP library that can basically read a pop3 or smpt account, or accept piped mail and then read it, giving you the option to store it, or simply 'play with it' in PHP.
I've been looking around for something but I have yet to see any sort of library that can be…
I mounted my nas in ubuntu 12.10 and it works with read/write, but when I'm adding a file or directory that file gets read only permissions.
My fstab mount looks like this:
//192.168.0.12/share/ /media/nas cifs…
I've got an application written in D3D9 which will not write any values to the depth buffer, resulting in incorrect values for the depth test. Things I've checked so far:
D3DRS_ZENABLE, set to TRUE…
Why should i write a commit message? I dont want to and i think its stupid every single time.
A gui frontend i use which will go unnamed forces you to do it. I hear other doing it everytime even if…
Hi!
I have a mdadm RAID-6 in my home server of 5x1Tb WD Green HDDs.
Read speed is more than enough - 268 Mb/s in dd.
But write speed is just 37.1 Mb/s.
(Both tested via dd on 48Gb file, RAM size is…
ARC write-up on the recent OTM SIG event.
The Oracle Transportation Management Special Interest Group (OTM SIG) hosted its 6th annual user conference in Philadelphia, Pennsylvania, August 13-15,…
It seems that you have three choices in deciding how you write tags for your blog posts:
Make them user friendly
Make them highly searchable
Combo of the two
For example, let's say that I have…
I love Rich Hickey, Clojure and Haskell and I get it when he talks about functions and the unreliability of side-effecting code.
However I work in an environment where nearly all the functions I…
Here's an "interview question" that while ostensibly about hardware really does inform a software design principal as well.
Computers used to (still do I guess, somewhere) use magnetic tape reels…
Here's an "interview question" that while ostensibly about hardware really does inform a software design principal as well.
Computers used to (still do I guess, somewhere) use magnetic tape reels…