]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/qt-console/TODO
Removed pages virtual doubleclick from existence and all subclasses that used it.
[bacula/bacula] / bacula / src / qt-console / TODO
1 dhb
2 ====================================================
3 Must:: get page selector to follow undocked windows.  Otherwise
4 current console won't be current.
5
6 Low priority item:
7 move behavior of:
8   MainWin::setContextMenuDockText
9   MainWin::setTreeWidgetItemDockColor
10 to the pages class
11
12 Add context sensitive options for most commands
13
14 Re-add class for storage, I accidentally reverted because I left
15 it on my laptop.  This is why I like committing often.
16
17 Add class for FileSets
18
19 Create list of what does not work.
20
21 Ask Kern about bRestore and what to do with it in terms of priorities.  Should
22 that be working before an initial release.
23
24 Fix bug in myth box not working with .sql query="" command.
25
26 Create documentation for any other developers interested in creating
27 new classes to add more pages.  Explain how to use the pages class
28 and about not populating until the tree widget is clicked etc...
29
30 A Tree widget context sensitive from anywhere a job is listed for 
31 the ability to surf what's on the job.
32
33 Think about good ways to clean up the Console creation part of the
34 loop creating pages.
35
36 Font is being set on a per console basis, should it be.
37 Tried to get the settings to write for a second, but not coming up next time
38
39 ========================================================
40
41 - Possibly some other things I didn't think of.
42
43 - I think we need to make the current Director more explicit, by
44 perhaps highlighting it in the page selector when it is current
45 and unhighlighting it when it is not (we could use color as we do
46 for the console, though some color blind people may have
47 problems.
48
49 Another idea for what you have implemented:
50 - I think that the dynamic pages that you create on the fly
51 should be nested under the item that creates them more like a
52 directory tree.
53
54 For example: Jobs on Volume xxx, probably should be shown under
55 "All Jobs" (or Media if that is what created it) and "Jobs of
56 Client Rufus" probably should be shown under "Clients".  I base
57 this on looking at the Select page list after I have brought up 3
58 or 4 dynamic pages.  Once there are a good number, I get a bit
59 confused where they came from.  This would also permit selecting
60 multipe Volumes then displaying multiple pages, one for each
61 Volume selected.  If they are nested, then that nested level can
62 be expanded or collapsed, which would be pretty cool at keeping
63 information, but getting it out of the way, sort of like what
64 happens for a directory tree.
65
66 dhb: ref above
67 My original concept was to put these in a tabbed widget.  Your Idea may
68 make for a cleaner user experience.  I like it.  It could save the
69 effort of getting a tabbed widget to work.
70
71 ===========================================================
72 NOT SURE
73 ===========================================================
74
75 I'm not sure about this one??  Things seem to work and I did not do a
76 thing to make it happen:  the "dir" is a member of Console
77
78 - We also must somehow make the low level I/O routines know which
79 director/console to use.  Currently they always use the single
80 global one defined in the mainWin class (if I remember right).
81
82
83 ============================================================
84 DONE:
85 ============================================================
86 Things to do:
87 - When any director is clicked, we need to set it as the current
88 director and set the current console as well.
89
90 Remove DoubleClicking, From pages class not needed any more.
91
92 Broken with multiple directors:
93 - If you click on the second director, it will probably open, but
94 none of the pages that are defined below it will be able to talk
95 to it.  They will most likely talk to the first director.
96
97 - When any console is clicked we need to set it as the current
98 console (m_console) and also set its director as the current
99 director (m_topItem).  These are in the mainwin class.
100
101 - When any page is selected, we must set both the current
102 director (m_topItem) and current console (m_console) that this
103 page is connected to.
104
105 dhb:
106 m_topItem has been changed to Console::directorTreeItem()
107 m_currentConsole->directorTreeItem(); returns disired treeWidgetItem
108
109 - We also need a concept of a "local" director/console for each
110 page, so the page knows who it is talking to -- this doesn't
111 currently exist, so I think we must pass the director and console
112 to each page widget constructor.
113  
114 dhb:
115 m_currentConsole is saved in each page subclass's m_console.  This value
116 is set by all but the console class calling Pages::pgInitialie() in it's
117 constructor
118
119
120 In short, there is a lot of work to be done to make multiple
121 simultaneous directors work.
122
123 dhb:
124 this may be moot:
125
126 If the above prooves to be too much, we might consider to only
127 have a single director at a time, and simply let the user select
128 which director he wants to connect to (one at a time, but
129 dynamically).  In the end, this may be the best thing to do, so
130 any user who wishes to connect to multiple directors would run
131 two instances of bat.  I am a bit unsure now, but the above list
132 of things to do is much bigger than I thought it was going to be.