KDE 2/Qt Programming Bible phần 2 docx

KDE 2/Qt Programming Bible phần 2 docx

KDE 2/Qt Programming Bible phần 2 docx

... QDialog(0,”popup”,FALSE); 20 dialog->setCaption(“A QDialog Window”); 21 dialog->setMinimumSize (20 0,80); 22 dialog->setMaximumSize (20 0,80); 23 24 QPushButton *button = 25 new QPushButton(“Pop Down”,dialog); 26 ... connect(button,SIGNAL(clicked()), 20 this,SLOT(popupKdb())); 21 resize(10,10); 22 } 23 void MainWidget::popupKdb() 24 { 25 Modify *modify = new Modify(this,...

Ngày tải lên: 13/08/2014, 22:21

74 219 0
KDE 2/Qt Programming Bible phần 4 docx

KDE 2/Qt Programming Bible phần 4 docx

... insertNewPixmap(); 20 private: 21 QPixmap pixmap; 22 QString pixmapName; 23 QPushButton *button; 24 QLabel *picLabel; 25 QLabel *nameLabel; 26 QLabel *normal; 27 QLabel *disabled; 28 QLabel *active; 29 QLabel ... QVBoxLayout(this,10); 20 21 QLabel *label1 = new QLabel( 22 “Bold 14-point Courier”,this); 23 QFont font1(“Courier”,14,QFont::Bold,FALSE); 24 label1->setFont(font1)...

Ngày tải lên: 13/08/2014, 22:21

74 195 0
KDE 2/Qt Programming Bible phần 6 docx

KDE 2/Qt Programming Bible phần 6 docx

... following: Short string: 9 421 Short value: 9 421 Double string at 6: 28 13.83 Double value at 6: 28 13.83 Double string at 9: 28 13. 828 22 Double value at 9: 28 13.83 Ulong string: cfa90b2 Ulong value: 21 7747634 The ... app.setMainWidget(wilbur); 19 20 str.sprintf(“wilbur registered as \”%s\””, 21 dcopID.data()); 22 wilbur->insertLine(str); 23 24 int returnValue = app.exec(...

Ngày tải lên: 13/08/2014, 22:21

74 202 0
KDE 2/Qt Programming Bible phần 8 docx

KDE 2/Qt Programming Bible phần 8 docx

... <kapp.h> #include <keditcl.h> int main(int argc,char **argv) { 46 82- 1 ch19.f.qc 11 /20 /00 15:44 Page 525 529 Chapter 19 ✦ The Widgets of KDE Methods bool case_sensitive(); QString getReplaceText(); QString ... KEdGotoLine(); edgotoline->show(); return(app.exec()); } 46 82- 1 ch19.f.qc 11 /20 /00 15:44 Page 526 523 Chapter 19 ✦ The Widgets of KDE KDoubleNumInput The...

Ngày tải lên: 13/08/2014, 22:21

74 277 0
COMPUTER NUMERICAL CONTROL PROGRAMMING BASICS phần 2 docx

COMPUTER NUMERICAL CONTROL PROGRAMMING BASICS phần 2 docx

... , point A would be 2 units to the right of the Y axis and 2 units above the X axis. Assume that each unit equals 1.000. The location of point A would be X + 2. 000 and Y + 2. 000. For point B, the ... indicated. For example, the locations of both A and B would be indicated as follows: A X2.000 Y2.000 B X1.000 Y -2. 000 Machines Using CNC Early machine tools were designed so that the ope...

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

10 296 0
Xml programming bible phần 2 pot

Xml programming bible phần 2 pot

... Supported by: document. W3C DOM 1, 2, 3, and MSXML documentElement The root element of an XML document. Supported by: W3C DOM 1, 2, 3, and MSXML Continued c53 829 2 ch05.qxd 8/18/03 8:43 AM Page 107 76 Part ... W3C DOM 2 Recommendation The 20 00 DOM Level 2 Recommendation adds to the functionality defined in DOM Level 1 core. The following list describes the different Recommendations...

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

99 371 0
Xml programming bible phần 3 docx

Xml programming bible phần 3 docx

... internal entity declaration. Supported by: SAX 2 and MSXML c53 829 2 ch06.qxd 8/18/03 8:44 AM Page 161 c53 829 2 ch06.qxd 8/18/03 8:44 AM Page 1 72 200 Part I ✦ Introducing XML After starting at the ... encountered for each grandchild. Most developers would probably expect c53 829 2 ch08.qxd 8/18/03 8:44 AM Page 20 6 20 2 Part I ✦ Introducing XML Stylesheet Output XML Document Result &l...

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

99 299 0
Xml programming bible phần 5 docx

Xml programming bible phần 5 docx

... <%@ directive attr2=value2 /> attr1=”value1” attr2=”value2”%> Scriptlets: <jsp:scriptlet> <%scriptlet%> scriptlet code </jsp:scriptlet> g53 829 2 ch17.qxd 8/18/03 8:44 ... please refer to Chapter 16. Cross- Reference g53 829 2 ch17.qxd 8/18/03 8:44 AM Page 370 390 Part III ✦ XML Web Applications Using J2EE Table 17 -2 JSP Tag Syntax: Declarations, Directives, Ex...

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

99 244 0
iOS 5 Programming Cookbook phần 2 docx

iOS 5 Programming Cookbook phần 2 docx

... Figure 2- 1 depics an example of this: 110 | Chapter 2:  Implementing Controllers and Views [alertView show]; } So now, our alert view will look similar to that shown in Figure 2- 3: Figure 2- 3. ... For more information about text fields, please refer to Recipe 2. 14. 2. 1 Displaying Alerts with UIAlertView | 117 See Also XXX 2. 2 Creating and Using Switches with UISwitch Problem Y...

Ngày tải lên: 13/08/2014, 18:20

89 731 0
KDE 2/Qt Programming Bible phần 1 ppsx

KDE 2/Qt Programming Bible phần 1 ppsx

... -lqt -lX11 -lXext -ldl CC=g++ hellokde: hellokde.o $(CC) $(LFLAGS) -o hellokde hellokde.o $(LIBS) hellokde.o: hellokde.cpp clean: rm -f hellokde rm -f hellokde.o .SUFFIXES: .cpp .cpp.o: $(CC) ... are some pre-defined KDE and Qt dialog boxes, but you can also create your own. ✦✦✦ 46 82- 1 ch 02. f.qc 11/13/00 14:09 Page 26 46 82- 1 fm.f.qc 11 /20 /00 15:45 Page xvi 46 82- 1 fm.f.qc 11 /20...

Ngày tải lên: 13/08/2014, 22:21

74 215 0
w