- 博客(15)
- 收藏
- 关注
原创 Qt's Modules
<br /><br />Qt 4 consists of several modules, each of which lives in a separate library.<br /> <br />QtCoreCore non-GUI classes used by other modules<br />QtGuiGraphical user interface components<br />QtNetworkClasses for network programming<br />Q
2010-12-27 23:14:00 398
原创 Event Processing
<br />Events are generated by the window system or by Qt itself in response to various occurrences.<br />Most events are generated in response to user actions, but some, such as timer events, are generated independently by the system.<br /> <br /><br /
2010-12-27 23:07:00 474
原创 int QString::indexOf
<br />int QString::indexOf ( const QString & str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const<br />Returns the index position of the first occurrence of the string str in this string, searching forward from index position from. Returns
2010-12-26 23:04:00 9410
原创 int QString::size () const
int QString::size () constReturns the number of characters in this string.The last character in the string is at position size() - 1. In addition, QString ensures that the character at position size() is always '/0', so that you can use the return valu
2010-12-26 22:53:00 886
原创 void QString::resize ( int size )
<br /><br />Sets the size of the string to size characters.<br />If size is greater than the current size, the string is extended to make it size characters long with the extra characters added to the end. The new characters are uninitialized.<br />If size
2010-12-26 22:44:00 1050
原创 #pragma set woff && pack()
<br />一句话:#pragma pack(N) :以N字节位对齐;<br /> <br />#pragma set woff:Suppresses compiler warnings (either all, or by warning number).<br />#pragma reset woff:Resets listed warnings to the state specified in the command line.<br />例子如下:<br /> <br /><br />#pragm
2010-12-19 17:03:00 1585
原创 Error: Invalid argument: /X
<br />从网上下载了一个symbian 3rd Screenshot源代码、<br /> <br />import到carbide v2.0在编译的过程中报以下错误:<br />Error: Invalid argument: /X<br /> google后发现了解决方案。<br /> <br />找到Icons_aif.mk文件后,打开、<br /> <br /><br />RESOURCE :<br />mifconv $(ICONTARGETFILENAME) /<br />/X /c32 .
2010-12-15 22:16:00 873
原创 其他函数
Reset()IMPORT_C void Reset();DescriptionDeletes all elements from the array and frees the memory allocated to the array buffer.
2010-12-15 12:43:00 273
原创 Typedef CDesCArrayFlat
<br /><br />typedef CDesC16ArrayFlat CDesCArrayFlat;Description<br />Build independent array of descriptors implemented using a flat buffer.<br /> <br /> <br /> <br /><br />class CDesC16ArrayFlat : public CDesC16Array;Description<br />Array of 16 bit des
2010-12-15 12:41:00 287
原创 Class CEikonEnv
<br /><br />class CEikonEnv : public CCoeEnv;Description<br />An environment for creating controls and utility functions for manipulating them.<br />Every GUI application is provided with an instance of CEikonEnv by the framework, which can be accessed
2010-12-15 12:37:00 285
原创 class TSize
<br /><br />class TSize;Description<br />Stores a two-dimensional size as a width and a height value.<br />Its data members are public and can be manipulated directly, or by means of the functions provided.<br /> <br /> <br />Member data<br /> iWidth<br
2010-12-15 12:31:00 316
原创 class TPoint
<br />Description<br />Stores a two-dimensional point in Cartesian co-ordinates.<br />Its data members (iX and iY) are public and can be manipulated directly, or by means of the functions provided. Functions are provided to set and manipulate the point
2010-12-15 12:29:00 501
原创 class TRect
<br />Description<br />Geometric rectangle.<br />The class represents a rectangle whose sides are parallel with the axes of the co-ordinate system.<br />The co-ordinates of the top-left and bottom-right corners are used to set the dimensions of the rec
2010-12-15 12:25:00 380
原创 #define的特殊定义
define单行定义#define A(p) L##p#define B(p) L#@p#define C(p) L#p我们假设:x=1,则有:A(1)------〉L1B(1)------〉L'1'C(1)------〉L"1"define的多行定义define可以替代多行的代码,例如MFC中的宏定义#define MACRO(arg1, arg2) do { //* declarations */ /stmt1; /stmt2; //* ... */ /} while(0) /* (no trai
2010-12-12 21:30:00 377
原创 StringLoader::LoadLC中文乱码解决
1、保存.rls为UTF-82、在rls加入:#define qtn_test_text "没错哦,我就是大龄闷骚单身IT男"3、在rss中添加:RESOURCE TBUF r_test_text { buf=qtn_test_text; }4、HBufC* textResource = StringLoader::LoadLC(R_TEST_TEXT);
2010-12-02 13:07:00 432
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人