Category: General


Qt is a cross-platform application and UI framework.

If you haven’t made any GUI application earlier and thinking of making one  then I would suggest that  Qt  ( Provided by Nokia ) is one of the best option you have . All you should have is to have the knowledge of C++ and OOPs concepts  .I had made Notepad as my first cross-platform application .For reference I had used an ebook   C++ with Qt4  .For starting you must have Qt creator ,Qt designer and Qt Assistant all of these things can be downloaded easily from http://qt.nokia.com/.

Qt Assistant proves really handy in working with and understanding the classes  needed .

Before start making any GUI application in any language using anything  we must think of what are the thing/functionality  our application going to have .Its good if we make a brief note of this  some where as its gonna help us as we move ahead.I would suggest that if you are making the GUI application first time then try to keep you app as simple as possible.

Now we are all set to design our application  using Qt designer.Here we have to design  the layout like windows dialogue box ,menu bars and other things we can make the connections from here itself but thats not needed  as any ways we have to implement them again while writing the code .

Now when the Design of our application is ready then ,we can move to Qt creator which is going to complete our application .Here we are going to connect all the slots and signals and we are going to set the icons ,splash screen and various other things (different widgets).when you all set then just run the code and see how it feels to see your First Application running…believe me its awesome.

There is no problem if you are writing the whole application without using Designer rather according to me for first application point of view you must write as it will help you to understand the classes and its implementations.But at this point I want to suggest that don’t get  disappointed if your code doesn’t work.I am telling this because of my personal experience I too had written Notepad’s whole code total of around 500 lines in 2 days but when I removed all the errors and tried to run it then , it shows segmentation fault .I can not tell how frustrated I was at that time but then I started again making Notepad using Qt designer and then I came to know that designer really decreases the overheads a lot  .At that time I had a feeling why I didn’t used designer from beginning …

But after sometime I realised that because I had devoted my 2 days in writing that code , I am able to finish and  run my Notepad in 1 day using designer and creator  as while writing the implementation of the design its really easy to understand what is happening as  I had done the whole code once and now its really clear to me that what I am doing.

Thats why I am suggesting to write the whole code of your first application your own using creator only and refer the documentation whenever you feel difficulty .And if its successful then well n good and be sure that you are ready to make a more sophisticated application .But even if doesn’t then don’t lose hope and try it with Designer .It will work ………

One thing that you may feel when you use Qt ,that Qt forums are not so active .So if you have any problem then post it here , I would be happy to help …

This is the screen-shot of the notepad I had made..

Firefox Is The Best Browser To Use

I am really tired of listening that firefox is not opening fast at the startup as other browsers  this n that from many users .It’s really hard to convince the users who are habitual of using other browser n don’t wanna use Firefox to use Firefox .According to me if someone using  any other browser there is just no problem as it is better than complaining , But being a free source and freeware supporter I will keep asking people to use Firefox as I know by making some modification we can see that Firefox is the best browser to use .That much I can guarantee ..those modifications are what I am going to tell today.I am telling what can be done in Firefox as it is a open source software  .Here I am not talking about Firefox supports like add-on support and others as I believe ,that no one need explanation for that as it is one of the best and most  vast support available for any browser and it is dut to the fact that it is free.All I can say is that try Firefox by making these modifications ….

Now enough talking lets start first of all open your Firefox browser and type about:config and press enter,it will bring a message that making changes in advance settings may be harmful and bla bla just press I will be careful..

Now we will reach to a page with lots of advance settings you  need not to know what all is there you gotta do as I am telling now follow the following steps..

->in the filter bar write network.htttp.pipelining

its value is set to false by default you have to make ittrue.

->there is one option network.http.pipelining.maxrequests

this is set to 4 by default you can set it to 30

it is basically the number of requests  sent at the time of browsing 50 is a comfortable factor although anything below 75 remains undetected by any site .Be careful if you  put this to a high factor which is detected then you may be blocked for that particular site for  certain time period.You need not worry about all this 30 is more than sufficient..

->now put network.http.proxy.pipelining in the filter bar

and set its default false value to true

->now put network.dns.disableIPv6 in the filter bar

and set its  value to  true

->now its time for plugin.expose_full_path

make this value to true

->now clear the filter bar and go to first page

and right-click on accessibility.typeaheadfind.casesensitive now go to new ,integer and write nglayout.initialpaint.delay in the preference name bar popped and press ok and set integer value to 0(zero) and again ok.

->now wherever you have reached try to find network.proxy.gopher_port

and right-click on  it now go to new ,integer and write ui.submenudelay in the preference name bar popped and press ok and set integer value to 0(zero) and again ok.

->now go to the top of the list and right-click on accessibility.typeaheadfind.enabletimeout now go to new ,integer and write browser.cache.memory.capacity in the preference name bar popped and press ok and set integer value to 16384 and again ok.

NOW  you good to go and to use changed  firefox………………..if you have  any query regarding any thing you are free to ask as I didn’t explain each and every term above but certainly will .

MERRY CHRISTMAS to all………….