c gui programming with qt4 pdf

Bài giảng điện tử môn tin học: GUI Programming & Database Connectivity pdf

Bài giảng điện tử môn tin học: GUI Programming & Database Connectivity pdf

... ITFAC - DLU 1 Part III: GUI Programming & Database Connectivity  Chapter 8: GUI Programming  Chapter 9: Database Connectivity 08/13/14 Võ Phương Bình - ITFAC - DLU 2 Chapter 8: GUI Programming ... JColorChooser JLabel 08/13/14 Võ Phương Bình - ITFAC - DLU 5 AWT (Optional) AWTEvent Font FontMetrics Component Graphics Object Color Canvas Button TextComponent Label List CheckBoxGroup CheckBox ... any GUI component 08/13/14 Võ Phương Bình - ITFAC 28 The Color Class You can set colors for GUI components by using the java.awt.Color class  Colors are made of red, green, and blue components,

Ngày tải lên: 11/08/2014, 22:23

75 396 0
Python GUI programming with pyside

Python GUI programming with pyside

... Python GUI programming with PySide Speaker: BigLittle Date: 2013/03/04 CLI vs GUI CLI (Command Line Interface) GUI (Graphical User Interface) • Take less resources • User have much more control ... function could be a SLOT • One can connect several SLOT to a SIGNAL and vice versa • A common usage: Real-time check for input contents Exercise… • Try to modify the simple program to MD5 Encrypter ... Summary • GUI programming could help you interactively control the application and report visualized final data Every programmer should familiar with its basic concept • Programming in PySide = Programming

Ngày tải lên: 12/09/2017, 01:44

25 173 0
c for engineers and scientists introduction to programming with ansi c phần 9 pdf

c for engineers and scientists introduction to programming with ansi c phần 9 pdf

... programs dir Is dir LS cd cd cd DOWN and BACK List current directory name cd pwd cd WHERE List a program type cat cat SLiST Copy a program copy cp cp COpy Delete a program... screen editor named ... enter, compile, and execute a C program Communicating with the operating system is always accomplished using a specific set of commands that the operating system recognizes Although each computer ... cases 3 a Define a macro named CIRCUM (r) that determines the circumference... command line must be accepted as string data and converted to numerical values before multiplication.) 548 Chapter

Ngày tải lên: 12/08/2014, 09:22

67 937 0
gdi programming with c sharp phần 5 pdf

gdi programming with c sharp phần 5 pdf

... methods // Create a Graphics object Graphics g = this.CreateGraphics(); g.Clear(this.BackColor); // Create rectangles and regions Rectangle rect1 = new Rectangle(20, 20, 200, 200); Rectangle rect2 = ... a rectangle, excluding one small rectangle and a region. Listing 6.11 Using ExcludeClip to clip regions // Create a Graphics object Graphics g = this.CreateGraphics(); g.Clear(this.BackColor); ... click event handlers private void CircleMenu_Click(object sender, System.EventArgs e) { // Create a rectangle Rectangle rect = new Rectangle (50 , 0, 300, 300); // Create a Shape object and call

Ngày tải lên: 12/08/2014, 19:20

70 469 1
gdi programming with c sharp phần 9 pdf

gdi programming with c sharp phần 9 pdf

... 11.11 PaperSourceKind members Member Description AutomaticFeed Automatically fed paper Cassette A paper cassette Custom A printer-specific paper source Envelope... PrintDocument object handles printing ... PrintGraphicsItems_Click method is a menu click event handler that creates a PrintDocument object, sets its PrintPage event, and calls the Print method. The second method, PrintGraphicsItemsHandler, ... ViewImage_Click(object sender, System.EventArgs e) { // Create a Graphics object Graphics g = this.CreateGraphics(); g.Clear(this.BackColor); // Call OpenFileDialog, which allows us to browse // images OpenFileDialog

Ngày tải lên: 12/08/2014, 19:20

70 378 0
Practical Database Programming With Visual C#.NET- P13

Practical Database Programming With Visual C#.NET- P13

... = 0; OracleCommand oraCommand = new OracleCommand(); oraCommand.Connection = oraConnection; oraCommand.CommandType = CommandType.StoredProcedure; oraCommand.CommandText = cmdString; oraCommand.Parameters.Add("Name", ... C: \ \database\ \SQLServer\\CSE_DEPT.mdf;Integrated Security=SSPI"; C D sqlConnection = new SqlConnection(sqlString); Application["sqlConnection"] = sqlConnection; E F //define a global connection ... click on Control Panel, and click on Add or Remove Programs . • Click on Add/Remove Windows Components . The Windows Components Wizard appears, which is shown in Figure 8.4 . • Check the checkbox

Ngày tải lên: 07/11/2013, 11:15

50 617 0
Practical Database Programming With Visual C#.NET- P14

Practical Database Programming With Visual C#.NET- P14

... sqlCommand.Connection = (SqlConnection)Application["sqlConnection"]; sqlCommand.CommandType = CommandType.Text; sqlCommand.CommandText = cmdString; sqlCommand.Parameters.Add("@FacultyName", ... button ’ s Click method. protected void cmdSelect_Click(object sender, EventArgs e) { string cmdString = "SELECT faculty_id, faculty_name, office, phone, college, title, email FROM Faculty "; ... perform the data actions in the database in the future. E. The Command object is initialized with the Connection object, Command type and Command text. protected void cmdUpdate_Click(object sender,

Ngày tải lên: 07/11/2013, 11:15

50 561 0
Practical Database Programming With Visual C#.NET- P15

Practical Database Programming With Visual C#.NET- P15

... Service to be called from script, using ASP.NET AJAX, uncomment the following line. // [System.Web.Script.Services.ScriptService] public class Service : System.Web.Services.WebService { public Service ... Service project B The ConnectionStrings property of the ConfigurationManager class is used to pick up the connection string we defined in the web.config file, which can be considered as a default connection ... the new created Web Service project, such as the namespaces for all kinds of Web components, Connection string, and default authentication mode. Each Web Service project has its own confi guration

Ngày tải lên: 07/11/2013, 11:15

50 544 0
Tài liệu Practical Database Programming With Visual C#.NET- P16 pptx

Tài liệu Practical Database Programming With Visual C#.NET- P16 pptx

... WebServiceSQLInsert.asmx by double - clicking on it, and change the compiler directive from CodeBehind= " ~ /App_Code/WebServiceSQLSelect.cs " to CodeBehind= " ~ /App_Code/WebServiceSQLInsert.cs ... this stored procedure: @FacultyName, @CourseID, @Course, @Schedule, @Classroom, publ { ic class WebServiceSQLInsert : System.Web.Services.WebService public WebServiceSQLInsert() { //Uncomment the ... DBProjects\Chapter 9\Doc that is located at the site ftp:// ftp.wiley.com/public/sci_tech_med /practical_ database For your convenience, a completed Windows-based client project, WinClientSQLInsert,

Ngày tải lên: 14/12/2013, 15:15

50 583 1
Tài liệu Practical Database Programming With Visual C#.NET- P17 docx

Tài liệu Practical Database Programming With Visual C#.NET- P17 docx

... previous sections, to consume this Web Service project WebServiceOracleSelect with small modifications The main modification is to replace the Web reference with a new Web reference class, which... ... Web Service to access an SQL Server database or to access an Oracle database For example, you can use any client projects, such as either WinClientSQLSelect or WebClientSQLSelect, which we developed ... WinClientSQLUpdateDelete .pdf that can be found from the folder DBProjects\Chapter 9\Doc that is located at the site ftp://ftp.wiley.com/public/ sci_tech_med/practical_database . For your convenience, a completed Windows

Ngày tải lên: 14/12/2013, 15:15

50 590 0
Tài liệu Practical Database Programming With Visual C#.NET- P18 pptx

Tài liệu Practical Database Programming With Visual C#.NET- P18 pptx

... Oracle Connection ora Connection = new Oracle Connection(); Oracle Base Oracle Result = new Oracle Base(); Oracle Command ora Command = new Oracle Command(); Oracle DataReader ora Reader; Oracle ... procedure UpdateCourseSP to perform the course updating function. protected OracleConnection OracleConn() { string cmdString = ConfigurationManager.ConnectionStrings["ora_conn"].ConnectionString; ... " UpdateCourse_SP "; Oracle Connection ora Connection = new Oracle Connection(); Oracle Base Oracle Result = new Oracle Base(); Oracle Command ora Command = new Oracle Command(); int

Ngày tải lên: 14/12/2013, 15:15

31 590 0
Tài liệu Web Programming with HTML, XHTML, and CSS Second Edition- P10 pdf

Tài liệu Web Programming with HTML, XHTML, and CSS Second Edition- P10 pdf

... notation document.images.link — is changed. <a href=”” onmouseover=”document.images.button.src=’click_red.gif’;” onmouseout=”document.images.button.src=’click_green.gif’”> <img src=”click_green.gif” ... can be achieved with JavaScript Please purchase PDF Split-Merge on www.verypdf.com to remove this... practical hints on developing JavaScripts that should save you time Please purchase PDF ... Variables in functions are called local variables. Because a local variable works only within a function, you can have different functions that contain vari- ables of the same name (each is recognized

Ngày tải lên: 14/12/2013, 21:16

50 615 0
Tài liệu Web Programming with HTML, XHTML, and CSS Second Edition- P16 pdf

Tài liệu Web Programming with HTML, XHTML, and CSS Second Edition- P16 pdf

... text area, selecting all content, 475–476 validation checkboxes, 468–469 checking text fields, 457–459 finding characters, 462–464 how, 456 preventing submission until checkbox selection, 469–470 ... Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. methods (continued) setUTCDate( ), 443 setUTCDay( ), 444 setUTCFullYear( ), 444 setUTCHour( ), 444 setUTCMilliseconds( ... 433, 434 DOCTYPE, 8–9, 187 document property, 448 document type declaration, 8–9 documents linking to, 54–56 structure, 3 DOM (document object model), 405 alinkColor property, 413 bgcolor property,

Ngày tải lên: 24/12/2013, 07:17

20 477 0
Tài liệu modularizing programming with subprograms pdf

Tài liệu modularizing programming with subprograms pdf

... Works” to the screen. a. Replace the skeleton text with text from LABS/p20proc.pls. b. Compile the code. Make appropriate corrections so code successfully compiles. c. Execute the procedure at the ... functions. You are already familiar with SQL functions. You call the function with actual parameters from within a SQL command, such as SELECT. Example Number Functions ROUND (1896,2) TRUNC (1892,-2) ... l20func.pls PRACTICE: p20proc.pls Modularizing Programming with Subprograms 20Ć9 Creating a Procedure Create a PL/SQL procedure to store a series of actions for later execution. The procedure can contain zero...

Ngày tải lên: 10/12/2013, 17:15

34 445 0
Tài liệu Network Programming with Perl pdf

Tài liệu Network Programming with Perl pdf

... address with bind Tell system to watch for incoming connections with listen Waits for a connection with accept or select ☞ Ä Ä Ä Ä Slide 49 Comparing packed addresses (cont.) Explanation The structure ... the use of context here disturbs you then you can explicitly call pack_sockaddr_in and unpack_sockaddr_in. ☞ ☞ ☞ ☞ Slide 8 The socket model The Server Creates a generic socket with socket Binds ... Communication protocols There are two protocols that are mainly used TCP is used with a stream socket to provide a reliable, sequenced, flow-controlled channel of communication. UDP is used with...

Ngày tải lên: 21/12/2013, 04:19

79 609 1
Tài liệu Advanced Linux Programming: 1-Advanced UNIX Programming with Linux pdf

Tài liệu Advanced Linux Programming: 1-Advanced UNIX Programming with Linux pdf

... Makefile contains: reciprocal: main.o reciprocal.o g++ $(CFLAGS) -o reciprocal main.o reciprocal.o main.o: main .c reciprocal.hpp gcc $(CFLAGS) -c main .c reciprocal.o: reciprocal.cpp reciprocal.hpp g++ ... (“The reciprocal of %d is %g\n”, i, reciprocal (i)); return 0; } Listing 1.2 (reciprocal.cpp) C+ + source file—reciprocal.cpp #include <cassert> #include “reciprocal.hpp” double reciprocal (int ... source code into machine-readable object code that can actually run.The compilers of choice on Linux systems are all part of the GNU Compiler Collection, usually known as GCC. 3 GCC also include...

Ngày tải lên: 21/01/2014, 07:20

16 439 0
Tài liệu Programming with C# pdf

Tài liệu Programming with C# pdf

... basic concepts and terminology of object-oriented programming.  Use common objects and references types.  Create, initialize, and destroy objects in a C# application.  Build new C# classes ... sample. xii Programming with C# Trainer Materials Compact Disc Contents The Trainer Materials compact disc contains the following files and folders:  Autorun.exe. When the CD is inserted ... setting up the classroom computers.  212 4C_ sg.doc. This file is the Automated Classroom Setup Guide. It contains a description of classroom requirements, classroom configuration, instructions for...

Ngày tải lên: 21/12/2013, 06:16

14 534 0
Tài liệu Practical Database Programming With Visual C#.NET- P2 pdf

Tài liệu Practical Database Programming With Visual C#.NET- P2 pdf

... the OdbcDataAdapter with its associated OdbcCommand and OdbcConnection objects. For Oracle databases, use the OracleDataAdapter with its associated OracleCommand and OracleConnection objects. ... Provider Database Transaction Command ExecuteReader Parameters ExecuteNonQuery ExecuteScalar DataSet DataRelationCollection ConstraintCollection DataTable DataRowCollection DataColumnCollection Your A pplication Figure 3.2 Another architecture of ADO.NET 2.0. c0 3.indd ... instance or an object based on this class. Depending on your applications, you can create a global connection instance for your entire project or you can create some local connection objects...

Ngày tải lên: 26/01/2014, 08:20

50 961 1
Tài liệu Practical Database Programming With Visual C#.NET- P4 pdf

Tài liệu Practical Database Programming With Visual C#.NET- P4 pdf

... based on the real location in which you save your database. D. The Connection object accConnection is initialized with the connection string and a con- nection is executed by calling the Open() ... in Microsoft Access 2007. You need to modify this string based on the real location in which you save your database. D. The Connection object accConnection is initialized with the connection ... catch block should be used for this connection operation to catch up any possible exception. Here we skip it since we try to make this connection coding simple. E. The facultyCommand object...

Ngày tải lên: 26/01/2014, 08:20

50 1,2K 0

Bạn có muốn tìm thêm với từ khóa:

w