Results 1 to 4 of 4

Thread: Advanced settings handling, suggestions?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Advanced settings handling, suggestions?

    Or even, maybe a sql data file, then you can search with specific parameters (like user=x and accesslevel>y).

  2. #2
    Join Date
    Oct 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Advanced settings handling, suggestions?

    Well, that would be an option to store it and let an external system handle everything for me. The application will either define integer access levels or flags. What I'm interested in is a way to manage the config inside the program. I'd go with Q_PROPERTY's and some functions that would simply check for the USER property parameter to restrict access (using a function there that would ask an SQL db or LDAP dir), but that's insufficient as I couldn't really define limits for the settings. Basically, I'm not sure what the better approach is, but I've seen type-specific classes used to store one single setting, managed by a config class before and thought it's a nice and clear way to handle that. Do you think so too?

Similar Threads

  1. Advanced QFileSystemModel
    By alexivanov91 in forum Qt Programming
    Replies: 0
    Last Post: 23rd September 2010, 09:23
  2. Advanced PKG Options [S60]
    By ManuMies in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 30th November 2009, 11:52
  3. Advanced use of QUiLoader
    By doberkofler in forum Qt Programming
    Replies: 2
    Last Post: 28th October 2009, 15:47
  4. Advanced use of QUiLoader
    By doberkofler in forum Newbie
    Replies: 0
    Last Post: 27th October 2009, 21:02
  5. QWidget Settings advanced idea
    By MarkoSan in forum Qt Programming
    Replies: 9
    Last Post: 27th March 2008, 09:41

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.