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