ich will die Fenstergroesse fixieren, oft gefragt in Foren, oftmals die Antwort man solle Google nutzen... Ich habe folgendes probiert:
1. Im Qt Designer max und min Fenstergroesse auf den gleichen wert gesetzt: Hilft nicht.
2. Im Qt Designer gripEnabled auf false gesetzt: Hilft nicht.
3. Wollte setSizeGripEnabled mal manuel in den Source Code reinhaengen, klingt doof, weiss aber nicht wo/wie. Ich glaube man muesste es so machen:
Code: Alles auswählen
#include <QtCore>
#include <QtGui>
#include "callintegrator.h"
int main( int argc, char* argv[]){
QApplication a(argc, argv);
CallIntegrator w;
w -> setSizeGripEnabled(false);
w.show();
QObject::connect(&a, SIGNAL(lastWindowClosed()),&a, SLOT(quit()));
return a.exec();
}
guest@linux:~/Desktop/callintegrator> make
g++ -c -pipe -fno-strict-aliasing -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/default -I. -I/usr/include/QtGui -I/usr/include/QtCore -I/usr/include -I. -I. -I. -o main.o main.cpp
main.cpp: In function ?int main(int, char**)?:
main.cpp:9: error: base operand of ?->? has non-pointer type ?CallIntegrator?
make: *** [main.o] Error 1
guest@linux:~/Desktop/callintegrator>
Bin fuer jede Idee dankbar, stehe mal wieder auf dem Schlauch.
Danke,
J.