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