PDA

View Full Version : Tabbed Notepad



"BumbleBee"
13th March 2011, 18:39
Would it be possible to make a notepad with tabs?
Just like notepad++
And I want a button to create a new tab(one after another....)

How can I do that?

Thank you.

SixDegrees
13th March 2011, 19:22
Given that something like this already exists (according to you, notepad++) then yes, it is possible to make such a thing.

unit
13th March 2011, 20:25
I think you should read QTabWidget and QTextEdit

Michael Druckenmiller Sr
13th October 2011, 20:46
Never waste time re-inventing the wheel unless you are trying to learn.

Nobody likes starting with "Hello World"...

But, if you don't take the time to learn the basics...

It's like building a house on sand... No foundation...

Sooner or later your code will collapse and you won't have a clue where to begin the debugging.

Another thing, if you are new to programming, as it appears you are, don't try to sit down and just start coding your application.

Sit down and dissect the problem, create an outline of what you are trying to do, then start filling in that outline with a rough idea of how you intend to "solve" each outline point.

Many commercial software houses require this of their "paid" programmers.

And, it greatly reduces the amount of rewrite, debugging and corrections you need to do.

For you, once you get your outline, thoerize what "might" solve the steps, and do some research on possible "fixes".

Look at the various windows in QT Creator and see what is available.

In QT Designer (pyQT 4.8.5) the list is segregated into various groups by what functionality they perform.

Then look at the Property Editor Page and see what "attributes" are available.

You'd be surprised at how much information is in the one "little" application.

Mike Sr.