forked from teamnwah/openmw-tes3coop
a8b45e0a13
1. Declared QStringPair::isEmpty() const 2. Split the CsSettings namespace into two: CSMSettings and CSVSettings. (Required splitting the support.hpp file) 3. Declared several classes as _noqt in CMakeLists.txt for OpenCS
27 lines
634 B
C++
27 lines
634 B
C++
#ifndef GROUPBOX_HPP
|
|
#define GROUPBOX_HPP
|
|
|
|
#include <QGroupBox>
|
|
|
|
namespace CSVSettings
|
|
{
|
|
class GroupBox : public QGroupBox
|
|
{
|
|
static const QString INVISIBLE_BOX_STYLE;
|
|
QString VISIBLE_BOX_STYLE; //not a const...
|
|
|
|
public:
|
|
explicit GroupBox (QWidget *parent = 0);
|
|
explicit GroupBox (bool isVisible, QWidget *parent = 0);
|
|
|
|
void setTitle (const QString &title);
|
|
void setBorderVisibility (bool value);
|
|
bool borderVisibile() const;
|
|
|
|
private:
|
|
void setMinimumWidth();
|
|
void initBox(bool isVisible = true);
|
|
};
|
|
}
|
|
|
|
#endif // GROUPBOX_HPP
|