dhb
====================================================
-Get status codes in dropdown for joblist select.
-
Need to figure out the functionality and inteligence that the last restore
window should have and give it to it. Right now it shows drop downs with no
options.
-See if it would be possible to have user provided console text show up in a
-color
-
Test left pane of restore with 2 windows drives in one backup job.
User preferences. With log to stdout options.
Purging not working from console or from context sensitive. (Kern)
========LOW priority items:
-Allow for selecting multiple jobs to restore from in joblist. Right click
-restore from job works, but not with multiple selected jobs.
-
Is there a way to query the director/database for whether a storage is currently
mounted so I am not presenting both mount and unmount to the user??
============================================================
DONE:
============================================================
+Allow for selecting multiple jobs to restore from in joblist. Right click
+restore from job works, but not with multiple selected jobs.
+
+See if it would be possible to have user provided console text show up in a
+color
+
+Get status codes in dropdown for joblist select.
+
Create class to display messages from a specific job. Want the ability to
create an instance of that class from joblist.
m_cursor->insertText(buf);
}
+void Console::display_html(const QString buf)
+{
+ m_cursor->movePosition(QTextCursor::End);
+ m_cursor->insertHtml(buf);
+}
+
/* Position cursor to end of screen */
void Console::update_cursor()
{
void display_text(const char *buf);
void display_text(const QString buf);
void display_textf(const char *fmt, ...);
+ void display_html(const QString buf);
void update_cursor(void);
void write_dir(const char *buf);
bool dir_cmd(const char *cmd, QStringList &results);
return;
/* Bring this directors console to the front of the stack */
setConsoleCurrent();
-#ifdef xxdebugcode
- m_console->display_text("Context sensitive command :\n\n");
- m_console->display_text("**** ");
-#endif
- m_console->display_text(command);
+ QString displayhtml("<font color=\"blue\">");
+ displayhtml += command + "</font>\n";
+ m_console->display_html(displayhtml);
m_console->display_text("\n");
-#ifdef xxdebugcode
- m_console->display_text(" ****\n");
- m_console->display_text("Director Response :\n\n");
-#endif
m_console->write_dir(command.toUtf8().data());
m_console->displayToPrompt();
}