Help me plan larger Qt project

Posted by Pirate for Profit on Stack Overflow See other posts from Stack Overflow or by Pirate for Profit
Published on 2010-04-21T18:41:51Z Indexed on 2010/04/21 18:43 UTC
Read the original article Hit count: 220

Filed under:
|

I'm trying to create an automated task management system for our company, because they pay me to waste my time.

New users will create a "profile", which will store all the working data (I guess serialize everything into xml rite?). A "profile" will contain many different tasks. Tasks are basically just standard computer janitor crap such as moving around files, reading/writing to databases, pinging servers, etc.). So as you can see, a task has many different jobs they do, and also that tasks should run indefinitely as long as the user somehow generates "jobs" for them. There should also be a way to enable/disable (start/pause) tasks.

They say create the UI first so...

I figure the best way to represent this is with a list-view widget, that lists all the tasks in the profile. Enabled tasks will be bold, disabled will be then when you double-click a task, a tab in the main view opens with all the settings, output, errors,. You can right click a task in the list-view to enable/disable/etc. So each task will be a closable tab, but when you close it just hides.

My question is: should I extend from QAction and QTabWidget so I can easily drop tasks in and out of my list-view and tab bar? I'm thinking some way to make this plugin-based, since a lot of the plugins may share similar settings (like some of the same options, but different infos are input). Also, what's the best way to set up threading for this application?

© Stack Overflow or respective owner

Related posts about qt

Related posts about c++