* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#include "verticaldock.h"
***************************************************************************/
#include "verticaldock.h"
if (rect().isValid() && rect().height() > minimumSizeHint().height()) {
for (int i = 0; i < 2; i++) {
if (rect().isValid() && rect().height() > minimumSizeHint().height()) {
for (int i = 0; i < 2; i++) {
- QPoint topLeft = rect().topLeft() + QPoint(3 + i*2, 2);
- QPoint bottomRight = rect().topLeft() + QPoint(3 + i*2, rect().height() - 2);
+ QPoint topLeft = rect().topLeft() + QPoint(3 + i * 2, 2);
+ QPoint bottomRight = rect().topLeft() + QPoint(3 + i * 2, rect().height() - 2);
qDrawShadeLine(&painter, topLeft, bottomRight, palette());
}
}
}
qDrawShadeLine(&painter, topLeft, bottomRight, palette());
}
}
}
: QDockWidget(parent, flags)
{
setDefaultTitleWidget();
setContentsMargins(0, 0, 0, 0);
}
: QDockWidget(parent, flags)
{
setDefaultTitleWidget();
setContentsMargins(0, 0, 0, 0);
}
setAllowedAreas(Qt::TopDockWidgetArea | Qt::BottomDockWidgetArea);
setFeatures(features() | QDockWidget::DockWidgetVerticalTitleBar);
setAllowedAreas(Qt::TopDockWidgetArea | Qt::BottomDockWidgetArea);
setFeatures(features() | QDockWidget::DockWidgetVerticalTitleBar);