Index: ossp-pkg/as/as-gui/TODO RCS File: /v/ossp/cvs/ossp-pkg/as/as-gui/TODO,v rcsdiff -q -kk '-r1.92' '-r1.93' -u '/v/ossp/cvs/ossp-pkg/as/as-gui/TODO,v' 2>/dev/null --- TODO 2003/02/27 13:56:22 1.92 +++ TODO 2003/02/28 17:13:25 1.93 @@ -42,6 +42,7 @@ Label methods and parameters throughout as const ... const, use & Yank out all #include from headers, replace with class ...; protos Check for empty amount field in getWeektotals before Hashtasks[Convstring] += +Accountlistbox is sorted both in assist and dataops with maps Bugs (? = unverified) --------------------- Index: ossp-pkg/as/as-gui/as_assist.cpp RCS File: /v/ossp/cvs/ossp-pkg/as/as-gui/as_assist.cpp,v rcsdiff -q -kk '-r1.113' '-r1.114' -u '/v/ossp/cvs/ossp-pkg/as/as-gui/as_assist.cpp,v' 2>/dev/null --- as_assist.cpp 2003/02/27 13:57:47 1.113 +++ as_assist.cpp 2003/02/28 17:13:25 1.114 @@ -887,15 +887,20 @@ throw Genexcept("Main window task edit creation failed."); m_pTasks->insertStringList(*m_pTaskentries); m_pTasks->setCurrentText(NULL); + m_pTasks->setSizeLimit(TITRAQ_ACCTBOXHEIGHT); m_pTasks->setAutoCompletion(true); m_pTasks->setDuplicatesEnabled(false); m_pTasks->setEnabled(false); // m_pTasks->setEditable(false); // Only idiots define noneditable and autocompletion // Add an auto scroll bar if possible under current GUI style - if (m_pTasks->listBox()) // Motif style has no list box + if (m_pTasks->listBox()) { // Motif style has no list box + int nPopupwidth = m_pTasks->listBox()->maxItemWidth(); + nPopupwidth += m_pTasks->listBox()->horizontalScrollBar()->height(); + m_pTasks->listBox()->setFixedWidth(nPopupwidth); m_pTasks->listBox()->setHScrollBarMode(QScrollView::Auto); -// m_pTasks->setMinimumWidth(m_pTasks->listBox()->maxItemWidth()); + m_pTasks->listBox()->sort(); + } // Whatsthis info for the task editor const char *kszTasktext = "Choose a task account by clicking on " Index: ossp-pkg/as/as-gui/as_const.h RCS File: /v/ossp/cvs/ossp-pkg/as/as-gui/as_const.h,v rcsdiff -q -kk '-r1.59' '-r1.60' -u '/v/ossp/cvs/ossp-pkg/as/as-gui/as_const.h,v' 2>/dev/null --- as_const.h 2003/02/25 09:25:21 1.59 +++ as_const.h 2003/02/28 17:13:25 1.60 @@ -278,5 +278,6 @@ #define TITRAQ_BRIGHT 'H' // For coloring rows #define TITRAQ_DARK 'D' // For coloring rows #define TITRAQ_BIGMAGIC 700000 // For unreasonably large numbers +#define TITRAQ_ACCTBOXHEIGHT 24 // Number rows in account combobox #endif // TITCONST_H