Copenhagen is another favorite city of mine!
Excellent suggestions from Slate, above. As she says, you will know what fits your daughter.
I was trying to think how I would have entertained "mine" as 7 year olds in Copenhagen vs Oslo. I can't add much to Slate, but a couple other thoughts on Copenhagen:
If you wanted your D to see a castle, I concur with above on Helsingor day trip to see Kronborg. The castle has kid-friendly guides and activities. Copenhagen has 3 obvious in town palace/castle options: Rosenborg, Christiansborg, and Amalienborg. I find Amalienborg the least interesting for a child of the three, but take a web look at the others to see if it is "her". They are very different. Christainsborg has options to visit the kitchen and stables. Frederiksborg Castle in Hillerød holds the Museum of National History - excellent, but wouldn't be my personal pick for a 7 year old.
Copenhagen has a number of excellent smaller art museums - all walkable and very central. I took mine to places like these at age 7, but they probably wouldn't be for all kids - especially given limited time and other options as noted above by Slate or my castle descriptions. I did visit the centrally located Natural History Museum recently - there are better options for this in the US. Conversely, the National Museum of Denmark is superb - many areas that a child might enjoy. The Viking exhibits as Slate notes and the many exhibits of historic Danish life with national costumes, furniture, toys(!), etc. If you go there, take a look at a map first and pick your exhibits. It would be easy to spend multiple days!
It is a 90 minute one way trip, but Odense is do-able as a day trip. Hans Christian Andersen venues and a "cute" historic city center. I don't think I would trade a day in Copenhagen or Helsingor for this, but you can check for your preferences.
Whatever you choose, you will not lose! (Can you add more days????)