Skip to main content
Code Review

Return to Question

Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
replaced http://codereview.stackexchange.com/ with https://codereview.stackexchange.com/
Source Link

I'm developing applications using Qt which highly make usage of the JSON language to communicate, store and load data of different types. I often need a simple viewer similar to the Firebug JSON explorer to view this data. I already had a JSON parser and serializer called QJson. (update: I also posted my QJson class on Code Review QJson class on Code Review.)

I'm developing applications using Qt which highly make usage of the JSON language to communicate, store and load data of different types. I often need a simple viewer similar to the Firebug JSON explorer to view this data. I already had a JSON parser and serializer called QJson. (update: I also posted my QJson class on Code Review.)

I'm developing applications using Qt which highly make usage of the JSON language to communicate, store and load data of different types. I often need a simple viewer similar to the Firebug JSON explorer to view this data. I already had a JSON parser and serializer called QJson. (update: I also posted my QJson class on Code Review.)

edited body
Source Link
leemes
  • 515
  • 6
  • 14
  • The font family is set to monospaced by QJsonView.
  • The custom paint event acceptsexpects a fixed font size.
  • The spacing acceptsexpects a fixed font size.
  • When using hover effects, the palette gets manipulated and reset to the palette of the parent widget. Two problems occur: (1) If there is no such parent widget, boom. (2) If you assign a custom palette, it will be reset to the parent palette when the mouse leaves the widget.
  • The font family is set to monospaced by QJsonView.
  • The custom paint event accepts a fixed font size.
  • The spacing accepts a fixed font size.
  • When using hover effects, the palette gets manipulated and reset to the palette of the parent widget. Two problems occur: (1) If there is no such parent widget, boom. (2) If you assign a custom palette, it will be reset to the parent palette when the mouse leaves the widget.
  • The font family is set to monospaced by QJsonView.
  • The custom paint event expects a fixed font size.
  • The spacing expects a fixed font size.
  • When using hover effects, the palette gets manipulated and reset to the palette of the parent widget. Two problems occur: (1) If there is no such parent widget, boom. (2) If you assign a custom palette, it will be reset to the parent palette when the mouse leaves the widget.
Question Protected by Jamal
deleted 395 characters in body
Source Link
Jamal
  • 35.2k
  • 13
  • 134
  • 238

Abstract

I'm developing applications using Qt which highly make usage of the JSONJSON language to communicate, store and load data of different types. I often need a simple viewer similar to the Firebug JSON explorer to view this data. I already had a JSON parser and serializer called QJsonQJson. (update: I also posted my QJson class on codereviewCode Review.)

I think this code snippet might be of public interest and there are some open problems (see below) which might be solved by you. I for myself would be glad if the problems get solved or the code will be improved in another point, but I don't need it really. So it is up to you (of course) if you want to review / test / improve the code and contribute. Thanks!


Features / Preview

Features / Preview


Known problems / Possible improvements

Known problems / Possible improvements


The Code

Abstract

I'm developing applications using Qt which highly make usage of the JSON language to communicate, store and load data of different types. I often need a simple viewer similar to the Firebug JSON explorer to view this data. I already had a JSON parser and serializer called QJson. (update: I also posted my QJson class on codereview.)

I think this code snippet might be of public interest and there are some open problems (see below) which might be solved by you. I for myself would be glad if the problems get solved or the code will be improved in another point, but I don't need it really. So it is up to you (of course) if you want to review / test / improve the code and contribute. Thanks!


Features / Preview


Known problems / Possible improvements


The Code

I'm developing applications using Qt which highly make usage of the JSON language to communicate, store and load data of different types. I often need a simple viewer similar to the Firebug JSON explorer to view this data. I already had a JSON parser and serializer called QJson. (update: I also posted my QJson class on Code Review.)

I think this code snippet might be of public interest and there are some open problems (see below) which might be solved by you. I for myself would be glad if the problems get solved or the code will be improved in another point, but I don't need it really. So it is up to you (of course) if you want to review / test / improve the code and contribute.

Features / Preview

Known problems / Possible improvements

Loading
edited tags
Link
200_success
  • 145.5k
  • 22
  • 190
  • 478
Loading
updated abstract section
Source Link
leemes
  • 515
  • 6
  • 14
Loading
added known problems section and paragraph in abstract section
Source Link
leemes
  • 515
  • 6
  • 14
Loading
Tweeted twitter.com/#!/StackCodeReview/status/203217190621683713
Source Link
leemes
  • 515
  • 6
  • 14
Loading
lang-cpp

AltStyle によって変換されたページ (->オリジナル) /