#include <GroupPage.h>
Public Types | |
enum | HotKey { NewGroup, AddGroupItem, DeleteGroupItem, DeleteGroup, RenameGroup, Help, DeleteChart } |
Public Slots | |
void | newGroup () |
void | addGroupItem () |
void | deleteGroupItem () |
void | deleteGroup () |
void | renameGroup () |
void | groupSelected (QString) |
void | groupNoSelection () |
void | setGroupNavItem (QString, QString) |
void | rightClick (QListBoxItem *) |
void | slotHelp () |
void | doKeyPress (QKeyEvent *) |
void | slotAccel (int) |
void | chartOpened (QString) |
void | refreshList () |
void | deleteChart () |
void | addChartToGroup (QString) |
Signals | |
void | fileSelected (QString) |
void | addRecentChart (QString) |
void | removeRecentCharts (QStringList) |
Public Member Functions | |
GroupPage (QWidget *) | |
~GroupPage () | |
void | setFocus () |
Protected Attributes | |
Navigator * | nav |
RcFile | rcfile |
QPopupMenu * | menu |
QLineEdit * | group |
Definition at line 32 of file GroupPage.h.
enum GroupPage::HotKey |
Definition at line 43 of file GroupPage.h.
GroupPage::GroupPage | ( | QWidget * | w | ) |
Definition at line 43 of file GroupPage.cpp.
References AddGroupItem, addGroupItem(), chartOpened(), DeleteChart, DeleteGroup, deleteGroup(), DeleteGroupItem, deleteGroupItem(), fileSelected(), group, groupNoSelection(), RcFile::GroupPath, groupSelected(), Help, RcFile::LastGroupUsed, RcFile::loadData(), menu, nav, NewGroup, newGroup(), rcfile, RenameGroup, renameGroup(), rightClick(), Navigator::setDirectory(), slotAccel(), slotHelp(), and Navigator::updateList().
GroupPage::~GroupPage | ( | ) |
Definition at line 91 of file GroupPage.cpp.
References Navigator::getCurrentPath(), RcFile::LastGroupUsed, nav, rcfile, and RcFile::saveData().
void GroupPage::fileSelected | ( | QString | ) | [signal] |
Referenced by chartOpened(), and GroupPage().
void GroupPage::addRecentChart | ( | QString | ) | [signal] |
Referenced by chartOpened().
void GroupPage::removeRecentCharts | ( | QStringList | ) | [signal] |
Referenced by deleteGroupItem().
void GroupPage::setFocus | ( | ) |
void GroupPage::newGroup | ( | ) | [slot] |
Definition at line 98 of file GroupPage.cpp.
References Navigator::getCurrentPath(), nav, and Navigator::updateList().
Referenced by GroupPage(), and slotAccel().
void GroupPage::addGroupItem | ( | ) | [slot] |
Definition at line 132 of file GroupPage.cpp.
References RcFile::DataPath, Navigator::getCurrentPath(), RcFile::loadData(), nav, rcfile, and Navigator::updateList().
Referenced by GroupPage(), and slotAccel().
void GroupPage::deleteGroupItem | ( | ) | [slot] |
Definition at line 169 of file GroupPage.cpp.
References Navigator::getCurrentPath(), groupNoSelection(), nav, removeRecentCharts(), and Navigator::updateList().
Referenced by GroupPage(), and slotAccel().
void GroupPage::deleteGroup | ( | ) | [slot] |
Definition at line 244 of file GroupPage.cpp.
References Navigator::getCurrentPath(), groupNoSelection(), RcFile::GroupPath, RcFile::loadData(), nav, rcfile, Navigator::updateList(), and Navigator::upDirectory().
Referenced by GroupPage(), and slotAccel().
void GroupPage::renameGroup | ( | ) | [slot] |
Definition at line 276 of file GroupPage.cpp.
References Navigator::getCurrentPath(), groupNoSelection(), nav, Navigator::setDirectory(), and Navigator::updateList().
Referenced by GroupPage(), and slotAccel().
void GroupPage::groupSelected | ( | QString | ) | [slot] |
void GroupPage::groupNoSelection | ( | ) | [slot] |
Definition at line 341 of file GroupPage.cpp.
References Navigator::getCurrentPath(), group, RcFile::GroupPath, RcFile::loadData(), menu, nav, and rcfile.
Referenced by deleteChart(), deleteGroup(), deleteGroupItem(), GroupPage(), and renameGroup().
void GroupPage::setGroupNavItem | ( | QString | chartDir, | |
QString | chartName | |||
) | [slot] |
Definition at line 488 of file GroupPage.cpp.
References nav, Navigator::setDirectory(), and Navigator::setNavItem().
void GroupPage::rightClick | ( | QListBoxItem * | ) | [slot] |
void GroupPage::slotHelp | ( | ) | [slot] |
void GroupPage::doKeyPress | ( | QKeyEvent * | key | ) | [slot] |
Definition at line 414 of file GroupPage.cpp.
References AddGroupItem, DeleteChart, DeleteGroup, DeleteGroupItem, Navigator::doKeyPress(), Help, nav, NewGroup, RenameGroup, and slotAccel().
void GroupPage::slotAccel | ( | int | id | ) | [slot] |
Definition at line 458 of file GroupPage.cpp.
References addGroupItem(), AddGroupItem, deleteChart(), DeleteChart, deleteGroup(), DeleteGroup, deleteGroupItem(), DeleteGroupItem, Help, newGroup(), NewGroup, renameGroup(), RenameGroup, and slotHelp().
Referenced by doKeyPress(), and GroupPage().
void GroupPage::chartOpened | ( | QString | d | ) | [slot] |
Definition at line 334 of file GroupPage.cpp.
References addRecentChart(), and fileSelected().
Referenced by GroupPage().
void GroupPage::refreshList | ( | ) | [slot] |
void GroupPage::deleteChart | ( | ) | [slot] |
Definition at line 218 of file GroupPage.cpp.
References Navigator::getFileSelection(), groupNoSelection(), Navigator::isSelected(), nav, and Navigator::updateList().
Referenced by slotAccel().
void GroupPage::addChartToGroup | ( | QString | symbol | ) | [slot] |
Definition at line 383 of file GroupPage.cpp.
References Traverse::Dir, Traverse::getList(), RcFile::GroupPath, RcFile::loadData(), nav, rcfile, Traverse::traverse(), and Navigator::updateList().
Navigator* GroupPage::nav [protected] |
Definition at line 77 of file GroupPage.h.
Referenced by addChartToGroup(), addGroupItem(), deleteChart(), deleteGroup(), deleteGroupItem(), doKeyPress(), groupNoSelection(), GroupPage(), newGroup(), refreshList(), renameGroup(), setFocus(), setGroupNavItem(), and ~GroupPage().
RcFile GroupPage::rcfile [protected] |
Definition at line 78 of file GroupPage.h.
Referenced by addChartToGroup(), addGroupItem(), deleteGroup(), groupNoSelection(), GroupPage(), and ~GroupPage().
QPopupMenu* GroupPage::menu [protected] |
Definition at line 79 of file GroupPage.h.
Referenced by groupNoSelection(), GroupPage(), groupSelected(), and rightClick().
QLineEdit* GroupPage::group [protected] |