![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2009 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtHostilityMatrixDialogInterface.h,v $ $Revision: 1.1 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00011 00013 00014 #pragma once 00015 00016 #include <vrfGuiCoreQt/vrfGuiCoreQt.h> 00017 #include <vrvUtil/signalslib.h> 00018 00019 #include <QtCore/QString> 00020 00021 class QTableWidget; 00022 class QWidget; 00023 00024 namespace makVrf 00025 { 00026 class DT_DLL_VRFGUICOREQT DtHostilityMatrixDialogInterface 00027 { 00028 public: 00029 //DTOR 00030 virtual ~DtHostilityMatrixDialogInterface(); 00031 00033 virtual bool blockTableSignals(bool) = 0; 00034 00036 virtual void setRowCount(int) = 0; 00037 00039 virtual int rowCount() const = 0; 00040 00042 virtual void setColumnCount(int) = 0; 00043 00045 virtual int columnCount() const = 0; 00046 00048 virtual void showHeaders(bool horiz, bool vert) = 0; 00049 00051 virtual void showRow(int row, bool) = 0; 00052 00054 virtual void showColumn(int col, bool) = 0; 00055 00057 virtual void setCellWidget(int row, int col, QWidget*) = 0; 00058 00060 virtual void resizeToContents() = 0; 00061 00063 virtual bool hasCheckBox(int row, int col) const = 0; 00064 00066 virtual bool checked(int row, int col) const = 0; 00067 00069 virtual void setChecked(int row, int col, bool) = 0; 00070 }; 00071 }