ossp-pkg/as/as-gui/as_slot.cpp 1.45 -> 1.46
--- as_slot.cpp 2002/12/10 12:06:56 1.45
+++ as_slot.cpp 2002/12/10 14:23:58 1.46
@@ -395,15 +395,31 @@
{
switch (nSection) {
case TITRAQ_IDXALLCTRLS:
- m_pDateedit->setFixedWidth(m_pMaintable->horizontalHeader()->sectionSize(TITRAQ_IDXDATE) - TITRAQ_SPACING + TITRAQ_SPACING / 2);
+ m_pUseredit->setFixedWidth(m_pMaintable->horizontalHeader()->sectionSize(TITRAQ_IDXUSER) - TITRAQ_SPACING + TITRAQ_SPACING / 2);
+ m_pGuidedit->setFixedWidth(m_pMaintable->horizontalHeader()->sectionSize(TITRAQ_IDXGUID) - TITRAQ_SPACING);
+ m_pCrcedit->setFixedWidth(m_pMaintable->horizontalHeader()->sectionSize(TITRAQ_IDXCRC) - TITRAQ_SPACING);
+ m_pRevedit->setFixedWidth(m_pMaintable->horizontalHeader()->sectionSize(TITRAQ_IDXREV) - TITRAQ_SPACING);
+ m_pDateedit->setFixedWidth(m_pMaintable->horizontalHeader()->sectionSize(TITRAQ_IDXDATE) - TITRAQ_SPACING);
m_pStarttime->setFixedWidth(m_pMaintable->horizontalHeader()->sectionSize(TITRAQ_IDXSTART) - TITRAQ_SPACING);
m_pEndtime->setFixedWidth(m_pMaintable->horizontalHeader()->sectionSize(TITRAQ_IDXFINISH) - TITRAQ_SPACING);
m_pAmount->setFixedWidth(m_pMaintable->horizontalHeader()->sectionSize(TITRAQ_IDXAMOUNT) - TITRAQ_SPACING);
m_pTasks->setFixedWidth(m_pMaintable->horizontalHeader()->sectionSize(TITRAQ_IDXTASK) - TITRAQ_SPACING);
// m_pRemark->setFixedWidth(m_pMaintable->horizontalHeader()->sectionSize(TITRAQ_IDXREMARK) - TITRAQ_SPACING);
break;
+ case TITRAQ_IDXUSER:
+ m_pUseredit->setFixedWidth(m_pMaintable->horizontalHeader()->sectionSize(TITRAQ_IDXUSER) - TITRAQ_SPACING + TITRAQ_SPACING / 2);
+ break;
+ case TITRAQ_IDXGUID:
+ m_pGuidedit->setFixedWidth(m_pMaintable->horizontalHeader()->sectionSize(TITRAQ_IDXGUID) - TITRAQ_SPACING);
+ break;
+ case TITRAQ_IDXCRC:
+ m_pCrcedit->setFixedWidth(m_pMaintable->horizontalHeader()->sectionSize(TITRAQ_IDXCRC) - TITRAQ_SPACING);
+ break;
+ case TITRAQ_IDXREV:
+ m_pRevedit->setFixedWidth(m_pMaintable->horizontalHeader()->sectionSize(TITRAQ_IDXREV) - TITRAQ_SPACING);
+ break;
case TITRAQ_IDXDATE:
- m_pDateedit->setFixedWidth(m_pMaintable->horizontalHeader()->sectionSize(TITRAQ_IDXDATE) - TITRAQ_SPACING + TITRAQ_SPACING / 2);
+ m_pDateedit->setFixedWidth(m_pMaintable->horizontalHeader()->sectionSize(TITRAQ_IDXDATE) - TITRAQ_SPACING);
break;
case TITRAQ_IDXSTART:
m_pStarttime->setFixedWidth(m_pMaintable->horizontalHeader()->sectionSize(TITRAQ_IDXSTART) - TITRAQ_SPACING);
@@ -632,6 +648,15 @@
}
//
+// View menu show status column
+//
+void Titraqform::showStatcol(void)
+{
+ Prototype Unimp;
+ Unimp.doMbox();
+}
+
+//
// View menu show line numbers column
//
void Titraqform::showLinecol(void)
@@ -641,6 +666,15 @@
}
//
+// View menu show users column
+//
+void Titraqform::showUsercol(void)
+{
+ Prototype Unimp;
+ Unimp.doMbox();
+}
+
+//
// View menu show GUIDs column
//
void Titraqform::showGuidcol(void)
@@ -650,34 +684,34 @@
}
//
-// View menu show Dates column
+// View menu show CRC column
//
-void Titraqform::showDatecol(void)
+void Titraqform::showCrccol(void)
{
Prototype Unimp;
Unimp.doMbox();
}
//
-// View menu show Users column
+// View menu show Rev column
//
-void Titraqform::showUsercol(void)
+void Titraqform::showRevcol(void)
{
Prototype Unimp;
Unimp.doMbox();
}
//
-// View menu show Tasks column
+// View menu show dates column
//
-void Titraqform::showTaskcol(void)
+void Titraqform::showDatecol(void)
{
Prototype Unimp;
Unimp.doMbox();
}
//
-// View menu show Start time column
+// View menu show start time column
//
void Titraqform::showStartcol(void)
{
@@ -686,7 +720,7 @@
}
//
-// View menu show Finish time column
+// View menu show finish time column
//
void Titraqform::showFinishcol(void)
{
@@ -701,6 +735,15 @@
{
Prototype Unimp;
Unimp.doMbox();
+}
+
+//
+// View menu show tasks column
+//
+void Titraqform::showTaskcol(void)
+{
+ Prototype Unimp;
+ Unimp.doMbox();
}
//
|
|