instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I'm wondering if there's anywhere i can see what data is in my NSUserDefaults? Like, how does it works? Is there a file that stores in my iphone that contains all the data in the NSUserDefaults or is the file stores in different apps? If i have set [NSUserDefaults standardUserDefaults] setObject:someString forKey:@"som...
stackexchange/codereview
I have the following query but i have no idea on how to do a left outer join on table 1. var query = (from r in table1 join f in table2 on r.ID equals f.ID select new { r.ID, r.FirstName, r.LastName, ...
stackexchange/codereview
I’m looking at using Expression Engine for a new site I’m developing does anyone have any experience of using EE, good or bad? I’ve looked at some other CMS but found they are quite big and although you get everything, I like EE as it looks like you can streamline it to exactly what you want your users to use? The main...
stackexchange/codereview
I have a custom Eclipse plugin I am working on. It has a CustomerExplorer View(Part) that effectively replaces the 'Project Explorer' and it has a number of MultiPageEditorParts, each has a XML editor and a Form editor, both modifying the same configuration file. The XML editor is a TextEditor. The form and the XML are...
stackexchange/codereview
I am no good with hardware concepts. So I have this probably very silly doubt. I want to add Log to my application. When running on an emulator, I know where to see the Log output - it's visible in the Logcat window of Eclipse. I want to know where I can see these logs when I run it on a hardware device. I am using fol...
stackexchange/codereview
I have a Typed DataSet DataTable which inherits TypedTableBase<T>, which in turn implements IEnumerable<T>. I can't seem to get this to work. myDataTable.OrderBy(x => x.ID).ThenBy(y => y.ID2); Instead I have to assign this statement to an IEnumerable(or List), then refill my DataTable manually with the newly ordered I...
stackexchange/codereview
I am trying to close all opened listeners using something like : GP.GlobalInfo.CommWCF.serviceClient.GetFilteredMessageCompleted -= new EventHandler<GetFilteredMessageCompletedEventArgs>(serviceClient_GetFilteredMessageCompleted); Since the form is being closed, every listener should be closed as well. (am I right?) ...
stackexchange/codereview
I generate the XAML codes which actually describe a valid grid control - called the GridXAML. I want to create a grid object and add it to a stackpanel on my form. How can I 1) create an object from its XAML string value, and 2) add it dynamically to a panel? Please help! Giving a specific sample context as below. The...
stackexchange/codereview
Is anybody aware of a way of grabbing images from a DVD using DirectShow and C++? The sample grabber is not supported when using the DVD renderer and if I use GetCurrentImage, which is part of the VMR9 windoless control, it doesn't appear to work.
stackexchange/codereview
How to make sleek animation with jQuery of image moving right or left. It's working much better in Firefox than in Chrome or IE. Especially bad is jamming when duration is set to 2000 or more. Here is a sample of my demo page: http://pastehtml.com/view/1bj06p8.html Code is: $('img#image').mousemove(function(e){ ...
stackexchange/codereview
How to design a tableview similar to contact application in iphone......... and also how to implement add photo image from local photo library which is there in contact application....
stackexchange/codereview
Specfically, I am working in Python.
stackexchange/codereview
I have a datatable matching the structure of a MS Sql table and I would like to import new records from the datatable into SQL. So, in the example below, I am looking to import the record for Jim. DataTable: Name DOB Country Brian 11-11-78 USA Dave 01-01-80 UK Jim 02-02-81 FR SQL: Name DOB ...
stackexchange/codereview
I have been going through Flask and it seems that now I have a decent understanding to go ahead and build a web application. However I want to know how would I approach the problem. For eg: I decide to build a blogging application. The first thing I do is write down all the things that come to my mind, from user regis...
stackexchange/codereview
I have 5 divs, each having count down timers. The following numbers would obviously be be divided by <br/>'s , but for the sake of the example I am trying to be as clear as possible :-) Example before sort 4.39 3.45 2.11 3.56 1.11 Example after sort 4.39 3.56 3.45 2.11 1.11 And each countdown counts to 0 obviously. I...
stackexchange/codereview
I'm trying to run on my mac os 10.6 a Ruby script that apparently requires libtidy. I spent an hour trying to find an information on how to get libtidy installed. 'gem install tidy' didn't help I'm amazed that I was unable to find the answers in google :/
stackexchange/codereview
I'm trying to draw a map from a textfile onto a Bitmap, but the Bitmap is all black First i load a textfile that looks like this (shortened): 0000000000 (200 width) 0111111110 0111100010 0000111110 0000111000 0000000000 (120 height) Where "1" is ground and "0" is a wall, 1 should be white and 0 should be black. Code: p...
stackexchange/codereview
I'm doing an sql query where I want to return a list that will contain the users / groups who will have access to an application. This is the scheme, we will see if a user have permissions, if not, we going to see the group. If both not, we see if there are any permissions on the application, if not, then will add the ...
stackexchange/codereview
I have this method that I need to call and use in my application, but I don't know really know how to do it exactly. This is the function that I need to call. [DllImport(dll_Path)] public static extern int DTS_GetDataToBuffer(int Position, int Length, char* Buffer, int* DataRead); In my code, I have this function and ...
stackexchange/codereview
I'm building a navigation bar inside a ul. Most of the menu items have long titles so I really need to wrap them over a number of lines, as in the following code (I've inserted br/ where I'd like the returns) <ul> <li class="cell01on">Menu 1</li> <li class="cell02"><a href="#">Menu2.1<br/>Menu2.2<b...
stackexchange/codereview
on softkeyboard, which one is better to give user a visual feedback during keypress: 1.redraw portion of button that was pressed to background canvas of main View to give pressed effect 2.each button has its own "pressed" View, and that View is set to visible (flashing) during keypress event (so no redraw needed but ne...
stackexchange/codereview
I am using ALLOY DIALOG in Liferay 6.0.5 as follows: function countPopup(){ AUI().use('aui-dialog', 'liferay-portlet-url', function(A) { var dialog = new A.Dialog({ title: 'Upload Details', centered: true, modal: true, width: 500, height: 400, bodyContent:"testi...
stackexchange/codereview
String graphNameUsed = graphName.getName(); if (graphType.equals("All") || graphType.equals("ALL")) graphNameUsed += "_ALL"; If my String is null, then will it throw NullPointerException when I am checking whether it equals or not. To avoid this exception, how should I check?
stackexchange/codereview
I was trying to create a countdown timer from http://helloandroidworld.com/2010/02/how-to-create-a-simple-android-countdown-timer/ but I cannot get it to work with the format I want 00:00:00 as described in the article. The timer will start and allow me to pause it and it will run for two minutes but you cannot see it ...
stackexchange/codereview
Frankly speaking. I'm looking for a specific video course webpage which I visited few months ago. It was posted as an answer to some question. I know this kind of questions are frowned upon and closed. But I'm helpless. I've been searching for it for more than a month and this is my last approach. I'm writing a report ...
stackexchange/codereview
The HTML: <div id="broadcast"> <div id="broadcast_header"> Neighbourhood Broadcast </div> </div> The CSS: #broadcast_header { background-color: #A0522D; width: 100%; height: 20px; position: relative; top: -20px; font-weight: bold; } Firefox: All fine, header appears 20px above the div, its cool....
stackexchange/codereview
i'm trying to loop through all images on the page, should be easy but i can't see where im going wrong here. the imgs gets populated with the images but the imgs.length returns 0; its somethign stupid but i just cant figure it out. var imgs = document.getElementsByTagName('img'); console.log(imgs); console.log(imgs.len...
stackexchange/codereview
I'm using gpg to decrypt files sent to me by a vendor. Everything works fine accept for when the content of the encrypted file is empty (the vendor has told me that there is no content in the files in question). If I try and decrypt one of these files I get: gpg: can't handle this ambiguous signature data Is there ...
stackexchange/codereview
I know the week number of the year, a week is start from Sunday, then Monday, Tuesday...,Saturday. Since I know the week number, what's the efficient way to get the dates of the specific week by using Java code??
stackexchange/codereview
I have the following XML code for my CheckBoxPreference: <CheckBoxPreference android:key="pref_boot_startup" android:title="Auto start" android:defaultValue="true" /> But when I retrieve the preference in code the value is false. sharedPreferences = PreferenceManager.getDefaultSharedPreferences(this); bool...
stackexchange/codereview
I'm using Pylons to upload an image and store it to disk: <form method="post"> <input type="file" name="picture" enctype="multipart/form-data" /> </form> Then in my controller: if 'picture' in request.POST: i = ImageHandler() #Returns full path of image file picture_file = i.makePath() shuti...
stackexchange/codereview
I have a Spring MVC application and a problem with JUnit tests combined with the file applicationContext.xml. In my JUnit test class I write: final ApplicationContext context = new ClassPathXmlApplicationContext("applicationContext.xml"); service = (TestServiceImpl) context.getBean("testServiceImpl"); The error I get ...
stackexchange/codereview
I want to replace every link I find within a string, with a modified version of the string, say for example: The quick brown fox jumped over the http://www.google.com/?v=abc and http://www.google.com/?v=x_y-z I would replace (and modify) the links in this so it becomes: http://www.google.com/v/abc and http://www.goo...
stackexchange/codereview
in my job i was assigned a task in which i have to programmatically load a private and public keys from files and then store them in a .jks file,the private key was generated using openssl, its an rsa des encrypted key in der format,i have no problem loading the public key, however,i haven't found a way to load the pri...
stackexchange/codereview
I'm wondering if it's possible to have an instance of an AVCaptureSession and UIImagePicker both accessing the camera simultaneously. I want to create an app that shows an ambient light meter/indicator as an overlay view of a UIImagePicker when the camera is active. I previously implemented this using UIGetScreenImage(...
stackexchange/codereview
I want to stream video from my web server (might be google app engine, or amazon simple storage). I'm curious if browsers can somehow cache a video. My site will often have users playing the same video over and over again, and I'm wondering if I can hint the browser to just cache videos from my site so the user isn't c...
stackexchange/codereview
struct stats { char top : 1; char bottom : 1; char side : 2; } MyStat; I have seen this format with integers but how does the above char bit field work and what does it represent? Thank You.
stackexchange/codereview
How can I create something like bookmark but in the text? Like URL, click on this bookmark in any place in text and it redirects you to other page.
stackexchange/codereview
This is related to question: How does the "&" operator work in a PHP function? Is there simple code to show the difference between passing the object as reference vs passing the object's reference as value?
stackexchange/codereview
I have a simple C/CPP process running on a linux system. This is a.out. Another process is capable to start a.out inside its code. This is b.out. What code do I need inside a.out to understand that it is executed from the command line? Eg ./a.out Is there a way a process to know if it started from the cmd or started fr...
stackexchange/codereview
we have an application that use some TextArea components in various tabs. The problem is that when we insert text into a TextArea (with grow:true) the TextArea correctly resize itself, but when we change the tab and display a new TextArea, this new TextArea has the size of the TextArea present into the other tab. When...
stackexchange/codereview
Catchable fatal error: Object of class OCI-Collection could not be converted to string in E:\php\htdocs\PHPRPC\func.php on line 318 The code: $sql='BEGIN NCCM_INTERFACE_HISDETAIL(:orgcode,:inhiscode,:inputer,:items); END;'; $conn=oci_connect('chis','chis123','ORCL','UTF8'); $stmt = oci_parse($conn, $sql); $collection =...
stackexchange/codereview
Can I modify android.R.layout.simple_list_item_1? For eg., I want to change the text color of the textview inside the listview dynamically. For this, I need to get to the textview and change its color.. How can I do that?
stackexchange/codereview
I am writing an OpenMP program in C. I have this shared array "data" which is being updated by all threads. i want to ensure that every thread has completed the reading part and stored the value in temp before the next statement data[j] = temp is executed. I tried putting #pragma omp barrier between the two statements...
stackexchange/codereview
I have a table of data and each cell is a link. I want to allow the user to click anywhere in the table cell and have them follow the link. Sometimes the table cells are more than one line but not always. I use td a {display: block} to get the link to cover most of the cell. When there is one cell in a row that is ...
stackexchange/codereview
I need to manage some uses in system, so user management is a feature , and add/delete user is a Scenario? I want to know one principle to design them, thanks
stackexchange/codereview
One of the most common kinds of database table has an alphanumeric code and human friendly name (e.g. countries, currencies, accounts, products, VAT codes etc.) The traditional/obvious thing to do is make the code the primary key. And for some tables e.g. customers where the number may be large so that names may not be...
stackexchange/codereview
How to get the location of the file in mac os using objective c? /Users/objc/Downloads/x.pdf Any foundation classes for this? please give me some sample code.
stackexchange/codereview
I am developing Palm Pre apps using the Eclipse IDE. How to setup Phonegap with Eclipse for developing cross-platform apps?
stackexchange/codereview
ddlCats.DataSource = listOfCats; ddlCats.DataBind(); If an item contains say, &, it will appear in the ddl as &amp; How can I stop this? I am using asp.net
stackexchange/codereview
While I userstand how get; & set; with simple types such as strings now can more properties like Dictionary be get or set or can they? I have a small dos programe trying to do this. snippet below. # User.cs namespace LDIFMod { public class User { public string UserHash { get; set; } public stri...
stackexchange/codereview
I am relatively new to web development, so perhaps this is a rookie question. I am trying to set up an ASP.NET MVC web site to implement DotNetOpenAuth as an OpenID relying party. Right now it is all functioning, so that is pretty exciting. My goal though was to have the OpenID authentication take place it a popup ...
stackexchange/codereview
What is the most efficient way to detect modification to a file in Java? I've read about file polling however, the polling approach has a number of drawbacks that become apparent as the number of watched files increases. I rather not use polling but a number of solutions online appear to point to file polling as the re...
stackexchange/codereview
I'm writing a plugin for Confluence and there isn't much documentation on what you can use in velocity vm files. I'm able to add a base breadcrumb that goes from Dashboard -> ActionName but I want to to do something similar to page edits where you get the full page breadcrumb followed by the action name. Here's what I'...
stackexchange/codereview
Currently, my anythingslider has too many slides to fit in the wrapper without wrapping some elements below the others. This should make sense to users of this plugin. I'd like to show/hide some of the invisible elements as the back/forward buttons are clicked. My problem so far is that the plugin is looking for ele...
stackexchange/codereview
===Updated=== I'm going to try and re-word this to elicit more response. Does the javadoc artifact in Ivy have to be a jar or zip file? Or can I define the artifact to be a URL similar to http://download.oracle.com/javase/1.5.0/docs/api/? I know you can define an Ivy artifact as a url to download the file from, but tha...
stackexchange/codereview
taxonomies -id -name taxonomy_type -taxonomy_id -type_id I've configured two models: class Model_Taxonomy{ protected $_has_many = array('types'=>array()); } class Model_Taxonomy_Type{ protected $_belongs_to = array('taxonomy' => array()); } *Please note that taxonomy_type is not a pivot table.* A taxonomy can h...
stackexchange/codereview
<?php if($_POST['uae']){ move_uploaded_file($_FILES["file"]["tmp_name"], FS_DOC_ROOT . 'uploads/' . urlencode($_FILES['file']["name"])); mail("email@address","Uploaded File for you",$_POST['message']."\n\nTo view the file please follow the following link: ".HTTP_SERVER."uploads/".urlencode($_FILES['file']['name'])."....
stackexchange/codereview
I've spent some time now developing a web application in php. It has mostly been just for the fun of learning as a side project, but the app now has a few users which I don't want to upset by breaking things as I develop. At the moment, I have a very rudimentary method for managing the development - I use a text edito...
stackexchange/codereview
I got a legacy database which have about 10 identical tables (only name differs). Is it possible to be able to use the same business entity for all tables without having to create several classes/mapping files?
stackexchange/codereview
How Can I (Or Is It Possible?) Add Item to Html Combobox ServerSide ? Or Bind It in behind Code in asp.net ? Does My question Clear?
stackexchange/codereview
I have a generic method Foo<T> I have a Type variable bar Is it possible to achieve something like Foo<bar> Visual Studio is expecting a type or namespace at the bar.
stackexchange/codereview
I am going to deploy my first MVC web application to the internet. As is the first app with this framework for me, I was wondering if I can collect some advices regarding what should be done to prevent troubles. I am generic on the question and this is xpressely done to collect the most various answers. Thanks! UPDATE:...
stackexchange/codereview
I use some magic in $PROMPT_COMMAND to automatically save every command I run to a database: PROMPT_COMMAND='save_command "$(history 1)"' where save_command is a more complicated function. It would be nice to save also the head/tail of the output of each command, but I can't think of a reasonable way to do this, othe...
stackexchange/codereview
I have an ASP.NET MVC view with a Beginform, that specifies an action and controller to hit on submit. But on submit I want to call a service using jQuery to get some data and then submit those data with the form. Currently I have a submit button on the form where the onclick event of the button calls the JavaScript me...
stackexchange/codereview
In my application I'm dealing with upload of really big image files. They will be stored on a remote server, so from what I was able to learn I need to write some custom Storage system (probably with the use of python's poster module). Because of the size I would like to send the files directly to media server without ...
stackexchange/codereview
i'd like to have a function in api style. But implementation must be on Objective-C lang. So i've read some information and decided to do following - to mix objective-C with C++. And have problem to call an objC method in C++ class. Thats my example: //MYClass.h : class CClass { private: id fileName; BOOL rez; publi...
stackexchange/codereview
I have an ASP.NET page where at the top of the page is a search box. There are 2 text boxes - one is an autocomplete extender for the Name on a database, and one is just inputting the ID. The page features DetailsViews and GridViews primarily, and even when no account has been searched for, these display blank data whi...
stackexchange/codereview
I'm using libxml2 in my c project. I was wondering how could I grab all tables in a html file using xpath. Sample code will do the trick. I need to parse the data in html table. Thanks EDIT: This is a row of the table: <tr class="report-data-row-even"> <td class="NormalTxt report-data-cell report-data-column-even">...
stackexchange/codereview
I am trying to attach VS2010 debugger to Linqpad so that when I use classes from my c# project I can add breakpoints and have Linqpad execution halt. But this does not work, Linqpad happily executes and finishes without hitting my breakpoints. Now, I read a bit on Linqpad and it executes every "query" in its own proces...
stackexchange/codereview
how to install ipk file from remote server when user click on url?
stackexchange/codereview
Possible Duplicate: What does ||= mean in Ruby? what is ||= in ruby?
stackexchange/codereview
I am doing a query from an SQL database. The table has over a million records in it. This is my SQL statement. It takes over 8 hours to run. Anyone have any ideas? Thanks in advance. Select Count (userID) as DIBWIZHits, Sum (ssnCount) as SSNs From tbl_hits10 Where (appName='DIBwiz QMT' or appName like 'D...
stackexchange/codereview
I am relatively new to winforms and C# and I am developing an application that will allow users to perform a search. To search the data they can use the following: -Combobox with 6 options -text box that they will enter info based on the combobox search selected. I have a stored procedure with a parameter for each of ...
stackexchange/codereview
I have gone through the CUDA programming guide and I cannot understand the thread allocation method shown below: dim3 dimGrid( 2, 2, 1 ); dim3 dimBlock( 4, 2, 2 ); KernelFunction<<< dimGrid, dimBlock >>>(. . .); Can some explain how threads are allocated for the above condition?
stackexchange/codereview
I want to access notes and calendar using native iphone app. I want to know is it possible in new iphone os? Is there any public pi for that?
stackexchange/codereview
This question has been bothering me for a while now. Let's consider the two following programs: #incude <iostream> int main() { std::cout << "Hello, World!"; } and int main() { int x = 5; int y = x*x; } Windows: The first example, naturally, requires some system .dll's for the console. I understand that. Wh...
stackexchange/codereview
I want to send the selected page value on the querystring while navigating through paging. The URL that is generated for paging is like this: Link/Index?page=2 Link/Index?page=3 But on my URL it only shows Link/Index and performs the Ajax call. But if I disable my Javascript and then navigate through paging it gets P...
stackexchange/codereview
I have a view which I'm reusing (its a date range selection screen) it elsewhere in my app, its the only view and there isn't any other views to navigate too. So theres no back button. I'm trying to reuse the screen to select a date range in another part of my app. I call it from a done button on the previous view. How...
stackexchange/codereview
is it possible to programmatically access the website that is currently displayed within the Android browser? As far as I know the native Browser doesn't handle plugins (please correct me if I'm wrong), so I thought that reading the browser cache would be an option. Is there a more sophisticated way to get the currentl...
stackexchange/codereview
While I was programming I came up with this question, What is better, having a method accept a single entity or a List of those entity's? For example I need a List of strings. I can either have: a method accepting a List and return a List of strings with the results. List<string> results = methodwithlist(List[objects]...
stackexchange/codereview
I call getDC(hwnd) and then later on close call ReleaseDC(hwnd,dc). This is for an OpenGL engine and after i call WGLMakeCurrent(Null,Null) and WGLDeleteContext. ReleaseDC returns error code 1425 which is 1425L ERROR_DC_NOT_FOUND Invalid HDC passed to Relea...
stackexchange/codereview
I need to open a cash drawer using C/C++ or Java. It is a POS-X cash box with a USB connection. I've never done anything like this before. I noticed the cash box was linked to the "COM3" port. I know Java does not have a USB API so I turned to C/C++.
stackexchange/codereview
I am working with an application that consists of 10 or so Java processes that communicate through JINI, JMS, Sockets, and an HSQL db running on Windows XP. It seems that each part of the application has its own .bat file. For instance there is: ActiveMQ Broker HSQL Server JINICore Services RMI Registry 5 Java mains ...
stackexchange/codereview
I'm trying to run Selenium tests with Selenium-RC using TestNG on Eclipse. When I try to run a test, I get something like the following console output: org.testng.TestNGException: Cannot establish connection: 127.0.0.1:1613 at org.testng.remote.strprotocol.StringMessageSenderHelper.connect(StringMessageSenderHelpe...
stackexchange/codereview
I have a UITableViewCell subclass that does its drawing in a drawRect: method. The whole rectangle is custom drawn, including the background. I was able to get very complex cells while keeping the scrolling very smooth. My problem: I call [table deselectRowAtIndexPath:path animated:YES]; whenever the view appears, in o...
stackexchange/codereview
Obviously I have my own opinion and way of doing this, but I would be curious to see if there were any better ways. How do you manage logins, i.e. check if user is logged in with valid login before serving members only content.
stackexchange/codereview
I'm about to create 100,000 objects in code. They are small ones, only with 2 or 3 properties. I'll put them in a generic list and when they are, I'll loop them and check value a and maybe update value b. Is it faster/better to create these objects as class or as struct? EDIT a. The properties are value types (except t...
stackexchange/codereview
I have the following code in my layout.xml. <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"> <RelativeLayout xmlns:android="http://schemas.android.com/...
stackexchange/codereview
How can I validate inputs against the required validation for the controls when a submit button is pressed?
stackexchange/codereview
I am a self taught web developer and am still trying to come to grips with some JavaScript fundamentals. Below are some quotes extracted from Douglas Crockford's Good Parts. "Functions in JavaScript are Objects" "In JavaScript, arrays are objects, functions are objects, regular expressions are objects, and, of course...
stackexchange/codereview
I want to get a specific value from a resource programmatically. For example, I have a FileName variable which contains the resource Image name. How to get that resource with this variable? I try this but not working: (file is null after line 3) public Bitmap FindImgaeFromResource(string ImageFileName) { Assembly ...
stackexchange/codereview
In my post.php I use $.ajax function to load some html data from other file lets call it form.html. My question is is it possible form.html to access post.php POST/GET data when is added to the DOM of post.php ?
stackexchange/codereview
I am starting a research how architectural style I will use, to build a medium CRM SaaS, many books authors recommends use SOA, but SOA can be complex, and REST is simple style. so what is your recommend? Have any cases success with these 2 architectural styles with SaaS?
stackexchange/codereview
I am fairly new to JavaScript and i need a very simple script to fade an image in and out slowly on a loop. Any help would be much appreciated.
stackexchange/codereview
My workplace is considering moving to a modern (D)VCS which is something that I am pushing for. My boss is in on the idea and the current workflow would be to have a centralized repository where everyone can commit/merge their changes when a task is done, While working on a task each developer can have their own branch...
stackexchange/codereview
I need to access, merge and parse my log files using my asp.net application programmatically. I use shared hosting and as I can see log files are out of the root directory of my website? Is there anyway to access those files from my application?
stackexchange/codereview
typedef struct _VIDEO_STREAM_CONFIG_CAPS { GUID guid; ULONG VideoStandard; SIZE InputSize; SIZE MinCroppingSize; SIZE MaxCroppingSize; int CropGranularityX; int CropGranularityY; int CropAlignX; int CropAlignY; SIZE MinOutputSize; SIZE MaxOutputSize; int OutputGranularityX; int OutputGranulari...
stackexchange/codereview
I have a delegate to create a QLineEdit control when you want to edit a cell in my subclass of QTableView. In the data function of my model, I recently added a case to return an icon for Qt::DecorationRole for some items. As the user edits a cell that has an icon, the value they enter may cause the icon to disappear. ...
stackexchange/codereview
I seem to be getting an array out of bounds exception but the problem is the error message and my System.out and eclipse's debug tools tell me conflicting information. This is my exception: Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 9, Size: 9 at java.util.ArrayList.RangeChec...
stackexchange/codereview